d0rj/alpaca-cleaned-ru
Viewer • Updated • 51.8k • 655 • 22
How to use xyzmean/Llama-R1-ru with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("xyzmean/Llama-R1-ru", device_map="auto")How to use xyzmean/Llama-R1-ru with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf xyzmean/Llama-R1-ru:Q4_K_M # Run inference directly in the terminal: llama cli -hf xyzmean/Llama-R1-ru:Q4_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf xyzmean/Llama-R1-ru:Q4_K_M # Run inference directly in the terminal: llama cli -hf xyzmean/Llama-R1-ru:Q4_K_M
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf xyzmean/Llama-R1-ru:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf xyzmean/Llama-R1-ru:Q4_K_M
docker model run hf.co/xyzmean/Llama-R1-ru:Q4_K_M
How to use xyzmean/Llama-R1-ru with Ollama:
ollama run hf.co/xyzmean/Llama-R1-ru:Q4_K_M
How to use xyzmean/Llama-R1-ru with Docker Model Runner:
docker model run hf.co/xyzmean/Llama-R1-ru:Q4_K_M
How to use xyzmean/Llama-R1-ru with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull xyzmean/Llama-R1-ru:Q4_K_M
lemonade run user.Llama-R1-ru-Q4_K_M
lemonade list
This llama model was trained 2x faster with Unsloth and Huggingface's TRL library.
4-bit
5-bit
8-bit