Instructions to use idah4/byteetm-korean-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use idah4/byteetm-korean-tiny with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="idah4/byteetm-korean-tiny", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("idah4/byteetm-korean-tiny", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use idah4/byteetm-korean-tiny with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "idah4/byteetm-korean-tiny" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "idah4/byteetm-korean-tiny", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/idah4/byteetm-korean-tiny
- SGLang
How to use idah4/byteetm-korean-tiny 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 "idah4/byteetm-korean-tiny" \ --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": "idah4/byteetm-korean-tiny", "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 "idah4/byteetm-korean-tiny" \ --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": "idah4/byteetm-korean-tiny", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use idah4/byteetm-korean-tiny with Docker Model Runner:
docker model run hf.co/idah4/byteetm-korean-tiny
Commit History
-
Upload ByteETM-Korean (HF inference compatible)
Verified signature8816a18 -
Upload ByteETM-Korean (HF inference compatible)
Verified signature349ff93 -
Upload ByteETM-Korean (HF inference compatible)
Verified signature4099e14 -
Upload ByteETM-Korean (HF inference compatible)
Verified signature75c8c5d -
Update README.md
Verified signaturea12f029 -
Update README.md
Verified signature180d231 -
Delete model.py
Verified signature8aa084e -
Delete model/__init__.py
Verified signatureb6cdf3e -
Delete byteetm.pt
Verified signaturef52e48e -
Upload ByteETM-Korean (HF inference compatible)
Verified signature006702e -
Update README.md
Verified signature70eb4d4 -
Upload ByteETM-Korean (HF inference compatible)
Verified signature55d5258 -
Update README.md
Verified signaturebbd425b -
Update README.md
Verified signature5cb1184 -
Update README.md
Verified signature27d1042 -
Update README.md
Verified signaturec81fd6e -
Update README.md
Verified signatureac455b2 -
Upload ByteETM-Korean (HF inference compatible)
Verified signaturec154509 -
Upload ByteETM-Korean (HF inference compatible)
Verified signature9b241bc -
Upload ByteETM-Korean (HF inference compatible)
Verified signature8d8a77c -
Upload ByteETM-Korean (HF inference compatible)
Verified signature300d0ea -
Upload ByteETM-Korean (HF inference compatible)
Verified signatureec380c9 -
fix: import model.py for HF remote code
Verified signatured0f4a7b -
Upload ByteETM-Korean (HF inference compatible)
Verified signature4dee3dd -
Upload ByteETM-Korean (HF inference compatible)
Verified signature00205bb -
Upload ByteETM-Korean (HF inference compatible)
Verified signature06e5f66 -
Upload ByteETM-Korean (HF inference compatible)
Verified signature78fc18d -
Upload ByteETM-Korean (HF inference compatible)
Verified signaturef5537b7 -
Upload ByteETM-Korean (HF inference compatible)
Verified signature7100816 -
Update README.md
Verified signatureaba5647 -
upload ByteGPT-Korean small model
Verified signature1becea5 -
initial commit
Verified signaturefc7c0f8