a-F1 commited on
Commit
bcf7a74
·
verified ·
1 Parent(s): 5a1cc18

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +38 -3
README.md CHANGED
@@ -1,3 +1,38 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ ---
4
+
5
+ # LLaMA-2-chat 7B fine tunes on TOFU (Origin Model)
6
+
7
+ ## Model Details
8
+
9
+ - **Base Model**: LLaMA-2-chat 7B
10
+ - **Training**: Fine-tuned on TOFU dataset
11
+
12
+ ## Loading the Model
13
+
14
+ ```python
15
+ import torch
16
+ from transformers import AutoModelForCausalLM, AutoTokenizer
17
+
18
+ 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)
19
+ ```
20
+
21
+ ## Citation
22
+
23
+ If you use this model in your research, please cite:
24
+ ```
25
+ @misc{fan2024simplicityprevailsrethinkingnegative,
26
+ title={Simplicity Prevails: Rethinking Negative Preference Optimization for LLM Unlearning},
27
+ author={Chongyu Fan and Jiancheng Liu and Licong Lin and Jinghan Jia and Ruiqi Zhang and Song Mei and Sijia Liu},
28
+ year={2024},
29
+ eprint={2410.07163},
30
+ archivePrefix={arXiv},
31
+ primaryClass={cs.CL},
32
+ url={https://arxiv.org/abs/2410.07163},
33
+ }
34
+ ```
35
+
36
+ ## Contact
37
+
38
+ For questions or issues regarding this model, please contact chongyu.fan93@gmail.com.