mirror of
https://github.com/allenai/olmocr.git
synced 2025-09-02 05:14:44 +00:00
Script adjustment
This commit is contained in:
parent
79feb986a6
commit
a30ca16e1f
@ -62,19 +62,20 @@ hparams:
|
||||
warmup_ratio: 0.03
|
||||
|
||||
# From https://github.com/QwenLM/Qwen2/blob/main/examples/sft/finetune.py
|
||||
lora:
|
||||
rank: 32
|
||||
alpha: 32
|
||||
dropout: 0.05
|
||||
task_type: causal_lm
|
||||
target_modules:
|
||||
- q_proj
|
||||
- k_proj
|
||||
- v_proj
|
||||
- o_proj
|
||||
- gate_proj
|
||||
- up_proj
|
||||
- down_proj
|
||||
# Disable LORA for now, because we want the visual network to get trained too
|
||||
# lora:
|
||||
# rank: 32
|
||||
# alpha: 32
|
||||
# dropout: 0.05
|
||||
# task_type: causal_lm
|
||||
# target_modules:
|
||||
# - q_proj
|
||||
# - k_proj
|
||||
# - v_proj
|
||||
# - o_proj
|
||||
# - gate_proj
|
||||
# - up_proj
|
||||
# - down_proj
|
||||
|
||||
save:
|
||||
path: s3://ai2-oe-data/jakep/experiments/qwen2vl-pdf/v1/models/
|
||||
|
@ -29,8 +29,8 @@ gantry run \
|
||||
--workspace ai2/oe-data-pdf \
|
||||
--beaker-image 'lucas/refine-axelot-vllm' \
|
||||
--venv 'base' \
|
||||
--priority high \
|
||||
--gpus 8 \
|
||||
--priority normal \
|
||||
--gpus 4 \
|
||||
--preemptible \
|
||||
--cluster "ai2/${CLUSTER}*" \
|
||||
--budget ai2/oe-data \
|
||||
|
Loading…
x
Reference in New Issue
Block a user