Instructions to use tensorblock/ChocoLlama_ChocoLlama-2-7B-instruct-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tensorblock/ChocoLlama_ChocoLlama-2-7B-instruct-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/ChocoLlama_ChocoLlama-2-7B-instruct-GGUF", filename="ChocoLlama-2-7B-instruct-Q2_K.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use tensorblock/ChocoLlama_ChocoLlama-2-7B-instruct-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/ChocoLlama_ChocoLlama-2-7B-instruct-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/ChocoLlama_ChocoLlama-2-7B-instruct-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/ChocoLlama_ChocoLlama-2-7B-instruct-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/ChocoLlama_ChocoLlama-2-7B-instruct-GGUF:Q2_K
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 tensorblock/ChocoLlama_ChocoLlama-2-7B-instruct-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/ChocoLlama_ChocoLlama-2-7B-instruct-GGUF:Q2_K
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 tensorblock/ChocoLlama_ChocoLlama-2-7B-instruct-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/ChocoLlama_ChocoLlama-2-7B-instruct-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/ChocoLlama_ChocoLlama-2-7B-instruct-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/ChocoLlama_ChocoLlama-2-7B-instruct-GGUF with Ollama:
ollama run hf.co/tensorblock/ChocoLlama_ChocoLlama-2-7B-instruct-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/ChocoLlama_ChocoLlama-2-7B-instruct-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tensorblock/ChocoLlama_ChocoLlama-2-7B-instruct-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tensorblock/ChocoLlama_ChocoLlama-2-7B-instruct-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/ChocoLlama_ChocoLlama-2-7B-instruct-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/ChocoLlama_ChocoLlama-2-7B-instruct-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/ChocoLlama_ChocoLlama-2-7B-instruct-GGUF:Q2_K
- Lemonade
How to use tensorblock/ChocoLlama_ChocoLlama-2-7B-instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/ChocoLlama_ChocoLlama-2-7B-instruct-GGUF:Q2_K
Run and chat with the model
lemonade run user.ChocoLlama_ChocoLlama-2-7B-instruct-GGUF-Q2_K
List all available models
lemonade list
Keep Q2_K/Q3_K_M gguf only
Browse files- ChocoLlama-2-7B-instruct-Q3_K_L.gguf +0 -3
- ChocoLlama-2-7B-instruct-Q3_K_S.gguf +0 -3
- ChocoLlama-2-7B-instruct-Q4_0.gguf +0 -3
- ChocoLlama-2-7B-instruct-Q4_K_M.gguf +0 -3
- ChocoLlama-2-7B-instruct-Q4_K_S.gguf +0 -3
- ChocoLlama-2-7B-instruct-Q5_0.gguf +0 -3
- ChocoLlama-2-7B-instruct-Q5_K_M.gguf +0 -3
- ChocoLlama-2-7B-instruct-Q5_K_S.gguf +0 -3
- ChocoLlama-2-7B-instruct-Q6_K.gguf +0 -3
- ChocoLlama-2-7B-instruct-Q8_0.gguf +0 -3
ChocoLlama-2-7B-instruct-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:fc71466631d520eb3ccc92e6d708f529684ba46b088a81f493b3384699b8efb6
|
| 3 |
-
size 3597113632
|
|
|
|
|
|
|
|
|
|
|
|
ChocoLlama-2-7B-instruct-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ec1ea171258ad75a35b6a80ba8cf7106b4bc9cecba7d2a781e1246a86246bd0b
|
| 3 |
-
size 2948307232
|
|
|
|
|
|
|
|
|
|
|
|
ChocoLlama-2-7B-instruct-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:9b93ea5c6f8eac5ed8a6ed4b9050415aaca3ae7c6ce2624dcb0d8d8392f9d4bd
|
| 3 |
-
size 3825809696
|
|
|
|
|
|
|
|
|
|
|
|
ChocoLlama-2-7B-instruct-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:2564188e7d5395baa8fbca7d50b0c2365c1f20c7e4f6cc493d2f33cb80c83084
|
| 3 |
-
size 4081006880
|
|
|
|
|
|
|
|
|
|
|
|
ChocoLlama-2-7B-instruct-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:00714136e15ae562ac775b9ba7cfd1d3b5f5621b85c79aeaae0ee824d1751fdf
|
| 3 |
-
size 3856742688
|
|
|
|
|
|
|
|
|
|
|
|
ChocoLlama-2-7B-instruct-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:9ecafcc62f3baf3c10af9d7d7cbb97eb111e68a70a114ae4518e4dd59d69c727
|
| 3 |
-
size 4651694368
|
|
|
|
|
|
|
|
|
|
|
|
ChocoLlama-2-7B-instruct-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4876e0b67cdab610d3d7e6e4ad41a36e92cddf6b4c05d2e384e88744846afa5c
|
| 3 |
-
size 4783159584
|
|
|
|
|
|
|
|
|
|
|
|
ChocoLlama-2-7B-instruct-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:060f16130d333762a7b6f32f7be771141f366f63077c7e0795185cda1aae761e
|
| 3 |
-
size 4651694368
|
|
|
|
|
|
|
|
|
|
|
|
ChocoLlama-2-7B-instruct-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d51f58687c4d3ea7acf718879f0bff5cf866235ba514864b17ec67ac03878bc4
|
| 3 |
-
size 5529196832
|
|
|
|
|
|
|
|
|
|
|
|
ChocoLlama-2-7B-instruct-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:0b178b1249eafe80cba2fd157ef29d9e12eec41308b19e335a7ddd2f4414b36b
|
| 3 |
-
size 7161092384
|
|
|
|
|
|
|
|
|
|
|
|