Instructions to use minpeter/tiny-ko-187m-base-250725 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use minpeter/tiny-ko-187m-base-250725 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="minpeter/tiny-ko-187m-base-250725")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("minpeter/tiny-ko-187m-base-250725") model = AutoModelForCausalLM.from_pretrained("minpeter/tiny-ko-187m-base-250725", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use minpeter/tiny-ko-187m-base-250725 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-250725" # 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-250725", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/minpeter/tiny-ko-187m-base-250725
- SGLang
How to use minpeter/tiny-ko-187m-base-250725 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-250725" \ --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-250725", "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-250725" \ --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-250725", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use minpeter/tiny-ko-187m-base-250725 with Docker Model Runner:
docker model run hf.co/minpeter/tiny-ko-187m-base-250725
Commit History
-
Training in progress, step 160097, checkpoint
Verified signature43e8a85 -
Training in progress, step 160097
Verified signaturee502873 -
Training in progress, step 160000, checkpoint
Verified signaturef024052 -
Training in progress, step 160000
Verified signature6dcb27c -
Training in progress, step 159000, checkpoint
Verified signaturef12f825 -
Training in progress, step 159000
Verified signature1eb4faa -
Training in progress, step 158000, checkpoint
Verified signature3859c8f -
Training in progress, step 158000
Verified signature7edc50c -
Training in progress, step 157000, checkpoint
Verified signature6aeff11 -
Training in progress, step 157000
Verified signaturefdbdc31 -
Training in progress, step 156000, checkpoint
Verified signature2eab378 -
Training in progress, step 156000
Verified signatureebd715d -
Training in progress, step 155000, checkpoint
Verified signature0637c1e -
Training in progress, step 155000
Verified signaturea817591 -
Training in progress, step 154000, checkpoint
Verified signature6f639fb -
Training in progress, step 154000
Verified signatureb0e47ac -
Training in progress, step 153000, checkpoint
Verified signature861d872 -
Training in progress, step 153000
Verified signature37c9cd2 -
Training in progress, step 152000, checkpoint
Verified signaturebe30bdc -
Training in progress, step 152000
Verified signature98fc36e -
Training in progress, step 151000, checkpoint
Verified signatured753141 -
Training in progress, step 151000
Verified signature2eab6b4 -
Training in progress, step 150000, checkpoint
Verified signature9e66b5c -
Training in progress, step 150000
Verified signature5be9ad9 -
Training in progress, step 149000, checkpoint
Verified signaturead0e3d4 -
Training in progress, step 149000
Verified signaturef779bef -
Training in progress, step 148000, checkpoint
Verified signature0dccd42 -
Training in progress, step 148000
Verified signaturea4a6e8d -
Training in progress, step 147000, checkpoint
Verified signatureb6bb527 -
Training in progress, step 147000
Verified signature28bb583 -
Training in progress, step 146000, checkpoint
Verified signaturec30e80e -
Training in progress, step 146000
Verified signatured6a35af -
Training in progress, step 145000, checkpoint
Verified signature7ba7a1a -
Training in progress, step 145000
Verified signatureeaae45a
-
Training in progress, step 144000, checkpoint
Verified signaturec3cbe65 -
Training in progress, step 144000
Verified signature187caec -
Training in progress, step 143000, checkpoint
Verified signature7af0fe1 -
Training in progress, step 143000
Verified signature4c9957e -
Training in progress, step 142000, checkpoint
Verified signature36bc3a1 -
Training in progress, step 142000
Verified signature03c8460 -
Training in progress, step 141000, checkpoint
Verified signature471926b -
Training in progress, step 141000
Verified signaturecb08269 -
Training in progress, step 140000, checkpoint
Verified signatureedd0584 -
Training in progress, step 140000
Verified signature33e1fd9 -
Training in progress, step 139000, checkpoint
Verified signature7c25742 -
Training in progress, step 139000
Verified signature5ef12af -
Training in progress, step 138000, checkpoint
Verified signatured3df0a4 -
Training in progress, step 138000
Verified signature1d58043 -
Training in progress, step 137000, checkpoint
Verified signature1e9bd83 -
Training in progress, step 137000
Verified signaturea445399