Instructions to use SinpxAI/CodeLlama-7B-Python-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SinpxAI/CodeLlama-7B-Python-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SinpxAI/CodeLlama-7B-Python-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use SinpxAI/CodeLlama-7B-Python-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 SinpxAI/CodeLlama-7B-Python-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf SinpxAI/CodeLlama-7B-Python-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 SinpxAI/CodeLlama-7B-Python-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf SinpxAI/CodeLlama-7B-Python-GGUF:Q4_K_M
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 SinpxAI/CodeLlama-7B-Python-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf SinpxAI/CodeLlama-7B-Python-GGUF:Q4_K_M
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 SinpxAI/CodeLlama-7B-Python-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf SinpxAI/CodeLlama-7B-Python-GGUF:Q4_K_M
Use Docker
docker model run hf.co/SinpxAI/CodeLlama-7B-Python-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use SinpxAI/CodeLlama-7B-Python-GGUF with Ollama:
ollama run hf.co/SinpxAI/CodeLlama-7B-Python-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use SinpxAI/CodeLlama-7B-Python-GGUF with Docker Model Runner:
docker model run hf.co/SinpxAI/CodeLlama-7B-Python-GGUF:Q4_K_M
- Lemonade
How to use SinpxAI/CodeLlama-7B-Python-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull SinpxAI/CodeLlama-7B-Python-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.CodeLlama-7B-Python-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- codellama-7b-python.Q2_K.gguf +3 -0
- codellama-7b-python.Q3_K_L.gguf +3 -0
- codellama-7b-python.Q3_K_M.gguf +3 -0
- codellama-7b-python.Q3_K_S.gguf +3 -0
- codellama-7b-python.Q4_0.gguf +3 -0
- codellama-7b-python.Q4_K_M.gguf +3 -0
- codellama-7b-python.Q4_K_S.gguf +3 -0
- codellama-7b-python.Q5_0.gguf +3 -0
- codellama-7b-python.Q5_K_M.gguf +3 -0
- codellama-7b-python.Q5_K_S.gguf +3 -0
- codellama-7b-python.Q6_K.gguf +3 -0
- codellama-7b-python.Q8_0.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
codellama-7b-python.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
codellama-7b-python.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
codellama-7b-python.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
codellama-7b-python.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
codellama-7b-python.Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
codellama-7b-python.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
codellama-7b-python.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
codellama-7b-python.Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
codellama-7b-python.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
codellama-7b-python.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
codellama-7b-python.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
codellama-7b-python.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
codellama-7b-python.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a1dc37e1d3cf35bd0256fd4c3d0eaf187ef582abce6e18c107af97dab1cfabc2
|
| 3 |
+
size 2532863808
|
codellama-7b-python.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2fd5ec02a7b23ca7a8f274148a905d7475d03982f65148359cd0f3e4cb80fde2
|
| 3 |
+
size 3597111104
|
codellama-7b-python.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c37c7d0cb96540d640e4543911f991c59a9eb14bbf182b47d9521195db0c8f03
|
| 3 |
+
size 3298004800
|
codellama-7b-python.Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:92f79efe18c6a2061750f01f12d644bb3abad431e1e95d0859553f948c5efda5
|
| 3 |
+
size 2948304704
|
codellama-7b-python.Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d8b53ef2fc8e3ddea1997ffee2576b71fe014cd43078bf80e82b392b41c44562
|
| 3 |
+
size 3825807168
|
codellama-7b-python.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd3792fdc920c9795de41c3abe8d1a2e5566259e7f79e4774bf16d4d356354d7
|
| 3 |
+
size 4081004352
|
codellama-7b-python.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a8b377a8e91c355a2f2d20318caf75d37e8225ce9cc96627b2138ee58b11ad26
|
| 3 |
+
size 3856740160
|
codellama-7b-python.Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb7a1f53d76a8a6bd4968a6dfa963c377fe1a4ba40cf0bf45d82b5433e33fc17
|
| 3 |
+
size 4651691840
|
codellama-7b-python.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9371b123238c6b88f2f5d0155324b192d9740605daecdcf0132ce006fb95d79
|
| 3 |
+
size 4783157056
|
codellama-7b-python.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dbab9bc005a82445f148dc85cdee5b1537cee62c3544884d71bfc93d58db4ac7
|
| 3 |
+
size 4651691840
|
codellama-7b-python.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9e5146e34e5003da7e213ed162803aec884e3eee641b9b3abd6af33ec128669
|
| 3 |
+
size 5529194304
|
codellama-7b-python.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:78bae25c82027bbb294a67aa3980bb01b314d729ae41ad6a1a9c51d4329e3e4d
|
| 3 |
+
size 7161089856
|