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 signature869c959 -
Training in progress, step 13000
Verified signature26a894b -
Training in progress, step 12000
Verified signaturebf88d50 -
Training in progress, step 11000
Verified signatureed828b8 -
Training in progress, step 10000
Verified signaturee234d86 -
Training in progress, step 9000
Verified signature0f20a5c -
Training in progress, step 8000
Verified signature529309f -
Training in progress, step 7000
Verified signature754384a -
Training in progress, step 6000
Verified signature793e42d -
Training in progress, step 5000
Verified signaturecbd4201
-
Training in progress, step 4000
Verified signature9ec3af4 -
Training in progress, step 3000
Verified signature6d8d85d -
Training in progress, step 2000
Verified signature79a2dd2 -
Delete chat_template.jinja
Verified signaturecdff40c -
Upload tokenizer
Verified signature07e0917 -
Training in progress, step 1000
Verified signature1ee42cc -
Training in progress, step 28000
Verified signaturef57124a -
Training in progress, step 27000
Verified signaturebc08470 -
Training in progress, step 26000
Verified signatured9e1498 -
Training in progress, step 25000
Verified signaturea662334 -
Training in progress, step 24000
Verified signature2862fb0 -
Training in progress, step 23000
Verified signature2dee732 -
Training in progress, step 22000
Verified signature89ea647 -
Training in progress, step 21000
Verified signature7f359ad -
Training in progress, step 20000
Verified signature3f98398 -
Training in progress, step 19000
Verified signature5d0baae -
Training in progress, step 18000
Verified signatureb4e2c5b -
Training in progress, step 17000
Verified signature501d933 -
Training in progress, step 16000
Verified signatured0bc6e4 -
Training in progress, step 15000
Verified signaturef9196cd -
Training in progress, step 14000
Verified signaturece5a75d -
Training in progress, step 13000
Verified signature92c26c2 -
Training in progress, step 12000
Verified signaturecf45a65
-
Training in progress, step 11000
Verified signature18e853d -
Training in progress, step 10000
Verified signaturea9a718b -
Training in progress, step 9000
Verified signatureb1d6f29 -
Training in progress, step 8000
Verified signature0eaedd0 -
Training in progress, step 7000
Verified signature51d15fd -
Training in progress, step 6000
Verified signature2b5eb32 -
Training in progress, step 5000
Verified signature4e127a5 -
Training in progress, step 4000
Verified signature8264f66 -
Training in progress, step 3000
Verified signaturef291956 -
Training in progress, step 2000
Verified signatureb39a681 -
Training in progress, step 1000
Verified signaturee236499 -
Training in progress, step 1000
Verified signature5b04ab9 -
initial commit
Verified signature569a849