Downloads · 30 days
3
5% of all-time downloads
anonymousML123/Llama-3.1-8B-Tulu10pct-DPO-MAHALS
Llama-3.1-8B-Tulu10pct-DPO-MAHALS is a text generation model from anonymousML123. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as llama3.1.
Direct Preference Optimization (DPO) model trained on 10% of the Tulu-3 preference mixture for the MAHALS research project.
Downloads · 30 days
3
5% of all-time downloads
All-time downloads
55
Public
Repo size
16.1 GB
Likes
0
Public
Click a slice to open those files.
.bin16.1 GB · 100%
From the Hugging Face model README
Direct Preference Optimization (DPO) model trained on 10% of the Tulu-3 preference mixture for the MAHALS research project.
| Attribute | Value |
|---|---|
| Base Model | anonymousML123/Llama-3.1-8B-Tulu10pct-SFT-MAHALS |
| Training Method | Direct Preference Optimization (DPO) |
| Dataset | allenai/llama-3.1-tulu-3-8b-preference-mixture (10%) |
| Framework | allenai/open-instruct |
| License | Llama 3.1 Community License |
meta-llama/Llama-3.1-8B
↓ SFT (10% Tulu-3 SFT mixture)
anonymousML123/Llama-3.1-8B-Tulu10pct-SFT-MAHALS
↓ DPO (10% Tulu-3 preference mixture)
anonymousML123/Llama-3.1-8B-Tulu10pct-DPO-MAHALS ← This model
| Precision | VRAM Required | Compatible GPUs |
|---|---|---|
| BF16/FP16 | ~20 GB | A100 40GB, RTX 4090/3090, A10 |
| INT8 | ~10 GB | T4, RTX 3080 |
| INT4 | ~6 GB | RTX 3060, consumer GPUs |
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "anonymousML123/Llama-3.1-8B-Tulu10pct-DPO-MAHALS"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto"
)
messages = [{"role": "user", "content": "What is machine learning?"}]
input_ids = tokenizer.apply_chat_template(messages, return_tensors="pt").to(model.device)
outputs = model.generate(input_ids, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
vllm serve anonymousML123/Llama-3.1-8B-Tulu10pct-DPO-MAHALS --max_model_len=2048
This model uses the Tulu chat template:
<|user|>
Your question here
<|assistant|>
Model response<|endoftext|>
| Parameter | Value |
|---|---|
| Learning Rate | 5e-7 |
| Effective Batch Size | 32 |
| Gradient Accumulation | 16 |
| Max Sequence Length | 2048 |
| Epochs | 1 |
| LR Schedule | Linear |
| Warmup Ratio | 0.1 |
| DPO Beta | 5 |
| DPO Loss Type | dpo_norm |
| Optimizer | AdamW |
| Precision | BF16 |
| Step | Loss | Notes |
|---|---|---|
| 1 | 0.693 | Initial (log(2)) |
| 103 | 0.634 | -8.6% |
| 197 | 0.521 | -25% |
| 844 | TBD | Final |
10% random sample from allenai/llama-3.1-tulu-3-8b-preference-mixture, which contains preference pairs for:
This model is intended for research on multi-agent alignment and preference learning. It is part of the MAHALS (Multi-Agent Hierarchical Alignment) research project.
@misc{mahals2026,
title={MAHALS: Multi-Agent Hierarchical Alignment},
author={Anonymous},
year={2026},
note={Under review}
}
Built using AllenAI's open-instruct framework.