Instructions to use Ak1104/codellama-7b_rust with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ak1104/codellama-7b_rust with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Ak1104/codellama-7b_rust", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Ak1104/codellama-7b_rust 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 Ak1104/codellama-7b_rust:F16 # Run inference directly in the terminal: llama cli -hf Ak1104/codellama-7b_rust:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Ak1104/codellama-7b_rust:F16 # Run inference directly in the terminal: llama cli -hf Ak1104/codellama-7b_rust:F16
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 Ak1104/codellama-7b_rust:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf Ak1104/codellama-7b_rust:F16
Use Docker
docker model run hf.co/Ak1104/codellama-7b_rust:F16
- Llama new
- LM Studio
- Jan
- Ollama
How to use Ak1104/codellama-7b_rust with Ollama:
ollama run hf.co/Ak1104/codellama-7b_rust:F16
- Unsloth Desktop
- Docker Model Runner
How to use Ak1104/codellama-7b_rust with Docker Model Runner:
docker model run hf.co/Ak1104/codellama-7b_rust:F16
- Lemonade
How to use Ak1104/codellama-7b_rust with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Ak1104/codellama-7b_rust:F16
Run and chat with the model
lemonade run user.codellama-7b_rust-F16
List all available models
lemonade list
- Atomic Chat
(Trained with Unsloth)
Browse filesFiles changed (2)
- .gitattributes+1
- unsloth.F16.ggufAdded+3
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textunsloth.F16.gguf filter=lfs diff=lfs merge=lfs -text
123version https://git-lfs.github.com/spec/v1oid sha256:effb319f05774159004eb8a1c9f367d29d74ab856dab03f4b5d8fa631a4bf85bsize 13478368000.gitattributes+1
unsloth.F16.ggufAdded+3