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-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Banaxi-Tech/pico-test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Banaxi-Tech/pico-test", trust_remote_code=True)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("Banaxi-Tech/pico-test", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Banaxi-Tech/pico-test with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Banaxi-Tech/pico-test" # 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-test", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Banaxi-Tech/pico-test
- SGLang
How to use Banaxi-Tech/pico-test 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-test" \ --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-test", "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-test" \ --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-test", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Banaxi-Tech/pico-test with Docker Model Runner:
docker model run hf.co/Banaxi-Tech/pico-test
File size: 1,639 Bytes
4c8a7d2 53b99a0 4c8a7d2 53b99a0 4c8a7d2 5fa6920 4c8a7d2 5fa6920 53b99a0 5fa6920 53b99a0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | ---
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 - 90%
This is the **90% 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 | 90% |
| Tokens seen | 180,004,847,616 |
| 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
```python
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)
```
|