Text Generation
Transformers
GGUF
Safetensors
English
llama
conversational
text-generation-inference
Instructions to use pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use pbatra/TinyLlama-1.1B-Chat-v1.0-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 pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf pbatra/TinyLlama-1.1B-Chat-v1.0-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 pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf pbatra/TinyLlama-1.1B-Chat-v1.0-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 pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf pbatra/TinyLlama-1.1B-Chat-v1.0-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 pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF:Q4_K_M
Use Docker
docker model run hf.co/pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF:Q4_K_M
- SGLang
How to use pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF with Ollama:
ollama run hf.co/pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF with Docker Model Runner:
docker model run hf.co/pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF:Q4_K_M
- Lemonade
How to use pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.TinyLlama-1.1B-Chat-v1.0-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload folder using huggingface_hub
Browse files- .gitattributes +13 -0
- tinyllama-1.1b-chat-v1.0.Q2_K.gguf +3 -0
- tinyllama-1.1b-chat-v1.0.Q3_K_L.gguf +3 -0
- tinyllama-1.1b-chat-v1.0.Q3_K_M.gguf +3 -0
- tinyllama-1.1b-chat-v1.0.Q3_K_S.gguf +3 -0
- tinyllama-1.1b-chat-v1.0.Q4_0.gguf +3 -0
- tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf +3 -0
- tinyllama-1.1b-chat-v1.0.Q4_K_S.gguf +3 -0
- tinyllama-1.1b-chat-v1.0.Q5_0.gguf +3 -0
- tinyllama-1.1b-chat-v1.0.Q5_K_M.gguf +3 -0
- tinyllama-1.1b-chat-v1.0.Q5_K_S.gguf +3 -0
- tinyllama-1.1b-chat-v1.0.Q6_K.gguf +3 -0
- tinyllama-1.1b-chat-v1.0.Q8_0.gguf +3 -0
- tinyllama-1.1b-chat-v1.0.fp32.gguf +3 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,16 @@ saved_model/**/* 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 |
tinyllama-1.1b-chat-v1.0.f16.gguf 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 |
tinyllama-1.1b-chat-v1.0.f16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
tinyllama-1.1b-chat-v1.0.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
tinyllama-1.1b-chat-v1.0.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
tinyllama-1.1b-chat-v1.0.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
tinyllama-1.1b-chat-v1.0.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
tinyllama-1.1b-chat-v1.0.Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
tinyllama-1.1b-chat-v1.0.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
tinyllama-1.1b-chat-v1.0.Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
tinyllama-1.1b-chat-v1.0.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
tinyllama-1.1b-chat-v1.0.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
tinyllama-1.1b-chat-v1.0.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
tinyllama-1.1b-chat-v1.0.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
tinyllama-1.1b-chat-v1.0.fp32.gguf filter=lfs diff=lfs merge=lfs -text
|
tinyllama-1.1b-chat-v1.0.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3be2e971c162ef2e0bd5fbf7b9ae7aad2a5023cf9617ae382eb31e8b2ceab539
|
| 3 |
+
size 432131040
|
tinyllama-1.1b-chat-v1.0.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1e0fd574a3fe4751715a83cb4daf8f1d35b03edf22e026b32879d810232603c3
|
| 3 |
+
size 591526880
|
tinyllama-1.1b-chat-v1.0.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5e09dd26f0c4f3ba1f9ec2e71e054e9c08d4e11cedaf5e597778dda8adae902c
|
| 3 |
+
size 548404192
|
tinyllama-1.1b-chat-v1.0.Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:26870954d280f1468a4a328c6df64a86ff74195b7220e1ff9f62a5145abc8a5d
|
| 3 |
+
size 499342304
|
tinyllama-1.1b-chat-v1.0.Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:88a2af0e829feec660099f601319e2b1cb5a3fe20b81fc5db4fd5880d915a68c
|
| 3 |
+
size 636726240
|
tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fda1fb1e5a270273cd44e6e4bd2ba750a2e327698b41b7b935f001eda4397ba9
|
| 3 |
+
size 667814880
|
tinyllama-1.1b-chat-v1.0.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f5863c161aa3150240141e63f073b65223c98480d1c2e6136da28cc60b9dd087
|
| 3 |
+
size 639871968
|
tinyllama-1.1b-chat-v1.0.Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc3135e8618e520d19f2aff86f4719f871842c67ac210a3edaabde580bdc6f23
|
| 3 |
+
size 766028768
|
tinyllama-1.1b-chat-v1.0.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9dac1d16b962e2944242b7f353a804cecd6244b241958fc5e90e6beaae6fd52
|
| 3 |
+
size 782044128
|
tinyllama-1.1b-chat-v1.0.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:624e2c27ba2811bbb96098a12d74a32376f90ecfbdc08a7bf1b238c7be734be7
|
| 3 |
+
size 766028768
|
tinyllama-1.1b-chat-v1.0.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cba11dd70c4cd828e1765e58f8f7cbb0e4848e1c7d569c2727774cb0c0fb5c95
|
| 3 |
+
size 903412704
|
tinyllama-1.1b-chat-v1.0.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc4355077fc758427bb3530df2d8bb265900ef9f1fba81b013de25ce6cfe0d50
|
| 3 |
+
size 1169808352
|
tinyllama-1.1b-chat-v1.0.fp32.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1399f39a9d3dd9565a5f37fa9094e9cf075d33145960023cc6becec4beb79b58
|
| 3 |
+
size 4400929728
|