Instructions to use Catmanjoe/twitch-chat-tinyllama-1.1b-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Catmanjoe/twitch-chat-tinyllama-1.1b-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 Catmanjoe/twitch-chat-tinyllama-1.1b-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf Catmanjoe/twitch-chat-tinyllama-1.1b-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 Catmanjoe/twitch-chat-tinyllama-1.1b-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf Catmanjoe/twitch-chat-tinyllama-1.1b-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 Catmanjoe/twitch-chat-tinyllama-1.1b-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Catmanjoe/twitch-chat-tinyllama-1.1b-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 Catmanjoe/twitch-chat-tinyllama-1.1b-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Catmanjoe/twitch-chat-tinyllama-1.1b-gguf:Q4_K_M
Use Docker
docker model run hf.co/Catmanjoe/twitch-chat-tinyllama-1.1b-gguf:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use Catmanjoe/twitch-chat-tinyllama-1.1b-gguf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Catmanjoe/twitch-chat-tinyllama-1.1b-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": "Catmanjoe/twitch-chat-tinyllama-1.1b-gguf", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Catmanjoe/twitch-chat-tinyllama-1.1b-gguf:Q4_K_M
- Ollama
How to use Catmanjoe/twitch-chat-tinyllama-1.1b-gguf with Ollama:
ollama run hf.co/Catmanjoe/twitch-chat-tinyllama-1.1b-gguf:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use Catmanjoe/twitch-chat-tinyllama-1.1b-gguf with Docker Model Runner:
docker model run hf.co/Catmanjoe/twitch-chat-tinyllama-1.1b-gguf:Q4_K_M
- Lemonade
How to use Catmanjoe/twitch-chat-tinyllama-1.1b-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Catmanjoe/twitch-chat-tinyllama-1.1b-gguf:Q4_K_M
Run and chat with the model
lemonade run user.twitch-chat-tinyllama-1.1b-gguf-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Twitch Chat TinyLlama 1.1B GGUF
A fine-tuned TinyLlama model for generating authentic Twitch chat messages.
Model Description
This model was fine-tuned on ~1.4M Twitch chat messages from popular streamers using QLoRA. It generates natural-sounding Twitch chat responses with appropriate emotes and slang.
Training Details
- Base Model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
- Training Method: QLoRA (4-bit quantization)
- Training Data: 418,610 examples from 5 streamers (lirik, admiralbahroo, moonmoon, northernlion, cohhcarnage)
- Format: Alpaca instruction format
Files
model-q4_k_m.gguf- Quantized model (Q4_K_M, ~637 MB)
Usage with llama-cpp-python
from llama_cpp import Llama
llm = Llama(
model_path="model-q4_k_m.gguf",
n_ctx=512,
n_threads=8
)
prompt = """### Instruction:
Generate a Twitch chat message reaction.
### Input:
Streamer is playing a hard game and just died.
### Response:
"""
output = llm(prompt, max_tokens=50, stop=["###", "\n\n"])
print(output["choices"][0]["text"])
License
Apache 2.0 (same as base model)
- Downloads last month
- 8
Hardware compatibility
Log In to add your hardware
4-bit
Model tree for Catmanjoe/twitch-chat-tinyllama-1.1b-gguf
Base model
TinyLlama/TinyLlama-1.1B-Chat-v1.0