Views
No views yet
| Field | Value |
|---|---|
| Base model | meta-llama/Meta-Llama-3.1-8B-Instruct |
| Method | NS-DPO |
| Regime | adversarial_ns_dpo |
| Round | 2 |
| lr | 5e-7 |
| Continued from | Round 1 QLoRA checkpoint |
| Final reward accuracy | nan |
| LoRA rank | 16 |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2from peft import PeftModel
3
4base = AutoModelForCausalLM.from_pretrained(
5 "meta-llama/Meta-Llama-3.1-8B-Instruct",
6 torch_dtype="bfloat16", device_map="auto"
7)
8model = PeftModel.from_pretrained(base, "basab1142/hawkes-nsgo-llama3-ns-dpo-r2")
9tokenizer = AutoTokenizer.from_pretrained("meta-llama/Meta-Llama-3.1-8B-Instruct")