A simple github actions script to build a llamafile from a given gguf file download url and uploads it to huggingface repo.
llamafile lets you distribute and run LLMs with a single file. announcement blog post
Required The url to the gguf file to download.
Required The huggingface repo to upload the llamafile to.
Add your huggingface token with write access to the repo as a actions secret with the name HF_TOKEN
.
- Head over to the actions tab.
- Select the action
Build llamafile
- Fill in the required inputs.
- Click on
Run workflow
and wait for the action to complete. - Check your huggingface repo for the llamafile.