Text Generation
Transformers
Safetensors
English
bananamind2_pico
causal-lm
base-model
muon
xsa-refresh
custom-code
trust-remote-code
custom_code
Instructions to use Banaxi-Tech/pico-70 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Banaxi-Tech/pico-70 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Banaxi-Tech/pico-70", trust_remote_code=True)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("Banaxi-Tech/pico-70", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Banaxi-Tech/pico-70 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Banaxi-Tech/pico-70" # 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-70", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Banaxi-Tech/pico-70
- SGLang
How to use Banaxi-Tech/pico-70 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 "Banaxi-Tech/pico-70" \ --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-70", "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 "Banaxi-Tech/pico-70" \ --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-70", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Banaxi-Tech/pico-70 with Docker Model Runner:
docker model run hf.co/Banaxi-Tech/pico-70
metadata
language:
- en
library_name: transformers
pipeline_tag: text-generation
datasets:
- epfml/FineWeb-HQ
- HuggingFaceTB/smollm-corpus
tags:
- causal-lm
- base-model
- muon
- xsa-refresh
- custom-code
- trust-remote-code
BananaMind 2 Pico Test - 70%
This is the 70% checkpoint of a 900,002-parameter base causal language model. It is not instruction tuned.
Architecture
| 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.
Training
| Field | Value |
|---|---|
| Progress | 70% |
| Tokens seen | 140,003,770,368 |
| 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% |
Usage
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)