Skylion007/openwebtext
Viewer β’ Updated β’ 8.01M β’ 72.4k β’ 528
How to use tensorblock/chat-gpt2-GGUF with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf tensorblock/chat-gpt2-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/chat-gpt2-GGUF:Q2_K
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tensorblock/chat-gpt2-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/chat-gpt2-GGUF:Q2_K
# 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/chat-gpt2-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/chat-gpt2-GGUF:Q2_K
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/chat-gpt2-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/chat-gpt2-GGUF:Q2_K
docker model run hf.co/tensorblock/chat-gpt2-GGUF:Q2_K
How to use tensorblock/chat-gpt2-GGUF with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "tensorblock/chat-gpt2-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/chat-gpt2-GGUF",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/tensorblock/chat-gpt2-GGUF:Q2_K
How to use tensorblock/chat-gpt2-GGUF with Ollama:
ollama run hf.co/tensorblock/chat-gpt2-GGUF:Q2_K
How to use tensorblock/chat-gpt2-GGUF with Unsloth Studio:
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/chat-gpt2-GGUF to start chatting
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/chat-gpt2-GGUF to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/chat-gpt2-GGUF to start chatting
How to use tensorblock/chat-gpt2-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/chat-gpt2-GGUF:Q2_K
How to use tensorblock/chat-gpt2-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/chat-gpt2-GGUF:Q2_K
lemonade run user.chat-gpt2-GGUF-Q2_K
lemonade list
This repo contains GGUF format model files for anezatra/chat-gpt2.
The files were quantized using machines provided by TensorBlock, and they are compatible with llama.cpp as of commit b4242.
| Forge | |
|---|---|
|
|
| An OpenAI-compatible multi-provider routing layer. | |
| π Try it now! π | |
| Awesome MCP Servers | TensorBlock Studio |
![]() |
![]() |
| A comprehensive collection of Model Context Protocol (MCP) servers. | A lightweight, open, and extensible multi-LLM interaction studio. |
| π See what we built π | π See what we built π |
| Filename | Quant type | File Size | Description |
|---|---|---|---|
| chat-gpt2-Q2_K.gguf | Q2_K | 0.065 GB | smallest, significant quality loss - not recommended for most purposes |
| chat-gpt2-Q3_K_S.gguf | Q3_K_S | 0.072 GB | very small, high quality loss |
| chat-gpt2-Q3_K_M.gguf | Q3_K_M | 0.075 GB | very small, high quality loss |
| chat-gpt2-Q3_K_L.gguf | Q3_K_L | 0.078 GB | small, substantial quality loss |
| chat-gpt2-Q4_0.gguf | Q4_0 | 0.082 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
| chat-gpt2-Q4_K_S.gguf | Q4_K_S | 0.082 GB | small, greater quality loss |
| chat-gpt2-Q4_K_M.gguf | Q4_K_M | 0.085 GB | medium, balanced quality - recommended |
| chat-gpt2-Q5_0.gguf | Q5_0 | 0.093 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
| chat-gpt2-Q5_K_S.gguf | Q5_K_S | 0.093 GB | large, low quality loss - recommended |
| chat-gpt2-Q5_K_M.gguf | Q5_K_M | 0.095 GB | large, very low quality loss - recommended |
| chat-gpt2-Q6_K.gguf | Q6_K | 0.103 GB | very large, extremely low quality loss |
| chat-gpt2-Q8_0.gguf | Q8_0 | 0.132 GB | very large, extremely low quality loss - not recommended |
Firstly, install Huggingface Client
pip install -U "huggingface_hub[cli]"
Then, downoad the individual model file the a local directory
huggingface-cli download tensorblock/chat-gpt2-GGUF --include "chat-gpt2-Q2_K.gguf" --local-dir MY_LOCAL_DIR
If you wanna download multiple model files with a pattern (e.g., *Q4_K*gguf), you can try:
huggingface-cli download tensorblock/chat-gpt2-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
2-bit
3-bit
Base model
anezatra/chat-gpt2