Downloads · 30 days
161
2% of all-time downloads
OPTML-Group/TOFU-origin-Llama-2-7b-chat
TOFU-origin-Llama-2-7b-chat is a text generation model from OPTML-Group. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
- Training: - Task: 🤗datasets/locuslab/TOFU - Method: Fine tune - Base Model: 🤗NousResearch/Llama-2-7b-chat-hf - Code Base: github.com/OPTML-Group/Unlearn-Simple
Downloads · 30 days
161
2% of all-time downloads
All-time downloads
6.9K
Public
Parameters
6.7B
13.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors13.5 GB · 100%
From the Hugging Face model README
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("OPTML-Group/TOFU-origin-Llama-2-7b-chat", use_flash_attention_2=True, torch_dtype=torch.bfloat16, trust_remote_code=True)
If you use this model in your research, please cite:
@article{fan2024simplicity,
title={Simplicity Prevails: Rethinking Negative Preference Optimization for LLM Unlearning},
author={Fan, Chongyu and Liu, Jiancheng and Lin, Licong and Jia, Jinghan and Zhang, Ruiqi and Mei, Song and Liu, Sijia},
journal={arXiv preprint arXiv:2410.07163},
year={2024}
}
Reporting issues with the model: github.com/OPTML-Group/Unlearn-Simple