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-FineExperts-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-FineExperts-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-FineExperts-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-FineExperts-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-FineExperts-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-FineExperts-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-FineExperts-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-FineExperts-1.3B-A0.2B-Muon
- SGLang
How to use NaturalScale/LoopTitan-MoE12-FineExperts-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-FineExperts-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-FineExperts-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-FineExperts-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-FineExperts-1.3B-A0.2B-Muon", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use NaturalScale/LoopTitan-MoE12-FineExperts-1.3B-A0.2B-Muon with Docker Model Runner:
docker model run hf.co/NaturalScale/LoopTitan-MoE12-FineExperts-1.3B-A0.2B-Muon
File size: 1,018 Bytes
5087312 | 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 | {
"attention": "document_causal_block_local",
"batch_size": 4,
"batches": 611,
"bpb": 0.9751928937354344,
"bpb_unavailable": null,
"byte_table_sha256": "b504f8826a5ed6fc6a83ceb55c1c96f6c757ada30c6e38c46995ae2e5b74e17c",
"ce": 2.998979794521635,
"ce_sum": 29994287.41796875,
"ce_sum_text": 29979451.625968143,
"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.065055997535417,
"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
}
|