How to use from
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?"
			}
		]
	}'
Quick Links

TinyLlama-1.1B-Chat-v1.0

This repository contains quantized versions of the model from the original repository: TinyLlama/TinyLlama-1.1B-Chat-v1.0.

Name Quantization Method Size (GB)
tinyllama-1.1b-chat-v1.0.fp16.gguf FP16 2.05
tinyllama-1.1b-chat-v1.0.fp32.gguf FP32 4.10
tinyllama-1.1b-chat-v1.0.Q2_K.gguf q2_k 0.40
tinyllama-1.1b-chat-v1.0.Q3_K_S.gguf q3_k_s 0.47
tinyllama-1.1b-chat-v1.0.Q3_K_M.gguf q3_k_m 0.51
tinyllama-1.1b-chat-v1.0.Q3_K_L.gguf q3_k_l 0.55
tinyllama-1.1b-chat-v1.0.Q4_0.gguf q4_0 0.59
tinyllama-1.1b-chat-v1.0.Q4_K_S.gguf q4_k_s 0.60
tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf q4_k_m 0.62
tinyllama-1.1b-chat-v1.0.Q5_0.gguf q5_0 0.71
tinyllama-1.1b-chat-v1.0.Q5_K_S.gguf q5_k_s 0.71
tinyllama-1.1b-chat-v1.0.Q5_K_M.gguf q5_k_m 0.73
tinyllama-1.1b-chat-v1.0.Q6_K.gguf q6_k 0.84
tinyllama-1.1b-chat-v1.0.Q8_0.gguf q8_0 1.09
Downloads last month
326
GGUF
Model size
1B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF

Quantized
(149)
this model

Datasets used to train pbatra/TinyLlama-1.1B-Chat-v1.0-GGUF