Instructions to use DICPlay/RusMind-Zernyshko-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DICPlay/RusMind-Zernyshko-1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="DICPlay/RusMind-Zernyshko-1", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("DICPlay/RusMind-Zernyshko-1", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use DICPlay/RusMind-Zernyshko-1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DICPlay/RusMind-Zernyshko-1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DICPlay/RusMind-Zernyshko-1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/DICPlay/RusMind-Zernyshko-1
- SGLang
How to use DICPlay/RusMind-Zernyshko-1 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "DICPlay/RusMind-Zernyshko-1" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DICPlay/RusMind-Zernyshko-1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "DICPlay/RusMind-Zernyshko-1" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DICPlay/RusMind-Zernyshko-1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use DICPlay/RusMind-Zernyshko-1 with Docker Model Runner:
docker model run hf.co/DICPlay/RusMind-Zernyshko-1
RusMind Зёрнышко 1
RusMind Зёрнышко 1 — крошечная модель RusMind, самая компактная в линейке, обученная полностью с нуля. Весит всего около 70 МБ и работает полностью офлайн на самом слабом железе: её удалось запустить на кнопочном телефоне Nokia N95, умном холодильнике и чайнике.
| Параметров | 35 млн (8 слоёв × 512) |
| Размер | ~70 МБ |
| Контекст | 1024 токена |
| Формат диалога | ChatML |
Нужно больше качества при том же крошечном размере — смотрите RusMind Зёрнышко 1.6.
Запуск
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("DICPlay/RusMind-Zernyshko-1")
model = AutoModelForCausalLM.from_pretrained("DICPlay/RusMind-Zernyshko-1", trust_remote_code=True)
msgs = [{"role": "user", "content": "Расскажи о Москве"}]
ids = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt")
out = model.generate(ids, max_new_tokens=200)
print(tok.decode(out[0][ids.shape[1]:], skip_special_tokens=True))
trust_remote_code=True нужен для собственной архитектуры RusMind AI.
Для LM Studio, Ollama и llama.cpp — файл GGUF в репозитории DICPlay/RusMind-Zernyshko-1-GGUF.
Лицензия
Распространяется по собственной лицензии RusMind License (DICPlay) — текст в файле LICENSE. Коротко: бесплатно для личного и некоммерческого использования, исследований и оценки; коммерческое использование, перепродажа, распространение изменённых версий и встраивание в продукты — только по письменному договору с DICPlay. Модель предоставляется «как есть».
© 2026 DICPlay. RusMind — национальный ИИ. Генеральный директор — Кириллин Даниил Станиславович.
- Downloads last month
- 234