Run this model with HF Jobs
Run TheBloke/CodeFuse-CodeLlama-34B-GGUF on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/TheBloke/CodeFuse-CodeLlama-34B-GGUF. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/TheBloke/CodeFuse-CodeLlama-34B-GGUF on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use TheBloke/CodeFuse-CodeLlama-34B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TheBloke/CodeFuse-CodeLlama-34B-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("TheBloke/CodeFuse-CodeLlama-34B-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use TheBloke/CodeFuse-CodeLlama-34B-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf TheBloke/CodeFuse-CodeLlama-34B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf TheBloke/CodeFuse-CodeLlama-34B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf TheBloke/CodeFuse-CodeLlama-34B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf TheBloke/CodeFuse-CodeLlama-34B-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf TheBloke/CodeFuse-CodeLlama-34B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf TheBloke/CodeFuse-CodeLlama-34B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/TheBloke/CodeFuse-CodeLlama-34B-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use TheBloke/CodeFuse-CodeLlama-34B-GGUF with Ollama:
ollama run hf.co/TheBloke/CodeFuse-CodeLlama-34B-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use TheBloke/CodeFuse-CodeLlama-34B-GGUF with Docker Model Runner:
docker model run hf.co/TheBloke/CodeFuse-CodeLlama-34B-GGUF:Q4_K_M
- Lemonade
How to use TheBloke/CodeFuse-CodeLlama-34B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull TheBloke/CodeFuse-CodeLlama-34B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.CodeFuse-CodeLlama-34B-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload README.md
Browse files128 unmodified lines129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191128 unmodified lines
<!-- README_GGUF.md-provided-files end -->
<!-- README_GGUF.md-how-to-download start -->## How to download GGUF files
**Note for manual downloaders:** You almost never want to clone the entire repo! Multiple different quantisation formats are provided, and most users only want to pick and download a single file.
The following clients/libraries will automatically download models for you, providing a list of available models to choose from:- LM Studio- LoLLMS Web UI- Faraday.dev
### In `text-generation-webui`
Under Download Model, you can enter the model repo: TheBloke/CodeFuse-CodeLlama-34B-GGUF and below it, a specific filename to download, such as: codefuse-codellama-34b.q4_K_M.gguf.
Then click Download.
### On the command line, including multiple files at once
I recommend using the `huggingface-hub` Python library:
```shellpip3 install huggingface-hub>=0.17.1```
Then you can download any individual model file to the current directory, at high speed, with a command like this:
```shellhuggingface-cli download TheBloke/CodeFuse-CodeLlama-34B-GGUF codefuse-codellama-34b.q4_K_M.gguf --local-dir . --local-dir-use-symlinks False```
<details> <summary>More advanced huggingface-cli download usage</summary>
You can also download multiple files at once with a pattern:
```shellhuggingface-cli download TheBloke/CodeFuse-CodeLlama-34B-GGUF --local-dir . --local-dir-use-symlinks False --include='*Q4_K*gguf'```
For more documentation on downloading with `huggingface-cli`, please see: [HF -> Hub Python Library -> Download files -> Download from the CLI](https://huggingface.co/docs/huggingface_hub/guides/download#download-from-the-cli).
To accelerate downloads on fast connections (1Gbit/s or higher), install `hf_transfer`:
```shellpip3 install hf_transfer```
And set environment variable `HF_HUB_ENABLE_HF_TRANSFER` to `1`:
```shellHUGGINGFACE_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download TheBloke/CodeFuse-CodeLlama-34B-GGUF codefuse-codellama-34b.q4_K_M.gguf --local-dir . --local-dir-use-symlinks False```
Windows CLI users: Use `set HUGGINGFACE_HUB_ENABLE_HF_TRANSFER=1` before running the download command.</details><!-- README_GGUF.md-how-to-download end -->
<!-- README_GGUF.md-how-to-run start -->## Example `llama.cpp` command
README.md+57