Smaller config for now, fixing a few requirements

This commit is contained in:
Jake Poznanski 2024-09-23 08:20:08 -07:00
parent 256d77c232
commit b915e7de00
2 changed files with 4 additions and 3 deletions

View File

@ -87,8 +87,8 @@ valid_data:
# Mostly pulled from https://github.com/QwenLM/Qwen2/blob/main/examples/sft/finetune.sh # Mostly pulled from https://github.com/QwenLM/Qwen2/blob/main/examples/sft/finetune.sh
hparams: hparams:
batch_size: 2 batch_size: 1
eval_batch_size: 2 eval_batch_size: 1
gradient_accumulation_steps: 4 gradient_accumulation_steps: 4
gradient_checkpointing: true gradient_checkpointing: true
clip_grad_norm: 1.0 clip_grad_norm: 1.0

View File

@ -24,7 +24,8 @@ dependencies = [
"pypdf", "pypdf",
"pymupdf", "pymupdf",
"pypdfium2", "pypdfium2",
"lingua-language-detector" "lingua-language-detector",
"Pillow",
] ]
license = {file = "LICENSE"} license = {file = "LICENSE"}