Instructions to use minpeter/tiny-ko-small-250802 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use minpeter/tiny-ko-small-250802 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="minpeter/tiny-ko-small-250802")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("minpeter/tiny-ko-small-250802") model = AutoModelForCausalLM.from_pretrained("minpeter/tiny-ko-small-250802", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use minpeter/tiny-ko-small-250802 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "minpeter/tiny-ko-small-250802" # 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-small-250802", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/minpeter/tiny-ko-small-250802
- SGLang
How to use minpeter/tiny-ko-small-250802 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-small-250802" \ --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-small-250802", "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-small-250802" \ --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-small-250802", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use minpeter/tiny-ko-small-250802 with Docker Model Runner:
docker model run hf.co/minpeter/tiny-ko-small-250802
Commit History
-
Update README.md
Verified signaturee9168a1 -
Training in progress, step 240, checkpoint
Verified signature97bfdbc -
Training in progress, step 240
Verified signaturebb46af7 -
Training in progress, step 200, checkpoint
Verified signature18a0848 -
Training in progress, step 200
Verified signature6d0d740 -
Training in progress, step 100, checkpoint
Verified signature539539c -
Training in progress, step 100
Verified signature8a82363 -
Training in progress, step 100, checkpoint
Verified signature348f21b -
Training in progress, step 100
Verified signaturec979516 -
Training in progress, step 900, checkpoint
Verified signatureccda333 -
Training in progress, step 900
Verified signature6a84eef -
Training in progress, step 800, checkpoint
Verified signatured2e3dad -
Training in progress, step 800
Verified signature8856462 -
Training in progress, step 700, checkpoint
Verified signature6a8b246 -
Training in progress, step 700
Verified signature5444174 -
Training in progress, step 600, checkpoint
Verified signature7d2f169 -
Training in progress, step 600
Verified signaturee5f2afc -
Training in progress, step 500, checkpoint
Verified signature4f3fb4d -
Training in progress, step 500
Verified signatureb52f28c -
Training in progress, step 400, checkpoint
Verified signature4a28b65 -
Training in progress, step 400
Verified signaturefb61275 -
Training in progress, step 300, checkpoint
Verified signaturebc2089e -
Training in progress, step 300
Verified signature71d7c1a -
Training in progress, step 200, checkpoint
Verified signature383f3af -
Training in progress, step 200
Verified signaturec607e64 -
Training in progress, step 100, checkpoint
Verified signature874f770 -
Training in progress, step 100
Verified signatured54eb0a -
Training in progress, step 400, checkpoint
Verified signature1a729c4 -
Training in progress, step 400
Verified signaturea25b54e -
Training in progress, step 300, checkpoint
Verified signatureb68fce6 -
Training in progress, step 300
Verified signature6e00c20 -
Training in progress, step 200, checkpoint
Verified signature41e77c8 -
Training in progress, step 200
Verified signature4e923ed -
Training in progress, step 100, checkpoint
Verified signature99e97f8 -
Training in progress, step 100
Verified signature20b4e47 -
Training in progress, step 400, checkpoint
Verified signature8ccfcce -
Training in progress, step 400
Verified signaturedc17e4f -
Training in progress, step 300, checkpoint
Verified signature97da488 -
Training in progress, step 300
Verified signatured8dccf0 -
Training in progress, step 200, checkpoint
Verified signature24d6d88 -
Training in progress, step 200
Verified signature70a0018 -
Training in progress, step 100, checkpoint
Verified signature8d934a4 -
Training in progress, step 100
Verified signaturea98c18a -
Training in progress, step 300, checkpoint
Verified signature756c16d -
Training in progress, step 300
Verified signaturee2571b6 -
Training in progress, step 200, checkpoint
Verified signaturef2bd66b -
Training in progress, step 200
Verified signaturea998976 -
Training in progress, step 100, checkpoint
Verified signature6730350 -
Training in progress, step 100
Verified signaturebef9394 -
Training in progress, step 600, checkpoint
Verified signature758373f