Text Generation
Transformers
Safetensors
English
moeloop
looptitan
mixture-of-experts
Mixture of Experts
looped-moe
looped-transformer
looped-language-model
recurrent-depth
weight-sharing
custom_code
muon
conversational
Eval Results (legacy)
Instructions to use NaturalScale/LoopTitan-Looped-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-Looped-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-Looped-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-Looped-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-Looped-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-Looped-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-Looped-1.3B-A0.2B-Muon", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/NaturalScale/LoopTitan-Looped-1.3B-A0.2B-Muon
- SGLang
How to use NaturalScale/LoopTitan-Looped-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-Looped-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-Looped-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-Looped-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-Looped-1.3B-A0.2B-Muon", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use NaturalScale/LoopTitan-Looped-1.3B-A0.2B-Muon with Docker Model Runner:
docker model run hf.co/NaturalScale/LoopTitan-Looped-1.3B-A0.2B-Muon
Download release_provenance.json from NaturalScale/LoopTitan-Looped-1.3B-A0.2B-Muon: direct link, hf CLI and curl.
- Browser
- Download file 1.29 kB
-
https://huggingface.co/NaturalScale/LoopTitan-Looped-1.3B-A0.2B-Muon/resolve/main/release_provenance.json
- Command line
-
hf download hf://NaturalScale/LoopTitan-Looped-1.3B-A0.2B-Muon/release_provenance.json
-
curl -L -o release_provenance.json https://huggingface.co/NaturalScale/LoopTitan-Looped-1.3B-A0.2B-Muon/resolve/main/release_provenance.json
1.29 kB
| { | |
| "conversion": "Original HF tensors serialized as a model-only torch bridge, strictly loaded and saved by the unchanged release export_checkpoint.", | |
| "driver_sha256": "3238da706a44295ebdc8f4024de6e68d9c95e52e3450829acab1cecba7c7ce52", | |
| "format": "looptitan-hf-repackage", | |
| "original_checkpoint_metadata": { | |
| "format": "dcp", | |
| "key_layout": "native_grouped", | |
| "metadata_sha256": "90fd3681afd250dad00745666e8a739df07d190debd8797ac5e523510dbe6371", | |
| "name": "step-4769" | |
| }, | |
| "original_export_code_commit": "63a0953cc1ed6b9401018907a6d78d79cef07439", | |
| "original_export_provenance_sha256": "18b295ce5c8daeeb819ff9a00862ebbfdb804fc0fd6a42561478371c5860f45d", | |
| "original_mlflow_run_id": "b3aab2805fbd44b29e84494f5c1dec1b", | |
| "original_training_code_commit": "63a0953cc1ed6b9401018907a6d78d79cef07439", | |
| "original_weight_sha256": { | |
| "model.safetensors": "4b59f04fdd0d10ac4463f4307e8dcae0544b12d5923d109d3a8dec8ed34f20a7" | |
| }, | |
| "recipe": "recipes/phase1/m3-muon.json", | |
| "release_commit": "49e0148bc2703af29d3abace9ee6ca8b69f5a5d6", | |
| "release_repository": "https://github.com/datamllab/LoopTitan", | |
| "version": 1, | |
| "weight_bits_unchanged": true, | |
| "weight_source": "Existing HF export from the original training run; no DCP checkpoint was read for this repackaging." | |
| } | |