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 19000
Verified signaturee6e23af -
Training in progress, step 18000
Verified signature1befd44 -
Training in progress, step 17000
Verified signature94c8894 -
Training in progress, step 16000
Verified signature9736e7b -
Training in progress, step 15000
Verified signaturef1662a9 -
Training in progress, step 14000
Verified signature9a37927 -
Training in progress, step 13000
Verified signature7ff2e13 -
Training in progress, step 12000
Verified signaturef835e53 -
Training in progress, step 11000
Verified signature5ae4d69 -
Training in progress, step 10000
Verified signature08cd529 -
Training in progress, step 9000
Verified signature22218c3 -
Training in progress, step 8000
Verified signature2d0300c -
Training in progress, step 7000
Verified signaturea203d10 -
Training in progress, step 6000
Verified signature671bb6c -
Training in progress, step 5000
Verified signature1748609 -
Training in progress, step 4000
Verified signature37c85d8 -
Training in progress, step 3000
Verified signaturedeed7e6 -
Training in progress, step 2000
Verified signaturebacc889 -
Training in progress, step 1000
Verified signature5fd3283 -
Upload tokenizer
Verified signaturec3ac715 -
Upload tokenizer
Verified signature98a7a79 -
Training in progress, step 18000
Verified signature83a0e51 -
Training in progress, step 17000
Verified signature5de0f16 -
Training in progress, step 16000
Verified signature25ee438 -
Update README.md
Verified signature475e22e -
Training in progress, step 15000
Verified signatured7d2108 -
Training in progress, step 14000
Verified signaturee03421f
-
Training in progress, step 13000
Verified signature0c2f84d -
Training in progress, step 12000
Verified signature6bdca9e -
Training in progress, step 11000
Verified signature54ac77a -
Training in progress, step 10000
Verified signature8b9b252 -
Training in progress, step 9000
Verified signatured161f2f -
Training in progress, step 8000
Verified signature16f0f39 -
Training in progress, step 7000
Verified signature3d1aa2e -
Training in progress, step 6000
Verified signature6ad0c95 -
Training in progress, step 5000
Verified signaturef97aaad -
Training in progress, step 4000
Verified signatured1f1d9f -
Training in progress, step 3000
Verified signature587eee4 -
Training in progress, step 2000
Verified signature4a7c3d5 -
Training in progress, step 1000
Verified signaturec6ee2e1 -
Upload tokenizer
Verified signature7a15587
-
Update README.md
Verified signature4c7bcde -
Rollback to 122000 step
Verified signature50d7638 -
Training in progress, step 173000
Verified signaturec80a8d5 -
Training in progress, step 172000
Verified signaturec940b9e -
Training in progress, step 171000
Verified signature09297ef -
Training in progress, step 170000
Verified signature03cfbc6 -
Training in progress, step 169000
Verified signatured66a17a -
Training in progress, step 168000
Verified signature24f0711 -
Training in progress, step 167000
Verified signaturef5f542a