mirror of
https://github.com/marvinscham/masterthesis-playground.git
synced 2026-03-22 00:12:42 +01:00
RAFT attempts and fixes
This commit is contained in:
@@ -29,8 +29,9 @@ from peft import PeftModel
|
||||
from transformers import AutoModelForCausalLM
|
||||
|
||||
# Paths
|
||||
DATA_JSONL = Path("./outputs/raft_dataset.jsonl") # change if different
|
||||
RUN_NAME = "raft_qlora_tourist_0.2"
|
||||
# DATA_JSONL = Path("./outputs/raft_dataset.jsonl") # change if different
|
||||
DATA_JSONL = Path("../raft/bali_culture_raft_dataset.jsonl")
|
||||
RUN_NAME = "raft_qlora_tourist"
|
||||
OUTPUT_DIR = Path(f"./finetuned/{RUN_NAME}")
|
||||
OUTPUT_DIR.mkdir(parents=True, exist_ok=True)
|
||||
ADAPTER_DIR = OUTPUT_DIR / "lora_adapter"
|
||||
|
||||
Reference in New Issue
Block a user