Instructions to use minpeter/tiny-ko-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use minpeter/tiny-ko-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="minpeter/tiny-ko-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("minpeter/tiny-ko-base") model = AutoModelForCausalLM.from_pretrained("minpeter/tiny-ko-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use minpeter/tiny-ko-base with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "minpeter/tiny-ko-base" # 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-base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/minpeter/tiny-ko-base
- SGLang
How to use minpeter/tiny-ko-base 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-base" \ --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-base", "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-base" \ --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-base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use minpeter/tiny-ko-base with Docker Model Runner:
docker model run hf.co/minpeter/tiny-ko-base
Commit History
-
Training in progress, step 14000
Verified signaturee6428dc -
Training in progress, step 13000
Verified signaturef4ff7ee -
Training in progress, step 12000
Verified signaturec673112 -
Training in progress, step 11000
Verified signature0247655 -
Training in progress, step 10000
Verified signature577f262 -
Training in progress, step 9000
Verified signaturec43fa06 -
Training in progress, step 8000
Verified signature1dac97c -
Training in progress, step 7000
Verified signature4810b6c -
Training in progress, step 6000
Verified signaturecfd78e2 -
Training in progress, step 5000
Verified signatureb7ed1a1 -
Training in progress, step 4000
Verified signature2c105da -
Training in progress, step 3000
Verified signaturedda6ea8 -
Training in progress, step 2000
Verified signature29e6e2f -
Delete chat_template.jinja
Verified signature5723abe -
Update README.md
Verified signatureab72f60 -
Training in progress, step 1000
Verified signature8b0e3cd -
Upload tokenizer
Verified signaturebc2dcf6 -
Upload tokenizer
Verified signature9e1e774 -
Update README.md
Verified signature2762c0e -
Training in progress, step 45000
Verified signatureb129597 -
Training in progress, step 44000
Verified signature0c42a1f -
Training in progress, step 43000
Verified signature5ff5ef0 -
Training in progress, step 42000
Verified signature2be676e -
Training in progress, step 41000
Verified signature4cae649 -
Training in progress, step 40000
Verified signature639eea1 -
Training in progress, step 39000
Verified signature0fb4c60
-
Training in progress, step 38000
Verified signature0e20eab -
Training in progress, step 37000
Verified signature8bd74f8 -
Training in progress, step 36000
Verified signature480e56c -
Training in progress, step 35000
Verified signature46bfa77 -
Training in progress, step 34000
Verified signaturee78b588 -
Training in progress, step 33000
Verified signatureab31723 -
Training in progress, step 32000
Verified signaturecc472ef -
Training in progress, step 31000
Verified signatureb007d21 -
Training in progress, step 30000
Verified signature802d267 -
Training in progress, step 29000
Verified signature973c9ac -
Training in progress, step 28000
Verified signature0cc3437 -
Training in progress, step 27000
Verified signaturee977c71 -
Training in progress, step 26000
Verified signatureb050216 -
Training in progress, step 25000
Verified signature7a003dd -
Training in progress, step 24000
Verified signature7e692fc -
Training in progress, step 23000
Verified signature26e7400 -
Training in progress, step 22000
Verified signature4620894 -
Training in progress, step 21000
Verified signaturef95f825 -
Training in progress, step 20000
Verified signaturee925314 -
Training in progress, step 19000
Verified signaturec15ea60 -
Training in progress, step 18000
Verified signaturef13972b -
Training in progress, step 17000
Verified signaturecf3c3cc -
Training in progress, step 16000
Verified signature24ecde4 -
Training in progress, step 15000
Verified signature03ca11a