Text Generation
Transformers
Safetensors
PyTorch
English
French
tr_hash_moe
tr-hash
mixture-of-experts
gqa
supervised-finetuning
full-parameter-finetuning
custom-code
conversational
custom_code
Instructions to use AETHORIA-AI/TR-HASH-MoE-200M-160B-SFT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AETHORIA-AI/TR-HASH-MoE-200M-160B-SFT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="AETHORIA-AI/TR-HASH-MoE-200M-160B-SFT", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("AETHORIA-AI/TR-HASH-MoE-200M-160B-SFT", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use AETHORIA-AI/TR-HASH-MoE-200M-160B-SFT with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AETHORIA-AI/TR-HASH-MoE-200M-160B-SFT" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AETHORIA-AI/TR-HASH-MoE-200M-160B-SFT", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/AETHORIA-AI/TR-HASH-MoE-200M-160B-SFT
- SGLang
How to use AETHORIA-AI/TR-HASH-MoE-200M-160B-SFT 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 "AETHORIA-AI/TR-HASH-MoE-200M-160B-SFT" \ --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": "AETHORIA-AI/TR-HASH-MoE-200M-160B-SFT", "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 "AETHORIA-AI/TR-HASH-MoE-200M-160B-SFT" \ --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": "AETHORIA-AI/TR-HASH-MoE-200M-160B-SFT", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use AETHORIA-AI/TR-HASH-MoE-200M-160B-SFT with Docker Model Runner:
docker model run hf.co/AETHORIA-AI/TR-HASH-MoE-200M-160B-SFT
Add ARC-Easy and HellaSwag benchmark results
Browse filesPublish the full epoch-3 zero-shot benchmark panel alongside PIQA, with machine-readable MLX FP16 reports.
- README.md +15 -4
- release_manifest.json +24 -0
- reports/sft-v2-300k/arc_easy_epoch3.json +20 -0
- reports/sft-v2-300k/hellaswag_epoch3.json +20 -0
README.md
CHANGED
|
@@ -38,10 +38,21 @@ and lowest held-out SFT loss across the three epochs.
|
|
| 38 |
| 2 | 3,988 | 0.963912 | 2.62 | 67.85% | 68.82% |
|
| 39 |
| 3 | 5,982 | 0.959617 | 2.61 | 68.01% | 69.10% |
|
| 40 |
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
## Training recipe
|
| 47 |
|
|
|
|
| 38 |
| 2 | 3,988 | 0.963912 | 2.62 | 67.85% | 68.82% |
|
| 39 |
| 3 | 5,982 | 0.959617 | 2.61 | 68.01% | 69.10% |
|
| 40 |
|
| 41 |
+
### Released checkpoint benchmark panel
|
| 42 |
+
|
| 43 |
+
| Benchmark | Split | Examples | Accuracy | Accuracy (length-normalized) | Evaluation backend |
|
| 44 |
+
|---|---|---:|---:|---:|---|
|
| 45 |
+
| PIQA | validation | 1,838 | **68.01%** | **69.10%** | PyTorch FP16, custom Triton |
|
| 46 |
+
| ARC-Easy | test | 2,376 | **57.24%** | **52.86%** | MLX FP16 |
|
| 47 |
+
| HellaSwag | validation | 10,042 | **33.21%** | **38.74%** | MLX FP16 |
|
| 48 |
+
|
| 49 |
+
All three benchmarks use zero-shot causal continuation log-likelihood, no
|
| 50 |
+
chat template and a maximum sequence length of 2,048. Accuracy selects the
|
| 51 |
+
choice with the highest total continuation log-likelihood; the normalized
|
| 52 |
+
metric selects by mean continuation log-likelihood per scored token. PIQA was
|
| 53 |
+
evaluated from the native epoch-3 checkpoint. ARC-Easy and HellaSwag were
|
| 54 |
+
evaluated from an FP16 MLX conversion of the same root F32 SafeTensors weights.
|
| 55 |
+
Machine-readable reports are published under `reports/sft-v2-300k/`.
|
| 56 |
|
| 57 |
## Training recipe
|
| 58 |
|
release_manifest.json
CHANGED
|
@@ -1,5 +1,29 @@
|
|
| 1 |
{
|
| 2 |
"architecture": "tr_hash_moe",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
"behavior_gate_passed": false,
|
| 4 |
"dataset": "AETHORIA-AI/TR-HASH-MoE-200M-SFT-v2-300K",
|
| 5 |
"dataset_revision": "084a658ec47e4ee872f6d67fdbad3602f599424b",
|
|
|
|
| 1 |
{
|
| 2 |
"architecture": "tr_hash_moe",
|
| 3 |
+
"benchmarks": {
|
| 4 |
+
"arc_easy": {
|
| 5 |
+
"acc": 0.5723905723905723,
|
| 6 |
+
"acc_norm": 0.5286195286195287,
|
| 7 |
+
"backend": "mlx-fp16",
|
| 8 |
+
"examples": 2376,
|
| 9 |
+
"split": "test"
|
| 10 |
+
},
|
| 11 |
+
"hellaswag": {
|
| 12 |
+
"acc": 0.33210515833499304,
|
| 13 |
+
"acc_norm": 0.3873730332603067,
|
| 14 |
+
"backend": "mlx-fp16",
|
| 15 |
+
"examples": 10042,
|
| 16 |
+
"split": "validation"
|
| 17 |
+
},
|
| 18 |
+
"piqa": {
|
| 19 |
+
"acc": 0.6800870511425462,
|
| 20 |
+
"acc_norm": 0.690968443960827,
|
| 21 |
+
"backend": "pytorch-fp16-custom-triton",
|
| 22 |
+
"examples": 1838,
|
| 23 |
+
"split": "validation"
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
"benchmark_protocol": "zero-shot causal choice log-likelihood; no chat template; max_length=2048",
|
| 27 |
"behavior_gate_passed": false,
|
| 28 |
"dataset": "AETHORIA-AI/TR-HASH-MoE-200M-SFT-v2-300K",
|
| 29 |
"dataset_revision": "084a658ec47e4ee872f6d67fdbad3602f599424b",
|
reports/sft-v2-300k/arc_easy_epoch3.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "mlx",
|
| 3 |
+
"benchmark": "arc_easy",
|
| 4 |
+
"chat_template_applied": false,
|
| 5 |
+
"checkpoint_epoch": 3,
|
| 6 |
+
"checkpoint_step": 5982,
|
| 7 |
+
"dtype": "float16",
|
| 8 |
+
"max_length": 2048,
|
| 9 |
+
"model": "AETHORIA-AI/TR-HASH-MoE-200M-160B-SFT",
|
| 10 |
+
"results": {
|
| 11 |
+
"acc": 0.5723905723905723,
|
| 12 |
+
"acc_norm": 0.5286195286195287,
|
| 13 |
+
"correct": 1360,
|
| 14 |
+
"correct_norm": 1256,
|
| 15 |
+
"examples": 2376
|
| 16 |
+
},
|
| 17 |
+
"scoring": "causal_choice_loglikelihood",
|
| 18 |
+
"split": "test",
|
| 19 |
+
"zero_shot": true
|
| 20 |
+
}
|
reports/sft-v2-300k/hellaswag_epoch3.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "mlx",
|
| 3 |
+
"benchmark": "hellaswag",
|
| 4 |
+
"chat_template_applied": false,
|
| 5 |
+
"checkpoint_epoch": 3,
|
| 6 |
+
"checkpoint_step": 5982,
|
| 7 |
+
"dtype": "float16",
|
| 8 |
+
"max_length": 2048,
|
| 9 |
+
"model": "AETHORIA-AI/TR-HASH-MoE-200M-160B-SFT",
|
| 10 |
+
"results": {
|
| 11 |
+
"acc": 0.33210515833499304,
|
| 12 |
+
"acc_norm": 0.3873730332603067,
|
| 13 |
+
"correct": 3335,
|
| 14 |
+
"correct_norm": 3890,
|
| 15 |
+
"examples": 10042
|
| 16 |
+
},
|
| 17 |
+
"scoring": "causal_choice_loglikelihood",
|
| 18 |
+
"split": "validation",
|
| 19 |
+
"zero_shot": true
|
| 20 |
+
}
|