Sorbet-25M
Collection
Models based on Sorbet-25M • 2 items • Updated
How to use CodeSoft/sorbet-25m-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 CodeSoft/sorbet-25m-gguf:Q4_K_XL # Run inference directly in the terminal: llama cli -hf CodeSoft/sorbet-25m-gguf:Q4_K_XL
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf CodeSoft/sorbet-25m-gguf:Q4_K_XL # Run inference directly in the terminal: llama cli -hf CodeSoft/sorbet-25m-gguf:Q4_K_XL
# 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 CodeSoft/sorbet-25m-gguf:Q4_K_XL # Run inference directly in the terminal: ./llama-cli -hf CodeSoft/sorbet-25m-gguf:Q4_K_XL
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 CodeSoft/sorbet-25m-gguf:Q4_K_XL # Run inference directly in the terminal: ./build/bin/llama-cli -hf CodeSoft/sorbet-25m-gguf:Q4_K_XL
docker model run hf.co/CodeSoft/sorbet-25m-gguf:Q4_K_XL
How to use CodeSoft/sorbet-25m-gguf with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "CodeSoft/sorbet-25m-gguf"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "CodeSoft/sorbet-25m-gguf",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/CodeSoft/sorbet-25m-gguf:Q4_K_XL
How to use CodeSoft/sorbet-25m-gguf with Ollama:
ollama run hf.co/CodeSoft/sorbet-25m-gguf:Q4_K_XL
How to use CodeSoft/sorbet-25m-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 CodeSoft/sorbet-25m-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 CodeSoft/sorbet-25m-gguf to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for CodeSoft/sorbet-25m-gguf to start chatting
How to use CodeSoft/sorbet-25m-gguf with Docker Model Runner:
docker model run hf.co/CodeSoft/sorbet-25m-gguf:Q4_K_XL
How to use CodeSoft/sorbet-25m-gguf with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull CodeSoft/sorbet-25m-gguf:Q4_K_XL
lemonade run user.sorbet-25m-gguf-Q4_K_XL
lemonade list
This repository contains GGUF quantizations of CodeSoft/sorbet-25m for use with llama.cpp.
All XL quants are dynamic mixes calibrated with an importance matrix (imatrix from 1M tokens of the pretraining mix).
| File | Quantization | Size |
|---|---|---|
| Sorbet-25M-BF16.gguf | BF16 | 50.7MB |
| Sorbet-25M-F16.gguf | F16 | 50.7MB |
| Sorbet-25M-Q8_K_XL.gguf | Q8_0 weights (imatrix) + F16 tied embd/output + F32 norms | 30.0MB |
| Sorbet-25M-Q4_K_XL.gguf | Q4_0 gate/up (imatrix) + Q5_0 attn_output + Q8_0 attn_q/k/v + Q6_K ffn_down + F16 tied embd/output + F32 norms | 22.4MB |
Perplexity on the 1M-token calibration split: F16 = 45.13, BF16 = 45.13, Q8_K_XL = 45.15 (+0.02), Q4_K_XL = 46.22 (+1.09).
4-bit
8-bit
16-bit
Base model
CodeSoft/sorbet-25m