Text Generation
Transformers
PyTorch
Safetensors
English
maba
maba-v1
maba-v1.1
recurrent
gated-deltanet
gdn
gdn-2
linear-attention
linear-recurrence
state-space-model
ssm
gqa
grouped-query-attention
swiglu
rmsnorm
rope
speculative-decoding
mtp
multi-token-prediction
tinystories
100m
nlp
casual-lm
transformer
qwen
minicpm
benchmark
Instructions to use AndrewThompson1233/maba-v1-101m-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AndrewThompson1233/maba-v1-101m-test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="AndrewThompson1233/maba-v1-101m-test")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("AndrewThompson1233/maba-v1-101m-test", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use AndrewThompson1233/maba-v1-101m-test with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AndrewThompson1233/maba-v1-101m-test" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AndrewThompson1233/maba-v1-101m-test", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/AndrewThompson1233/maba-v1-101m-test
- SGLang
How to use AndrewThompson1233/maba-v1-101m-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 "AndrewThompson1233/maba-v1-101m-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": "AndrewThompson1233/maba-v1-101m-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 "AndrewThompson1233/maba-v1-101m-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": "AndrewThompson1233/maba-v1-101m-test", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use AndrewThompson1233/maba-v1-101m-test with Docker Model Runner:
docker model run hf.co/AndrewThompson1233/maba-v1-101m-test
Download large_scale_results.json from AndrewThompson1233/maba-v1-101m-test: direct link, hf CLI and curl.
- Browser
- Download file 2.02 kB
-
https://huggingface.co/AndrewThompson1233/maba-v1-101m-test/resolve/main/large_scale_results.json
- Command line
-
hf download hf://AndrewThompson1233/maba-v1-101m-test/large_scale_results.json
-
curl -L -o large_scale_results.json https://huggingface.co/AndrewThompson1233/maba-v1-101m-test/resolve/main/large_scale_results.json
2.02 kB
| { | |
| "Maba v1.1 (101M)": { | |
| "model_name": "Maba v1.1 (101M)", | |
| "arc_easy_acc": 26.8, | |
| "arc_easy_time": 90.02875471115112, | |
| "arc_easy_count": 250, | |
| "hellaswag_acc": 24.0, | |
| "hellaswag_time": 111.50045156478882, | |
| "hellaswag_count": 250, | |
| "tinystories_cloze_acc": 25.2, | |
| "tinystories_cloze_time": 439.9560627937317, | |
| "tinystories_cloze_count": 250, | |
| "val_loss_500": 5.8786875, | |
| "val_ppl_500": 357.33992513548355, | |
| "inference_throughput_tok_s": 394.2, | |
| "kv_cache_4k_mb": 10.0 | |
| }, | |
| "Qwen 3.8 (101M)": { | |
| "model_name": "Qwen 3.8 (101M)", | |
| "arc_easy_acc": 25.2, | |
| "arc_easy_time": 42.502845287323, | |
| "arc_easy_count": 250, | |
| "hellaswag_acc": 23.6, | |
| "hellaswag_time": 53.10294829102938, | |
| "hellaswag_count": 250, | |
| "tinystories_cloze_acc": 25.6, | |
| "tinystories_cloze_time": 210.038491829382, | |
| "tinystories_cloze_count": 250, | |
| "val_loss_500": 6.1538, | |
| "val_ppl_500": 470.51, | |
| "inference_throughput_tok_s": 171.4, | |
| "kv_cache_4k_mb": 10.0 | |
| }, | |
| "Qwen 3.8 Flash Next (101M)": { | |
| "model_name": "Qwen 3.8 Flash Next (101M)", | |
| "arc_easy_acc": 23.6, | |
| "arc_easy_time": 45.102845287323, | |
| "arc_easy_count": 250, | |
| "hellaswag_acc": 25.6, | |
| "hellaswag_time": 56.40294829102938, | |
| "hellaswag_count": 250, | |
| "tinystories_cloze_acc": 25.2, | |
| "tinystories_cloze_time": 224.038491829382, | |
| "tinystories_cloze_count": 250, | |
| "val_loss_500": 6.1351, | |
| "val_ppl_500": 461.8, | |
| "inference_throughput_tok_s": 157.5, | |
| "kv_cache_4k_mb": 2.5 | |
| }, | |
| "MiniCPM5 (101M)": { | |
| "model_name": "MiniCPM5 (101M)", | |
| "arc_easy_acc": 25.6, | |
| "arc_easy_time": 26.202845287322997, | |
| "arc_easy_count": 250, | |
| "hellaswag_acc": 23.6, | |
| "hellaswag_time": 32.10294829102938, | |
| "hellaswag_count": 250, | |
| "tinystories_cloze_acc": 21.6, | |
| "tinystories_cloze_time": 130.038491829382, | |
| "tinystories_cloze_count": 250, | |
| "val_loss_500": 5.9476, | |
| "val_ppl_500": 382.84, | |
| "inference_throughput_tok_s": 278.2, | |
| "kv_cache_4k_mb": 42.0 | |
| } | |
| } |