Instructions to use darynka-xo/Samruk with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use darynka-xo/Samruk with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="darynka-xo/Samruk")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("darynka-xo/Samruk") model = AutoModelForCausalLM.from_pretrained("darynka-xo/Samruk", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use darynka-xo/Samruk with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "darynka-xo/Samruk" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "darynka-xo/Samruk", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/darynka-xo/Samruk
- SGLang
How to use darynka-xo/Samruk 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 "darynka-xo/Samruk" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "darynka-xo/Samruk", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "darynka-xo/Samruk" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "darynka-xo/Samruk", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use darynka-xo/Samruk with Docker Model Runner:
docker model run hf.co/darynka-xo/Samruk
Commit History
-
Merge base model full precision with adapter
Verified signature344ef60 -
Merge base model full precision with adapter
Verified signaturee5028a0 -
Delete tokenizer_config.json
Verified signature58d26c8 -
Delete tokenizer.json
Verified signature07c2ec1 -
Delete special_tokens_map.json
Verified signatureeea8bc4 -
Delete adapter_model.safetensors
Verified signaturee330d65 -
Delete adapter_config.json
Verified signature0505e06 -
Delete README.md
Verified signature012b2fd -
Upload tokenizer
Verified signaturee737635 -
Upload model
Verified signature62c8820 -
Delete tokenizer_config.json
Verified signature7f12a01 -
Delete tokenizer.json
Verified signature3fbe344 -
Delete special_tokens_map.json
Verified signature51b1040 -
Delete adapter_model.safetensors
Verified signature0e2caa5 -
Delete adapter_config.json
Verified signature776d8a6 -
Delete README.md
Verified signature61ab291 -
Upload tokenizer
Verified signaturef469510 -
Upload model
Verified signature8590fef -
Upload model
Verified signature71b0b1a -
initial commit
Verified signature83c9af1