Run this model with HF Jobs
Run minpeter/tiny-ko-base on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/minpeter/tiny-ko-base. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/minpeter/tiny-ko-base on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/minpeter/tiny-ko-base. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/minpeter/tiny-ko-base. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
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
Rollback
Browse filesFiles changed (5)
- config.json+16-14
- model.safetensors+2-2
- tokenizer.json+2-2
- tokenizer_config.json+37-37
- training_args.bin+1-1
3 unmodified lines4567891011121314151617181920212223242526272829303 unmodified lines],"attention_bias": false,"attention_dropout": 0.0,"bos_token_id": 1,"eos_token_id": 32001,"head_dim": 32,"hidden_act": "silu","hidden_size": 256,"initializer_range": 0.02,"intermediate_size": 1024,"max_position_embeddings": 8192,"mlp_bias": false,"model_type": "llama","num_attention_heads": 8,"num_hidden_layers": 12,"num_key_value_heads": 2,"pad_token_id": 32003,"pretraining_tp": 1,"rms_norm_eps": 1e-06,"rope_scaling": null,"rope_theta": 10000.0,"tie_word_embeddings": true,"torch_dtype": "float32","transformers_version": "4.52.4","use_cache": true,"vocab_size": 32018}3 unmodified lines45678910111213141516171819202122232425262728293031323 unmodified lines],"attention_bias": false,"attention_dropout": 0.0,"bos_token_id": 0,"eos_token_id": 3,"head_dim": 64,"hidden_act": "silu","hidden_size": 576,"initializer_range": 0.041666666666666664,"intermediate_size": 1536,"is_llama_config": true,"max_position_embeddings": 4096,"mlp_bias": false,"model_type": "llama","num_attention_heads": 9,"num_hidden_layers": 30,"num_key_value_heads": 3,"pad_token_id": 1,"pretraining_tp": 1,"rms_norm_eps": 1e-05,"rope_interleaved": false,"rope_scaling": null,"rope_theta": 100000,"tie_word_embeddings": true,"torch_dtype": "float32","transformers_version": "4.52.4","use_cache": true,"vocab_size": 32000}
123version https://git-lfs.github.com/spec/v1oid sha256:d9e511a89a68110f896a7373f812fd6041629cc471887aabcda85447c7031f28size 78437072123version https://git-lfs.github.com/spec/v1oid sha256:aaaf5bd62a28c1e2ea35ce725cd2e608c582aac986ca5bba4639e77aa9701515size 498572168
123version https://git-lfs.github.com/spec/v1oid sha256:0f24e35414c22e483b892df074f22186bcbfd1b1c1f183ef4c8f4990f826ff30size 2869924123version https://git-lfs.github.com/spec/v1oid sha256:a36c3ff5b839a44b064837a12b832e61cab245c31d1618d03c85d1314cc07911size 2846439
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421434 unmodified lines148149150151152153154{"added_tokens_decoder": {"32000": {"content": "<|im_start|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"32001": {"content": "<|im_end|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"32002": {"content": "<|unk_token|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"32003": {"content": "<|pad_token|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"32004": {"content": "<tool_call>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": false},"32005": {"content": "</tool_call>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": false},"32006": {"content": "<think>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": false},"32007": {"content": "</think>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": false},"32008": {"content": "<|unused_special_token_0|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"32009": {"content": "<|unused_special_token_1|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"32010": {"content": "<|unused_special_token_2|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"32011": {"content": "<|unused_special_token_3|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"32012": {"content": "<|unused_special_token_4|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"32013": {"content": "<|unused_special_token_5|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"32014": {"content": "<|unused_special_token_6|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"32015": {"content": "<|unused_special_token_7|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"32016": {"content": "<|unused_special_token_8|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"32017": {"content": "<|unused_special_token_9|>","lstrip": false,"normalized": false,"rstrip": false,4 unmodified lines"clean_up_tokenization_spaces": false,"eos_token": "<|im_end|>","extra_special_tokens": {},"model_max_length": 4096,"pad_token": "<|pad_token|>","tokenizer_class": "PreTrainedTokenizer","unk_token": "<|unk_token|>"1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421434 unmodified lines148149150151152153154{"added_tokens_decoder": {"0": {"content": "<|unk_token|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"1": {"content": "<|pad_token|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"2": {"content": "<|im_start|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"3": {"content": "<|im_end|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"4": {"content": "<tool_call>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"5": {"content": "</tool_call>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"6": {"content": "<think>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"7": {"content": "</think>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"8": {"content": "<|unused_token_0|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"9": {"content": "<|unused_token_1|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"10": {"content": "<|unused_token_2|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"11": {"content": "<|unused_token_3|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"12": {"content": "<|unused_token_4|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"13": {"content": "<|unused_token_5|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"14": {"content": "<|unused_token_6|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"15": {"content": "<|unused_token_7|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"16": {"content": "<|unused_token_8|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"17": {"content": "<|unused_token_9|>","lstrip": false,"normalized": false,"rstrip": false,4 unmodified lines"clean_up_tokenization_spaces": false,"eos_token": "<|im_end|>","extra_special_tokens": {},"model_max_length": 1000000000000000019884624838656,"pad_token": "<|pad_token|>","tokenizer_class": "PreTrainedTokenizer","unk_token": "<|unk_token|>"
123version https://git-lfs.github.com/spec/v1oid sha256:5b9edc82518a3363d37477942c413c134ab6b8f4032a4f60942c01d82a0577efsize 5713123version https://git-lfs.github.com/spec/v1oid sha256:02a35e277ab5aa892680510168973e0c935efdcd186a619b19b5aaf90d144b98size 5713
config.json+16-14
model.safetensors+2-2
tokenizer.json+2-2
tokenizer_config.json+37-37
training_args.bin+1-1