Instructions to use minpeter/tiny-ko-187m-base-250718 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use minpeter/tiny-ko-187m-base-250718 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="minpeter/tiny-ko-187m-base-250718")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("minpeter/tiny-ko-187m-base-250718") model = AutoModelForCausalLM.from_pretrained("minpeter/tiny-ko-187m-base-250718", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use minpeter/tiny-ko-187m-base-250718 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "minpeter/tiny-ko-187m-base-250718" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "minpeter/tiny-ko-187m-base-250718", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/minpeter/tiny-ko-187m-base-250718
- SGLang
How to use minpeter/tiny-ko-187m-base-250718 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 "minpeter/tiny-ko-187m-base-250718" \ --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": "minpeter/tiny-ko-187m-base-250718", "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 "minpeter/tiny-ko-187m-base-250718" \ --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": "minpeter/tiny-ko-187m-base-250718", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use minpeter/tiny-ko-187m-base-250718 with Docker Model Runner:
docker model run hf.co/minpeter/tiny-ko-187m-base-250718
Commit History
-
Update README.md
Verified signature081e8b7
-
Training in progress, step 57094, checkpoint
Verified signature1524893 -
Training in progress, step 57094
Verified signature8714f4c -
Training in progress, step 57000, checkpoint
Verified signature289fc1a -
Training in progress, step 57000
Verified signature9f068ac -
Training in progress, step 56000, checkpoint
Verified signatureb90ddc9 -
Training in progress, step 56000
Verified signaturec0ad6ca -
Training in progress, step 55000, checkpoint
Verified signature37c80d7 -
Training in progress, step 55000
Verified signature885e775
-
Update README.md
Verified signature043aec6 -
Training in progress, step 54000
Verified signature8a456b2 -
Training in progress, step 53000
Verified signatureff7a474 -
Training in progress, step 52000
Verified signatured237476 -
Training in progress, step 51000
Verified signature6a2d12c -
Training in progress, step 50000
Verified signatured84e3af -
Training in progress, step 49000
Verified signaturee7e219d -
Training in progress, step 48000
Verified signature6a47f82 -
Training in progress, step 47000
Verified signaturec85964c -
Training in progress, step 46000
Verified signaturecc67bc0 -
Training in progress, step 45000
Verified signature1ad32c3 -
Training in progress, step 44000
Verified signaturea65bb23 -
Training in progress, step 43000
Verified signatureaeaf00d -
Training in progress, step 42000
Verified signaturea2a7a81 -
Training in progress, step 41000
Verified signaturef2069c8 -
Training in progress, step 40000
Verified signature6fb8857 -
Training in progress, step 39000
Verified signature3121325 -
Training in progress, step 38000
Verified signature223f3b0 -
Training in progress, step 37000
Verified signature1677490 -
Training in progress, step 36000
Verified signature904ef46 -
Training in progress, step 35000
Verified signaturefe4842b -
Training in progress, step 34000
Verified signature2dc6873 -
Training in progress, step 33000
Verified signature23ada22 -
Training in progress, step 32000
Verified signature5be89d0 -
Training in progress, step 31000
Verified signature080ad62
-
Training in progress, step 30000
Verified signature8f9e4d5 -
Training in progress, step 29000
Verified signature8865733 -
Training in progress, step 28000
Verified signature7b07f43 -
Training in progress, step 27000
Verified signature5ccadf6 -
Training in progress, step 26000
Verified signature1d7c724 -
Training in progress, step 25000
Verified signatured99f40a -
Training in progress, step 24000
Verified signaturee369465 -
Training in progress, step 23000
Verified signature813667b -
Training in progress, step 22000
Verified signature3222e5c -
Training in progress, step 21000
Verified signaturedb82b28 -
Training in progress, step 20000
Verified signaturede6dfa5 -
Training in progress, step 19000
Verified signaturec78647c -
Training in progress, step 18000
Verified signature5cf2bb0 -
Training in progress, step 17000
Verified signature8b501f4 -
Training in progress, step 16000
Verified signature44b857c -
Training in progress, step 15000
Verified signature2943935