Downloads · 30 days
10
16% of all-time downloads
xzybit/llama3.1-8b-ts2
llama3.1-8b-ts2 is a text generation model from xzybit. Use it when you need the model to write or continue text. The card lists the license as llama3.1.
This model is a Supervised Fine-Tuned (SFT) variant of LLaMA-3.1-8B trained with a new objective on the UltraFeedback dataset.
Downloads · 30 days
10
16% of all-time downloads
All-time downloads
62
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
This model is a Supervised Fine-Tuned (SFT) variant of LLaMA-3.1-8B trained with a new objective on the UltraFeedback dataset.
It is designed to improve alignment stability and mitigate token-level probability collapse during fine-tuning by incorporating entropy-aware adaptive weighting into the training objective.
More details could check our paper ICLR 2026 "TS^2: Training with Sparsemax+, Testing with Softmax for Accurate and Diverse LLM Fine-Tuning"
meta-llama/Llama-3.1-8BInstead of applying uniform likelihood maximization across all tokens (as in standard SFT), this model introduces an adaptive weighting mechanism that dynamically adjusts training emphasis based on the predictive entropy of the model.
This approach is inspired by recent observations in preference alignment that overconfident likelihood training may lead to:
You can load the model with the HuggingFace Transformers library:
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained(
"xzybit/llama3.1-8b-ts2"
)
model = AutoModelForCausalLM.from_pretrained(
"xzybit/llama3.1-8b-ts2",
device_map="auto"
)