epfml/FineWeb-HQ
Viewer • Updated • 2.45B • 63.3k • 9
How to use Banaxi-Tech/pico-30 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="Banaxi-Tech/pico-30", trust_remote_code=True) # Load model directly
from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("Banaxi-Tech/pico-30", trust_remote_code=True, device_map="auto")How to use Banaxi-Tech/pico-30 with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "Banaxi-Tech/pico-30"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "Banaxi-Tech/pico-30",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/Banaxi-Tech/pico-30
How to use Banaxi-Tech/pico-30 with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "Banaxi-Tech/pico-30" \
--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": "Banaxi-Tech/pico-30",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'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 "Banaxi-Tech/pico-30" \
--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": "Banaxi-Tech/pico-30",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use Banaxi-Tech/pico-30 with Docker Model Runner:
docker model run hf.co/Banaxi-Tech/pico-30
This is the 30% checkpoint of a 900,002-parameter base causal language model. It is not instruction tuned.
| Field | Value |
|---|---|
| Parameters | 900,002 |
| Layers / hidden size | 6 / 96 |
| SwiGLU intermediate size | 380 |
| Query / KV heads | 6 / 2 |
| Head dimension | 16 |
| Context | 4,096 |
| Vocabulary | 384, tied |
| Refresh layers | 4 and 6 |
| Refresh kernel | Causal depthwise, width 9 |
The selective XSA refresh gate reads detached attention output as its signal, reinjects the original input embedding as its value, and carries convolution history alongside the K/V cache. Its learned residual scalar starts at zero.
| Field | Value |
|---|---|
| Progress | 30% |
| Tokens seen | 60,001,615,872 |
| Target tokens | 200,000,000,000 |
| Hardware | 4 x NVIDIA H200 |
| Matrix optimizer | Stock torch.optim.Muon |
| Muon peak LR | 0.07 |
| Embedding/control optimizer | AdamW, LR 0.004 |
| Precision | bfloat16 autocast |
| Token range | FineWeb-HQ | Cosmopedia v2 |
|---|---|---|
| 0.00B-100.00B | 80% | 20% |
| 100.00B-200.00B | 60% | 40% |
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "Banaxi-Tech/pico-test"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(model_id, trust_remote_code=True)