JeanKaddour/minipile
Viewer • Updated • 1.01M • 4.14k • 150
How to use afrideva/smol_llama-101M-GQA-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 afrideva/smol_llama-101M-GQA-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf afrideva/smol_llama-101M-GQA-GGUF:Q4_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf afrideva/smol_llama-101M-GQA-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf afrideva/smol_llama-101M-GQA-GGUF:Q4_K_M
# 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 afrideva/smol_llama-101M-GQA-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf afrideva/smol_llama-101M-GQA-GGUF:Q4_K_M
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 afrideva/smol_llama-101M-GQA-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf afrideva/smol_llama-101M-GQA-GGUF:Q4_K_M
docker model run hf.co/afrideva/smol_llama-101M-GQA-GGUF:Q4_K_M
How to use afrideva/smol_llama-101M-GQA-GGUF with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "afrideva/smol_llama-101M-GQA-GGUF"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "afrideva/smol_llama-101M-GQA-GGUF",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/afrideva/smol_llama-101M-GQA-GGUF:Q4_K_M
How to use afrideva/smol_llama-101M-GQA-GGUF with Ollama:
ollama run hf.co/afrideva/smol_llama-101M-GQA-GGUF:Q4_K_M
How to use afrideva/smol_llama-101M-GQA-GGUF with Docker Model Runner:
docker model run hf.co/afrideva/smol_llama-101M-GQA-GGUF:Q4_K_M
How to use afrideva/smol_llama-101M-GQA-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull afrideva/smol_llama-101M-GQA-GGUF:Q4_K_M
lemonade run user.smol_llama-101M-GQA-GGUF-Q4_K_M
lemonade list
Quantized GGUF model files for smol_llama-101M-GQA from BEE-spoke-data
| Name | Quant method | Size |
|---|---|---|
| smol_llama-101m-gqa.fp16.gguf | fp16 | 203.28 MB |
| smol_llama-101m-gqa.q2_k.gguf | q2_k | 50.93 MB |
| smol_llama-101m-gqa.q3_k_m.gguf | q3_k_m | 57.06 MB |
| smol_llama-101m-gqa.q4_k_m.gguf | q4_k_m | 65.40 MB |
| smol_llama-101m-gqa.q5_k_m.gguf | q5_k_m | 74.34 MB |
| smol_llama-101m-gqa.q6_k.gguf | q6_k | 83.83 MB |
| smol_llama-101m-gqa.q8_0.gguf | q8_0 | 108.35 MB |
A small 101M param (total) decoder model. This is the first version of the model.
This checkpoint is the 'raw' pre-trained model and has not been tuned to a more specific task. It should be fine-tuned before use in most cases.
pypi to generate Python code - linkDetailed results can be found here
| Metric | Value |
|---|---|
| Avg. | 25.32 |
| ARC (25-shot) | 23.55 |
| HellaSwag (10-shot) | 28.77 |
| MMLU (5-shot) | 24.24 |
| TruthfulQA (0-shot) | 45.76 |
| Winogrande (5-shot) | 50.67 |
| GSM8K (5-shot) | 0.83 |
| DROP (3-shot) | 3.39 |
Base model
BEE-spoke-data/smol_llama-101M-GQA