Instructions to use tensorblock/gpt2-dolly-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tensorblock/gpt2-dolly-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/gpt2-dolly-GGUF", filename="gpt2-dolly-Q2_K.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/gpt2-dolly-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/gpt2-dolly-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/gpt2-dolly-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/gpt2-dolly-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/gpt2-dolly-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/gpt2-dolly-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/gpt2-dolly-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/gpt2-dolly-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/gpt2-dolly-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/gpt2-dolly-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/gpt2-dolly-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/gpt2-dolly-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/gpt2-dolly-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/tensorblock/gpt2-dolly-GGUF:Q2_K
- Ollama
How to use tensorblock/gpt2-dolly-GGUF with Ollama:
ollama run hf.co/tensorblock/gpt2-dolly-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/gpt2-dolly-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/gpt2-dolly-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/gpt2-dolly-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/gpt2-dolly-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/gpt2-dolly-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/gpt2-dolly-GGUF:Q2_K
- Lemonade
How to use tensorblock/gpt2-dolly-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/gpt2-dolly-GGUF:Q2_K
Run and chat with the model
lemonade run user.gpt2-dolly-GGUF-Q2_K
List all available models
lemonade list
Keep Q2_K/Q3_K_M gguf only
Browse files- gpt2-dolly-Q3_K_L.gguf +0 -3
- gpt2-dolly-Q3_K_S.gguf +0 -3
- gpt2-dolly-Q4_0.gguf +0 -3
- gpt2-dolly-Q4_K_M.gguf +0 -3
- gpt2-dolly-Q4_K_S.gguf +0 -3
- gpt2-dolly-Q5_0.gguf +0 -3
- gpt2-dolly-Q5_K_M.gguf +0 -3
- gpt2-dolly-Q5_K_S.gguf +0 -3
- gpt2-dolly-Q6_K.gguf +0 -3
- gpt2-dolly-Q8_0.gguf +0 -3
gpt2-dolly-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f213c29f24e646bcfb8de9e40e1e8af67568ed5fde597cd1736b242eb8ed8b28
|
| 3 |
-
size 102092576
|
|
|
|
|
|
|
|
|
|
|
|
gpt2-dolly-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f02361215cf963dd75b13c9cfaa672247c2f1c6272250f2e357c6f16c99327d0
|
| 3 |
-
size 90148640
|
|
|
|
|
|
|
|
|
|
|
|
gpt2-dolly-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f9ac5a41544f078af7246156257e844cd4a3a5f4fd3bdb347c8a043a80afc110
|
| 3 |
-
size 106555232
|
|
|
|
|
|
|
|
|
|
|
|
gpt2-dolly-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:fecf74cc94fe7f430999df0d13755c9adb53379d77d7574b2d32dacd10c6d1e8
|
| 3 |
-
size 112858976
|
|
|
|
|
|
|
|
|
|
|
|
gpt2-dolly-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:93a194c89f803585e6577091b7200ca1bad3f7d0cb8f10022a116476495f7a81
|
| 3 |
-
size 106850144
|
|
|
|
|
|
|
|
|
|
|
|
gpt2-dolly-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4d112b698cc35c4fec0307644948a56641cd93fb4a58e04297e8f9c031b18bc9
|
| 3 |
-
size 121996736
|
|
|
|
|
|
|
|
|
|
|
|
gpt2-dolly-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ae53b16ee7f55cc0597960075aba57d3b61d17f0c8f426f0697afcc9e64df860
|
| 3 |
-
size 126696896
|
|
|
|
|
|
|
|
|
|
|
|
gpt2-dolly-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:2c0f0517eee9b794975da503c4b0abc5754ae9837f1a45b435f2265e2ae07ea8
|
| 3 |
-
size 121996736
|
|
|
|
|
|
|
|
|
|
|
|
gpt2-dolly-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e3f55ac41ccc9bde7569b93e78b3dfe0e53f6488da8efec5186754a936ad4eb0
|
| 3 |
-
size 138403328
|
|
|
|
|
|
|
|
|
|
|
|
gpt2-dolly-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:75ad0612acf3b931da8504e3fefcb69627f74e1d967eecbfbb7164a3bf037d09
|
| 3 |
-
size 177669056
|
|
|
|
|
|
|
|
|
|
|
|