Text Generation
Transformers
Safetensors
Korean
English
smollm3
korean
bilingual
pretrained-from-scratch
research
Instructions to use izlley2/LLM0to1-10b-step83000 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use izlley2/LLM0to1-10b-step83000 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="izlley2/LLM0to1-10b-step83000")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("izlley2/LLM0to1-10b-step83000") model = AutoModelForCausalLM.from_pretrained("izlley2/LLM0to1-10b-step83000", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use izlley2/LLM0to1-10b-step83000 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "izlley2/LLM0to1-10b-step83000" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "izlley2/LLM0to1-10b-step83000", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/izlley2/LLM0to1-10b-step83000
- SGLang
How to use izlley2/LLM0to1-10b-step83000 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 "izlley2/LLM0to1-10b-step83000" \ --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": "izlley2/LLM0to1-10b-step83000", "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 "izlley2/LLM0to1-10b-step83000" \ --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": "izlley2/LLM0to1-10b-step83000", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use izlley2/LLM0to1-10b-step83000 with Docker Model Runner:
docker model run hf.co/izlley2/LLM0to1-10b-step83000
LLM0to1-10b โ step 83000
๋ฐ๋ฅ๋ถํฐ ํ์ตํ ~10B ํ/์ ์ด์ค์ธ์ด LLM์ ์ฌ์ ํ์ต ์ค๊ฐ ์ฒดํฌํฌ์ธํธ์ ๋๋ค.
โ ๏ธ base ๋ชจ๋ธ โ instruction/chat ํ๋์ด ๋์ด ์์ง ์์ต๋๋ค. โ ๏ธ LR ๊ฐ์ (anneal) ์ด์ ์ฒดํฌํฌ์ธํธ๋ก ์์ฑ ํ์ง์ด ๋ฎ์ต๋๋ค. ์ฐ๊ตฌ ๋ชฉ์ ์์นด์ด๋ธ์ ๋๋ค.
์คํ
| ํญ๋ชฉ | ๊ฐ |
|---|---|
| ์ํคํ ์ฒ | SmolLM3ForCausalLM |
| ํ๋ผ๋ฏธํฐ | ์ฝ 10B (dense) |
| hidden / layers | 4096 / 44 |
| heads | 32 Q / 8 KV (GQA), head_dim 128 |
| intermediate | 13312 |
| vocab | 160,000 (์์ฒด ํ์ต ํ ํฌ๋์ด์ ) |
| ์ปจํ ์คํธ | 4096 |
| dtype | bfloat16 |
| ๊ธฐํ | qk_norm, z-loss, partial RoPE(4๋ ์ด์ด๋ง๋ค ์๋ต) |
ํ์ต
- ํ๋ ์์ํฌ: nanotron
- ์ตํฐ๋ง์ด์ : ํ์ด๋ธ๋ฆฌ๋ Muon(2D ํ๋ ฌ) + AdamW(์๋ฒ ๋ฉ/norm)
- LR: WSD ์ค์ผ์ค, stable 2e-4 (์ด ์ฒดํฌํฌ์ธํธ๋ stable ๊ตฌ๊ฐ)
- global batch: 2.1M ํ ํฐ (512 ร 4096)
- ํ์ต๋: ์ฝ 175B ํ ํฐ
์ฌ์ฉ๋ฒ
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
m = "izlley2/LLM0to1-10b-step83000"
tok = AutoTokenizer.from_pretrained(m)
model = AutoModelForCausalLM.from_pretrained(m, dtype=torch.bfloat16, device_map="auto")
ids = tok("๋ํ๋ฏผ๊ตญ์ ์๋๋", return_tensors="pt").to(model.device)
print(tok.decode(model.generate(**ids, max_new_tokens=32)[0], skip_special_tokens=True))
์ด์ด์ ์ฌ์ ํ์ตํ๋ ค๋ฉด ์๋ณธ nanotron ์ฒดํฌํฌ์ธํธ(์ตํฐ๋ง์ด์ ์ํ ํฌํจ)๋ฅผ ์ฌ์ฉํ์ธ์: izlley2/LLM0to1-10b-step83000-nanotron
์ฃผ์
- ์์ ์ฑ ์ ๋ ฌ(alignment)์ด ๋์ด ์์ง ์์ต๋๋ค.
- ํ์ต ๋ฐ์ดํฐ์ ์ด์ฉ์ฝ๊ด์ด ์๋ ๊ตญ๋ด ์ฝํผ์ค๊ฐ ํฌํจ๋์ด ์์ด ์ฐ๊ตฌ ๋ชฉ์ ์ผ๋ก ์ ํํฉ๋๋ค. ์์ ์ ์ด์ฉ ์ ํ์ธ์ด ํ์ํฉ๋๋ค.
- Downloads last month
- 100