Text Generation
Transformers
Safetensors
PyTorch
English
modern_dense_mha_gated_ffn_router
custom_code
causal-lm
small-language-model
babylm
strict-small
swiglu
research
Instructions to use AwakeningOS/VISTA-24M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AwakeningOS/VISTA-24M with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="AwakeningOS/VISTA-24M", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("AwakeningOS/VISTA-24M", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use AwakeningOS/VISTA-24M with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AwakeningOS/VISTA-24M" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AwakeningOS/VISTA-24M", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/AwakeningOS/VISTA-24M
- SGLang
How to use AwakeningOS/VISTA-24M 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 "AwakeningOS/VISTA-24M" \ --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": "AwakeningOS/VISTA-24M", "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 "AwakeningOS/VISTA-24M" \ --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": "AwakeningOS/VISTA-24M", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use AwakeningOS/VISTA-24M with Docker Model Runner:
docker model run hf.co/AwakeningOS/VISTA-24M
File size: 3,042 Bytes
9287d39 | 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 | # Evaluation files and interpretation
Official evaluator: https://github.com/babylm-org/babylm-eval
Recorded revision: `6f825c291e2c4c78ad33b1935fd64d45f52642dc`.
## Files
| File or folder | Scope |
|---|---|
| `evaluation/final_scores.json` | Selected 80M raw model, downstream scores, AoA trajectory, aggregate formulas' results and snapshot-comparison record |
| `evaluation/checkpoints/010M.json` … `100M.json` | Full zero-shot results; checkpoint/freeze identities and sample counts |
| `evaluation/learning_curve.csv` | Same checkpoint results in a tabular form |
| `evaluation/predictions/zero_shot/` | Official-format predictions for the selected 80M model, including Reading |
| `evaluation/predictions/finetune/` | Official-format predictions from seven task-specific fine-tuning runs |
| `evaluation/aoa_surprisal_no_context.json` | All 152,095 numerical records (19 checkpoints × 8,005 contexts); context text omitted |
| `evaluation/aoa_score.json` | Raw correlation from the official AoA scoring implementation |
`NLP = mean(BLiMP, Supplement, EWoK, Entity, COMPS, mean(PIQA_parallel, PIQA_nonparallel), SuperGLUE)`.
`human_like = mean(Reading, 100 * AoA_correlation)`.
`overall = (7 * NLP + 2 * human_like) / 9`.
The learning-curve chart omits SuperGLUE, Reading and AoA and averages the six zero-shot categories only. Global PIQA contributes once. Its parallel and nonparallel splits receive equal weight. Reading uses the mean of the evaluator's eye-tracking and self-paced reading scores. AoA is a correlation, not MSE or accuracy.
The score summaries retain the evaluator's reported precision. Public-table comparison uses the saved 2026-09-15 snapshot and does not constitute an official placement. Final scores and all release claims refer to the raw 80M model; task fine-tuning is a separate operation.
## Re-running
Use the pinned official repository and its data download instructions. The model backend is `causal`; the track is `strict-small`. Load `AwakeningOS/VISTA-24M`, with `trust_remote_code=True`, and use the supplied tokenizer. The standard intermediate names are available as Hub branches. Use the official launchers for full zero-shot scoring, Reading, AoA and fine-tuning. The original local AoA run modified only checkpoint resolution to read local folders; the released branches allow standard Hub resolution.
Original score-producing inference used BF16 on CUDA with the FlashAttention backend. To select that backend, load `AutoConfig`, set `config.dense_config['backend']='flash'`, then pass that config to `from_pretrained`; install a compatible FlashAttention build. The SDPA default is convenient for CPU and general use. Kernel/dtype changes can affect borderline preferences, so report those conditions with any rerun.
Fast evaluations for the early 1–9M checkpoints and a submission-ready collated file are outside this package. The public checkpoint series makes those further evaluations possible. No benchmark is started by importing the model or opening this repository.
|