Instructions to use ego-hf/CodeLlama-7b-Python with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ego-hf/CodeLlama-7b-Python 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 ego-hf/CodeLlama-7b-Python:F32 # Run inference directly in the terminal: llama cli -hf ego-hf/CodeLlama-7b-Python:F32
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ego-hf/CodeLlama-7b-Python:F32 # Run inference directly in the terminal: llama cli -hf ego-hf/CodeLlama-7b-Python:F32
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf ego-hf/CodeLlama-7b-Python:F32 # Run inference directly in the terminal: ./llama-cli -hf ego-hf/CodeLlama-7b-Python:F32
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf ego-hf/CodeLlama-7b-Python:F32 # Run inference directly in the terminal: ./build/bin/llama-cli -hf ego-hf/CodeLlama-7b-Python:F32
Use Docker
docker model run hf.co/ego-hf/CodeLlama-7b-Python:F32
- LM Studio
- Jan
- Ollama
How to use ego-hf/CodeLlama-7b-Python with Ollama:
ollama run hf.co/ego-hf/CodeLlama-7b-Python:F32
- Unsloth Desktop
- Docker Model Runner
How to use ego-hf/CodeLlama-7b-Python with Docker Model Runner:
docker model run hf.co/ego-hf/CodeLlama-7b-Python:F32
- Lemonade
How to use ego-hf/CodeLlama-7b-Python with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ego-hf/CodeLlama-7b-Python:F32
Run and chat with the model
lemonade run user.CodeLlama-7b-Python-F32
List all available models
lemonade list
- Atomic Chat
Commit History
-
Update README.md
Verified signature61ba0ed -
Update README.md
Verified signatureda4fe6e
-
Update README.md
Verified signature046d990 -
Rename CodeLlama-7b-Python/ggml-model-f32-00010-of-00010.gguf to ggml-model-f32-00010-of-00010.gguf
Verified signature7576c88 -
Rename CodeLlama-7b-Python/ggml-model-f32-00009-of-00010.gguf to ggml-model-f32-00009-of-00010.gguf
Verified signatureaeb6cd6 -
Rename CodeLlama-7b-Python/ggml-model-f32-00008-of-00010.gguf to ggml-model-f32-00008-of-00010.gguf
Verified signature6b27b47 -
Rename CodeLlama-7b-Python/ggml-model-f32-00007-of-00010.gguf to ggml-model-f32-00007-of-00010.gguf
Verified signaturef499c50 -
Rename CodeLlama-7b-Python/ggml-model-f32-00006-of-00010.gguf to ggml-model-f32-00006-of-00010.gguf
Verified signature128b26d -
Rename CodeLlama-7b-Python/ggml-model-f32-00005-of-00010.gguf to ggml-model-f32-00005-of-00010.gguf
Verified signature74f67d0 -
Rename CodeLlama-7b-Python/ggml-model-f32-00004-of-00010.gguf to ggml-model-f32-00004-of-00010.gguf
Verified signature05f9c46 -
Rename CodeLlama-7b-Python/ggml-model-f32-00003-of-00010.gguf to ggml-model-f32-00003-of-00010.gguf
Verified signature8b7faa7 -
Rename CodeLlama-7b-Python/ggml-model-f32-00002-of-00010.gguf to ggml-model-f32-00002-of-00010.gguf
Verified signature0e269d7 -
Rename CodeLlama-7b-Python/ggml-model-f32-00001-of-00010.gguf to ggml-model-f32-00001-of-00010.gguf
Verified signaturefd9e22b -
Delete CodeLlama-7b-Python/.DS_Store
Verified signature9f0deb0
-
Add Model Card
3190f0f -
Merge branch 'main' of https://huggingface.co/ego-hf/CodeLlama-7b-Python
8194707 -
Add README.md
9cc8838 -
CodeLlama-7b-Python
Verified signature697466d -
initial commit
Verified signature93901a4