Text Generation
Transformers
Safetensors
PyTorch
English
llama
llama-3
DAT
robust
adversarial
conversational
text-generation-inference

Run this model with HF Jobs

Run ASSELab/Diffusion-Llama-3-8B-Instruct on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/ASSELab/Diffusion-Llama-3-8B-Instruct. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/ASSELab/Diffusion-Llama-3-8B-Instruct on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/ASSELab/Diffusion-Llama-3-8B-Instruct. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/ASSELab/Diffusion-Llama-3-8B-Instruct. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
How to use from
Docker Model Runner
docker model run hf.co/ASSELab/Diffusion-Llama-3-8B-Instruct
Quick Links

DAT - Distributional Adversarial Training

arXiv GitHub

DAT utilizes continuous adversarial training on diffusion-based adversarial examples to close the gap between empirical and population-robust risk. We fine-tune meta-llama/Meta-Llama-3-8B-Instruct.

This model is NOT using adversarial training! This is an ablation/baseline using just the diffusion data to fine-tune.

For further information, consult our paper https://arxiv.org/abs/2602.15238 or repository https://github.com/ASSELab/DAT

Citation

@misc{hu2026closingdistributiongapadversarial,
      title={Closing the Distribution Gap in Adversarial Training for LLMs}, 
      author={Chengzhi Hu and Jonas Dornbusch and David Lüdke and Stephan Günnemann and Leo Schwinn},
      year={2026},
      eprint={2602.15238},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2602.15238}, 
}
Downloads last month
14
Safetensors
Model size
8B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ASSELab/Diffusion-Llama-3-8B-Instruct

Finetuned
(1,224)
this model
Quantizations
2 models

Datasets used to train ASSELab/Diffusion-Llama-3-8B-Instruct

Collection including ASSELab/Diffusion-Llama-3-8B-Instruct

Papers for ASSELab/Diffusion-Llama-3-8B-Instruct