Text Generation
Transformers
Safetensors
English
llama
text-generation-inference
unsloth
trl
sft
4-bit precision
bitsandbytes
Instructions to use Hemgg/medsathi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Hemgg/medsathi with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Hemgg/medsathi")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Hemgg/medsathi") model = AutoModelForCausalLM.from_pretrained("Hemgg/medsathi", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Hemgg/medsathi with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Hemgg/medsathi" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Hemgg/medsathi", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Hemgg/medsathi
- SGLang
How to use Hemgg/medsathi 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 "Hemgg/medsathi" \ --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": "Hemgg/medsathi", "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 "Hemgg/medsathi" \ --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": "Hemgg/medsathi", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Unsloth Desktop
- Docker Model Runner
How to use Hemgg/medsathi with Docker Model Runner:
docker model run hf.co/Hemgg/medsathi
Commit History
-
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x fasterec42534 -
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x fasterc8806ff -
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x fastered89efa -
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x fasterc822c5b
-
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x faster489c593 -
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x faster389e533 -
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x faster6d57003 -
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x faster456cc6c -
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x faster32330ee -
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x fastera3d2dd5
-
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x fastera782d4c -
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x fasterdf7bd63 -
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x faster7bd7d2f -
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x fasterebf9377 -
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x fasteraa9a9a0 -
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x faster95bf7ee -
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x fastere945075 -
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x faster3a2d097 -
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x faster38439f8 -
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x faster5403c63 -
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x faster7ba30ca -
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x faster8a1cb0b -
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x fastera6527f9 -
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x fasterd90af1d
-
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x faster70acd15 -
Trained with Unsloth
HemVerified signatureUpload model trained with Unsloth 2x faster2631716 -
Upload README.md with huggingface_hub
HemVerified signature89559ce -
initial commit
HemVerified signature60c87d5