Text Generation
Transformers
Safetensors
PyTorch
Russian
transformer
fill-mask
chat
russian
easyformer
custom_code
conversational
Eval Results (legacy)
Instructions to use OpenRussianAI/andrey with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenRussianAI/andrey with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="OpenRussianAI/andrey", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelWithLMHead model = AutoModelWithLMHead.from_pretrained("OpenRussianAI/andrey", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use OpenRussianAI/andrey with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "OpenRussianAI/andrey" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OpenRussianAI/andrey", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/OpenRussianAI/andrey
- SGLang
How to use OpenRussianAI/andrey 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 "OpenRussianAI/andrey" \ --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": "OpenRussianAI/andrey", "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 "OpenRussianAI/andrey" \ --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": "OpenRussianAI/andrey", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use OpenRussianAI/andrey with Docker Model Runner:
docker model run hf.co/OpenRussianAI/andrey
Commit History
13 days ago
-
Update config.json
Verified signature9520449 -
Update README.md
Verified signature6c4cad3 -
Update README.md
Verified signature7514816 -
Upload tokenizer.json with huggingface_hub
Verified signatured787942 -
retrain: BPE tokenizer + IDK-honesty + bigger model
Verified signature91262e2 -
Delete files config.json easyformer.onnx pytorch_model.bin tokenizer.json with huggingface_hub
Verified signature3f104a9
-
Update README.md
Verified signature650ccc2 -
ONNX: vocab=1172, ctx=128
Verified signature6159069 -
Remove old ONNX
Verified signature7e241a1 -
Update README.md
Verified signature9b7644e -
Update ONNX: 3.5M model
Verified signature6cf94d7 -
Remove old ONNX
Verified signaturecd269f4 -
Update tokenizer.json
Verified signature8cad63a -
Update pytorch_model.bin
Verified signature8eadc1f -
Update config.json
Verified signature0e28380 -
Remove tokenizer.json
Verified signature2d5abbe -
Remove pytorch_model.bin
Verified signature4206967 -
Remove config.json
Verified signaturee2aad45 -
Add model_type + auto_map
Verified signature9ce5e4e -
Remove old config
Verified signatureecd9a32 -
Fix: no _orig_mod, lm_head
Verified signaturededc290 -
Remove old weights
Verified signatureb79ac81 -
Add model_type + auto_map
Verified signature3c3947c -
Remove old config
Verified signature55a28a1 -
Fixed: no _orig_mod, lm_head
Verified signature0e9bfeb -
Remove old weights
Verified signatureba9cd7e -
Rename head -> lm_head for HF compat
Verified signature85dad55 -
Strip _orig_mod. prefix from weights
Verified signature2db63a5 -
Add model_type + auto_map
Verified signature99d38a8 -
Update README.md
Verified signature1169df9 -
Update README.md
Verified signatured4a84d4 -
Update easyformer.onnx
Verified signaturea887e29 -
Update tokenizer.json
Verified signatureacd5a5e -
Update pytorch_model.bin
Verified signaturef20874a -
Update config.json
Verified signaturea0202fd -
Remove easyformer.onnx
Verified signatured1f1978 -
Remove tokenizer.json
Verified signature5a403b2 -
Remove pytorch_model.bin
Verified signature58ed668 -
Remove config.json
Verified signatureb786194
-
Fix tokenizer: char-level stoi/itos
Verified signature3711a0a -
Upload easyformer.onnx
Verified signature0c3ab67 -
Update configuration_easyformer.py
Verified signatureffe4b06 -
Update tokenizer.json
Verified signaturebea1dcb -
Update tokenizer.json
Verified signature888fc1b -
Create LICENSE
Verified signature3336636 -
Update README.md
Verified signatureae15ee7 -
Update config.json
Verified signature5206615 -
Update pytorch_model.bin
Verified signature6725da9 -
Update modeling_easyformer.py
Verified signaturebc6d608 -
Update modeling_easyformer.py
Verified signature7c606de