How to use from
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 afrideva/TinyMistral-248M-SFT-v3-GGUF:
# Run inference directly in the terminal:
llama cli -hf afrideva/TinyMistral-248M-SFT-v3-GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf afrideva/TinyMistral-248M-SFT-v3-GGUF:
# Run inference directly in the terminal:
llama cli -hf afrideva/TinyMistral-248M-SFT-v3-GGUF:
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 afrideva/TinyMistral-248M-SFT-v3-GGUF:
# Run inference directly in the terminal:
./llama-cli -hf afrideva/TinyMistral-248M-SFT-v3-GGUF:
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 afrideva/TinyMistral-248M-SFT-v3-GGUF:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf afrideva/TinyMistral-248M-SFT-v3-GGUF:
Use Docker
docker model run hf.co/afrideva/TinyMistral-248M-SFT-v3-GGUF:
Quick Links

Felladrin/TinyMistral-248M-SFT-v3-GGUF

Quantized GGUF model files for TinyMistral-248M-SFT-v3 from Felladrin

Original Model Card:

Locutusque's TinyMistral-248M trained on OpenAssistant TOP-1 Conversation Threads

Recommended Prompt Format

<|im_start|>user
{message}<|im_end|>
<|im_start|>assistant

How it was trained

%pip install autotrain-advanced

!autotrain setup

!autotrain llm \
    --train \
    --trainer "sft" \
    --model './TinyMistral-248M/' \
    --model_max_length 4096 \
    --block-size 1024 \
    --project-name 'trained-model' \
    --data-path "OpenAssistant/oasst_top1_2023-08-25" \
    --train_split "train" \
    --valid_split "test" \
    --text-column "text" \
    --lr 1e-5 \
    --train_batch_size 2 \
    --epochs 5 \
    --evaluation_strategy "steps" \
    --save-strategy "steps" \
    --save-total-limit 2 \
    --warmup-ratio 0.05 \
    --weight-decay 0.0 \
    --gradient-accumulation 8 \
    --logging-steps 10 \
    --scheduler "constant"
Downloads last month
203
GGUF
Model size
0.2B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

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

Model tree for afrideva/TinyMistral-248M-SFT-v3-GGUF

Quantized
(16)
this model

Dataset used to train afrideva/TinyMistral-248M-SFT-v3-GGUF