Text Generation
Transformers
Uzbek
English
text-generation-inference
summarization
translation
question-answering
Instructions to use behbudiy/Mistral-Nemo-Instruct-Uz with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use behbudiy/Mistral-Nemo-Instruct-Uz with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="behbudiy/Mistral-Nemo-Instruct-Uz")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("behbudiy/Mistral-Nemo-Instruct-Uz", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use behbudiy/Mistral-Nemo-Instruct-Uz with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "behbudiy/Mistral-Nemo-Instruct-Uz" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "behbudiy/Mistral-Nemo-Instruct-Uz", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/behbudiy/Mistral-Nemo-Instruct-Uz
- SGLang
How to use behbudiy/Mistral-Nemo-Instruct-Uz 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 "behbudiy/Mistral-Nemo-Instruct-Uz" \ --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": "behbudiy/Mistral-Nemo-Instruct-Uz", "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 "behbudiy/Mistral-Nemo-Instruct-Uz" \ --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": "behbudiy/Mistral-Nemo-Instruct-Uz", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use behbudiy/Mistral-Nemo-Instruct-Uz with Docker Model Runner:
docker model run hf.co/behbudiy/Mistral-Nemo-Instruct-Uz
Commit History
-
include results
Verified signature64b445e
-
Update README.md
Verified signature95b5d85 -
Update README.md
Verified signatureed1adb7 -
Update README.md
Verified signaturec6f9fe1 -
Update README.md
Verified signaturedef6c60 -
Update README.md
Verified signature5d8f005 -
Update README.md
Verified signature843bd12 -
Update README.md
Verified signaturec151b52
-
Update README.md
Verified signaturedad2d23 -
Update README.md
Verified signature339da93 -
Update README.md
Verified signaturefe2a968 -
Update README.md
Verified signature386c246 -
Update README.md
Verified signature6ec1d9f
-
Upload folder using huggingface_hub
Verified signature7b35b2a -
initial commit
Verified signatureb8db54a