Skip to content

Commit

Permalink
Smaller config for now, fixing a few requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
jakep-allenai committed Sep 23, 2024
1 parent 256d77c commit b915e7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pdelfin/train/config/qwen2vl-2b.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ valid_data:

# Mostly pulled from https://github.com/QwenLM/Qwen2/blob/main/examples/sft/finetune.sh
hparams:
batch_size: 2
eval_batch_size: 2
batch_size: 1
eval_batch_size: 1
gradient_accumulation_steps: 4
gradient_checkpointing: true
clip_grad_norm: 1.0
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ dependencies = [
"pypdf",
"pymupdf",
"pypdfium2",
"lingua-language-detector"
"lingua-language-detector",
"Pillow",
]
license = {file = "LICENSE"}

Expand Down

0 comments on commit b915e7d

Please sign in to comment.