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-Challenge and Combined ARC results
Browse files- README.md +6 -2
- release_manifest.json +15 -0
- reports/sft-v2-300k/arc_challenge_epoch3.json +14 -0
- reports/sft-v2-300k/arc_combined_epoch3.json +14 -0
README.md
CHANGED
|
@@ -44,14 +44,18 @@ and lowest held-out SFT loss across the three epochs.
|
|
| 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
|
| 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
|
| 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
|
|
|
|
| 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 |
+
| ARC-Challenge | test | 1,172 | **27.13%** | **29.01%** | MLX FP16 |
|
| 48 |
+
| **ARC Combined (micro)** | test | **3,548** | **47.29%** | **44.98%** | Derived from both ARC test splits |
|
| 49 |
| HellaSwag | validation | 10,042 | **33.21%** | **38.74%** | MLX FP16 |
|
| 50 |
|
| 51 |
+
All benchmark evaluations use zero-shot causal continuation log-likelihood, no
|
| 52 |
chat template and a maximum sequence length of 2,048. Accuracy selects the
|
| 53 |
choice with the highest total continuation log-likelihood; the normalized
|
| 54 |
metric selects by mean continuation log-likelihood per scored token. PIQA was
|
| 55 |
+
evaluated from the native epoch-3 checkpoint. ARC and HellaSwag were
|
| 56 |
evaluated from an FP16 MLX conversion of the same root F32 SafeTensors weights.
|
| 57 |
+
ARC Combined is the micro-average over all 3,548 ARC-Easy and ARC-Challenge
|
| 58 |
+
test examples, not the arithmetic mean of the two percentages.
|
| 59 |
Machine-readable reports are published under `reports/sft-v2-300k/`.
|
| 60 |
|
| 61 |
## Training recipe
|
release_manifest.json
CHANGED
|
@@ -1,6 +1,21 @@
|
|
| 1 |
{
|
| 2 |
"architecture": "tr_hash_moe",
|
| 3 |
"benchmarks": {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
"arc_easy": {
|
| 5 |
"acc": 0.5723905723905723,
|
| 6 |
"acc_norm": 0.5286195286195287,
|
|
|
|
| 1 |
{
|
| 2 |
"architecture": "tr_hash_moe",
|
| 3 |
"benchmarks": {
|
| 4 |
+
"arc_challenge": {
|
| 5 |
+
"acc": 0.2713310580204778,
|
| 6 |
+
"acc_norm": 0.2901023890784983,
|
| 7 |
+
"backend": "mlx-fp16",
|
| 8 |
+
"examples": 1172,
|
| 9 |
+
"split": "test"
|
| 10 |
+
},
|
| 11 |
+
"arc_combined": {
|
| 12 |
+
"acc": 0.4729425028184893,
|
| 13 |
+
"acc_norm": 0.44983089064261555,
|
| 14 |
+
"aggregation": "micro-average over ARC-Easy and ARC-Challenge",
|
| 15 |
+
"backend": "derived",
|
| 16 |
+
"examples": 3548,
|
| 17 |
+
"split": "test"
|
| 18 |
+
},
|
| 19 |
"arc_easy": {
|
| 20 |
"acc": 0.5723905723905723,
|
| 21 |
"acc_norm": 0.5286195286195287,
|
reports/sft-v2-300k/arc_challenge_epoch3.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"benchmark": "arc_challenge",
|
| 3 |
+
"split": "test",
|
| 4 |
+
"examples": 1172,
|
| 5 |
+
"correct": 318,
|
| 6 |
+
"correct_norm": 340,
|
| 7 |
+
"acc": 0.2713310580204778,
|
| 8 |
+
"acc_norm": 0.2901023890784983,
|
| 9 |
+
"backend": "mlx-fp16",
|
| 10 |
+
"zero_shot": true,
|
| 11 |
+
"chat_template_applied": false,
|
| 12 |
+
"max_length": 2048,
|
| 13 |
+
"scoring": "causal_choice_loglikelihood"
|
| 14 |
+
}
|
reports/sft-v2-300k/arc_combined_epoch3.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"benchmark": "arc_combined",
|
| 3 |
+
"split": "test",
|
| 4 |
+
"examples": 3548,
|
| 5 |
+
"correct": 1678,
|
| 6 |
+
"correct_norm": 1596,
|
| 7 |
+
"acc": 0.4729425028184893,
|
| 8 |
+
"acc_norm": 0.44983089064261555,
|
| 9 |
+
"aggregation": "micro-average over ARC-Easy and ARC-Challenge",
|
| 10 |
+
"zero_shot": true,
|
| 11 |
+
"chat_template_applied": false,
|
| 12 |
+
"max_length": 2048,
|
| 13 |
+
"scoring": "causal_choice_loglikelihood"
|
| 14 |
+
}
|