Text Generation
Transformers
Safetensors
English
moeloop
looptitan
mixture-of-experts
Mixture of Experts
custom_code
muon
conversational
Eval Results (legacy)
Instructions to use NaturalScale/LoopTitan-MoE12-1.3B-A0.2B-Muon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NaturalScale/LoopTitan-MoE12-1.3B-A0.2B-Muon with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="NaturalScale/LoopTitan-MoE12-1.3B-A0.2B-Muon", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("NaturalScale/LoopTitan-MoE12-1.3B-A0.2B-Muon", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use NaturalScale/LoopTitan-MoE12-1.3B-A0.2B-Muon with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "NaturalScale/LoopTitan-MoE12-1.3B-A0.2B-Muon" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NaturalScale/LoopTitan-MoE12-1.3B-A0.2B-Muon", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/NaturalScale/LoopTitan-MoE12-1.3B-A0.2B-Muon
- SGLang
How to use NaturalScale/LoopTitan-MoE12-1.3B-A0.2B-Muon 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 "NaturalScale/LoopTitan-MoE12-1.3B-A0.2B-Muon" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NaturalScale/LoopTitan-MoE12-1.3B-A0.2B-Muon", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "NaturalScale/LoopTitan-MoE12-1.3B-A0.2B-Muon" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NaturalScale/LoopTitan-MoE12-1.3B-A0.2B-Muon", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use NaturalScale/LoopTitan-MoE12-1.3B-A0.2B-Muon with Docker Model Runner:
docker model run hf.co/NaturalScale/LoopTitan-MoE12-1.3B-A0.2B-Muon
Download eval-validation.json from NaturalScale/LoopTitan-MoE12-1.3B-A0.2B-Muon: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/NaturalScale/LoopTitan-MoE12-1.3B-A0.2B-Muon/resolve/main/eval-validation.json
- Command line
-
hf download hf://NaturalScale/LoopTitan-MoE12-1.3B-A0.2B-Muon/eval-validation.json
-
curl -L -o eval-validation.json https://huggingface.co/NaturalScale/LoopTitan-MoE12-1.3B-A0.2B-Muon/resolve/main/eval-validation.json
1.02 kB
| { | |
| "attention": "document_causal_block_local", | |
| "batch_size": 4, | |
| "batches": 611, | |
| "bpb": 0.9761412550416644, | |
| "bpb_unavailable": null, | |
| "byte_table_sha256": "b504f8826a5ed6fc6a83ceb55c1c96f6c757ada30c6e38c46995ae2e5b74e17c", | |
| "ce": 3.0018891808615003, | |
| "ce_sum": 30023385.63671875, | |
| "ce_sum_text": 30008606.21895862, | |
| "complete_split": true, | |
| "input_tokens": 10001497, | |
| "label_bytes": 44351437, | |
| "label_contract": "already_aligned_document_internal_next_token", | |
| "manifest_fingerprint": "e67a956d2fe51dd1784505a6f58d7790f397a09624330700c0ebaffcd344f152", | |
| "max_batches": null, | |
| "num_visits": 1, | |
| "perplexity": 20.123518000401777, | |
| "seq_len": 4096, | |
| "source_counts": { | |
| "public": { | |
| "blocks": 2442, | |
| "documents": 8167, | |
| "input_tokens": 10001497, | |
| "label_tokens": 10001497 | |
| } | |
| }, | |
| "split": "validation", | |
| "tokenizer": { | |
| "id": "Qwen/Qwen3-30B-A3B", | |
| "revision": "ae659febe817e4b3ebd7355f47792725801204c9", | |
| "vocab_size": 151669 | |
| }, | |
| "valid_tokens": 10001497 | |
| } | |