Downloads · 30 days
8
11% of all-time downloads
EnergyAI/llama-3.1-8b-instruct-agrpo-nothink-lr3e-6
llama-3.1-8b-instruct-agrpo-nothink-lr3e-6 is a machine learning model from EnergyAI. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Llama-3.1-8B-Instruct fine-tuned with Async GRPO (no thinking, nothink mode)
Downloads · 30 days
8
11% of all-time downloads
All-time downloads
72
Public
Parameters
8B
16.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors16.1 GB · 100%
From the Hugging Face model README
Llama-3.1-8B-Instruct fine-tuned with Async GRPO (no thinking, nothink mode)
Fill-in-the-middle multiple-choice questions (MCQ) for energy domain verification.
The model outputs its answer inside \boxed{N} where N is the option number.
\boxed{N} matches ground truth)\boxed{N} exists but wrong answer)\boxed{} found)| Parameter | Value |
|---|---|
| base_model | meta-llama/Llama-3.1-8B-Instruct |
| algorithm | Async GRPO (TRL AsyncGRPOTrainer) |
| thinking | disabled (nothink) |
| learning_rate | 3e-6 |
| lr_scheduler | cosine |
| warmup_steps | 60 |
| max_steps | 2000 |
| global_step_saved | 2000 |
| per_device_train_batch_size | 1 |
| gradient_accumulation_steps | 32 |
| num_train_processes | 4 |
| effective_batch_size | 128 prompts/step |
| num_generations | 9 |
| max_completion_length | 512 |
| temperature | 1.0 |
| epsilon | 0.2 |
| epsilon_high | 0.2 |
| max_staleness | 4 |
| weight_sync_steps | 1 |
| max_grad_norm | 1.0 |
| precision | bf16 |
| parallelism | FSDP2 (4 GPUs training) + vLLM TP=4 (4 GPUs inference) |
| final_reward | ~0.58 |
| final_mean_completion_length | ~42 tokens |
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("EnergyAI/llama-3.1-8b-instruct-agrpo-nothink-lr3e-6", torch_dtype="auto")
tokenizer = AutoTokenizer.from_pretrained("EnergyAI/llama-3.1-8b-instruct-agrpo-nothink-lr3e-6")