Instructions to use RefalMachine/RuadaptQwen3-32B-Instruct-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use RefalMachine/RuadaptQwen3-32B-Instruct-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="RefalMachine/RuadaptQwen3-32B-Instruct-GGUF", filename="IQ3_S.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use RefalMachine/RuadaptQwen3-32B-Instruct-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf RefalMachine/RuadaptQwen3-32B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf RefalMachine/RuadaptQwen3-32B-Instruct-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf RefalMachine/RuadaptQwen3-32B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf RefalMachine/RuadaptQwen3-32B-Instruct-GGUF:Q4_K_M
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 RefalMachine/RuadaptQwen3-32B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf RefalMachine/RuadaptQwen3-32B-Instruct-GGUF:Q4_K_M
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 RefalMachine/RuadaptQwen3-32B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf RefalMachine/RuadaptQwen3-32B-Instruct-GGUF:Q4_K_M
Use Docker
docker model run hf.co/RefalMachine/RuadaptQwen3-32B-Instruct-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use RefalMachine/RuadaptQwen3-32B-Instruct-GGUF with Ollama:
ollama run hf.co/RefalMachine/RuadaptQwen3-32B-Instruct-GGUF:Q4_K_M
- Unsloth Studio new
How to use RefalMachine/RuadaptQwen3-32B-Instruct-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
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 RefalMachine/RuadaptQwen3-32B-Instruct-GGUF to start chatting
Install Unsloth Studio (Windows)
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 RefalMachine/RuadaptQwen3-32B-Instruct-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for RefalMachine/RuadaptQwen3-32B-Instruct-GGUF to start chatting
- Pi new
How to use RefalMachine/RuadaptQwen3-32B-Instruct-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf RefalMachine/RuadaptQwen3-32B-Instruct-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "RefalMachine/RuadaptQwen3-32B-Instruct-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use RefalMachine/RuadaptQwen3-32B-Instruct-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf RefalMachine/RuadaptQwen3-32B-Instruct-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default RefalMachine/RuadaptQwen3-32B-Instruct-GGUF:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use RefalMachine/RuadaptQwen3-32B-Instruct-GGUF with Docker Model Runner:
docker model run hf.co/RefalMachine/RuadaptQwen3-32B-Instruct-GGUF:Q4_K_M
- Lemonade
How to use RefalMachine/RuadaptQwen3-32B-Instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull RefalMachine/RuadaptQwen3-32B-Instruct-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.RuadaptQwen3-32B-Instruct-GGUF-Q4_K_M
List all available models
lemonade list
RU
Описание модели
GGUF Ruadapt версии модели Qwen/Qwen3-32B. В модели был заменен токенизатор, затем произведено дообучение (Continued pretraining) на русскоязычном корпусе, после чего была применена техника LEP (Learned Embedding Propagation).
Благодаря новому токенизатору (расширенный tiktoken cl100k с помощью униграм токенизатора на 48 т. токенов) скорость генерации* русскоязычных текстов возрасла до 100% (в зависимости от длины контекста) по сравнению с исходной моделью.
*Под скоростью генерации подразумевается количество русскоязычных символов/слов в секунду на одинаковых текстовых последовательностях.
Важно
Веса модели могут обновляться по мере получения новых версий. Информацию о версиях будет в самом конце README, там же фиксируются даты и коммиты версий, чтобы всегда можно было использовать предыдущие варианты при необходимости.
Ответы модели не отражают мнения авторов, а лишь повторяют знания полученные из данных на всех этапах обучения (предобучение, смена токенизатора, обучение на инструкциях, калибровка качества ответов). Модель была получена из сторонней предобученной модели, контроль за предобучением которой не является ответственностью текущих авторов. При создании данной версии модели не производилось никаких дополнительных действий, направленных на изменение заложенных в LLM "мнений". Используйте с осторожностью.
Гибридрый ризонер
Модель, как и ее исходная версия, является гибридным ризонером. По умолчанию модель работает с включенным режимом размышлений. Чтобы отключить режим рассуждений, добавьте в конец последнего сообщения токен /no_think. Чтобы обратно его включить, добавьте /think.
Альтернативный способ при работе с моделью напрямую:
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
enable_thinking=False # Setting enable_thinking=False disables thinking mode
)
Рекомендуемые параметры генерации
Для более стабильной работы рекомендуется использовать низкие температуры 0.0-0.3, top_p в диапазоне от 0.85 до 0.95 и repetition_penalty 1.05 (зависит от задач, но если уходит в циклы, то пробуйте поднять repetition_penalty. В случае же RAG, возможно наоборот снизить до 1.0).
Метрики
*Метрики на DOoM ведут себя несколько нестабильно и существенно зависят от параметров сэмплирования. Метрика на Rubabilong считалась для части датасета (по 200 примеров с каждого из 5 датасетов).
EN
Model Description
Ruadapt version of Qwen/Qwen3-32B.
In this model the tokenizer was replaced, followed by continued pre-training on a Russian-language corpus, after which the LEP (Learned Embedding Propagation) technique was applied.
Thanks to the new tokenizer (an extended tiktoken cl100k, augmented with a 48 k russian tokens), the generation speed* of Russian-language texts has increased by up to 100 % (depending on context length) compared with the original model.
Generation speed is understood as the number of Russian characters/words produced per second on identical text sequences.
Important
The model may be updated as new versions become available. Version information is provided at the very end of the README, where dates and commits are logged so that previous versions can always be used if necessary.
The model’s answers do not reflect the authors’ opinions; they merely reproduce the knowledge obtained from data at all training stages (pre-training, tokenizer replacement, instruction tuning, answer-quality calibration). The model is based on a third-party pretrained model, and the current authors are not responsible for its initial pre-training. No additional actions were taken to modify the “opinions” embedded in the LLM while creating this version. Use with caution.
Other
Tokenization
Versions
v2:
- 82ff278f4f11e8129bab1858688ef843a7fe0be1
- Внутреннее имя/Alias: RuadaptQwen3-32B-Instruct-v2
- Дата/Date: 23.06.2025
v1:
- cb111d3dbd4eccb51682a626a9da2f48bd812479
- Внутреннее имя/Alias: RuadaptQwen3-32B-Instruct-v1
- Дата/Date: 21.05.2025
How to cite:
Tikhomirov M., Chernyshov D. Facilitating Large Language Model Russian Adaptation with Learned Embedding Propagation //Journal of Language and Education. – 2024. – Т. 10. – №. 4. – С. 130-145.
- Downloads last month
- 3,562
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
Model tree for RefalMachine/RuadaptQwen3-32B-Instruct-GGUF
Base model
Qwen/Qwen3-32B

