Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions train_arabic_r8_hf.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
RUN = f"run-024-arabic-r8-{MIX}"
WINDOW = 600
GOLD_CAP = 400_000
PSEUDO_CAP = 200_000
PSEUDO_CAP = int(os.environ.get("R8_PSEUDO_CAP", "200_000"))
MICRO_BS = 16
GRAD_ACCUM = 2
EPOCHS = 1
LR = 5e-5
LR = float(os.environ.get("R8_LR", "5e-5"))
WARMUP = 500

DIACRITICS_RE = re.compile("[ؐ-ًؚ-ٰٟۖ-ۜ۟-۪ۨ-ۭ]")
Expand Down
Loading