kcz358 commited on
Commit
e9a5cdf
·
verified ·
1 Parent(s): e873d06

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +21 -2
README.md CHANGED
@@ -44,10 +44,29 @@ configs:
44
  [![Project Page](https://img.shields.io/badge/Website-000000?style=for-the-badge&logo=google-chrome&logoColor=white)]()
45
  </div>
46
 
47
- Here are the RL Data used to train **[OpenMMReasoner-RL](https://huggingface.co/OpenMMReasoner/OpenMMReasoner-RL)**. We use **[lmms-engine](https://github.com/EvolvingLMMs-Lab/lmms-engine)** as the training framework.
48
 
49
- To use this dataset, first snapshot-download the entire repository to your local machine. Then you can use the example script in the GitHub repository with your local data folder to use the parquet file.
50
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
 
52
 
53
 
 
44
  [![Project Page](https://img.shields.io/badge/Website-000000?style=for-the-badge&logo=google-chrome&logoColor=white)]()
45
  </div>
46
 
47
+ Here are the RL Data used to train **[OpenMMReasoner-RL](https://huggingface.co/OpenMMReasoner/OpenMMReasoner-RL)**. We use **[verl](https://github.com/volcengine/verl)** as the training framework.
48
 
49
+ To use this dataset, first snapshot-download the entire repository to your local machine. After that, you can load the dataset using the example script provided in our GitHub repository by pointing it to your local data folder and the parquet file.
50
 
51
+ An example configuration file would be:
52
+
53
+ ```bash
54
+ DATA_FOLDER=/path/to/your/data
55
+
56
+ ray job submit --address="http://127.0.0.1:8265" \
57
+ --runtime-env=verl/trainer/runtime_env.yaml \
58
+ -- \
59
+ bash -c "cd /path/to/your/verl/ && \
60
+ python3 -m verl.trainer.main_ppo \
61
+ algorithm.adv_estimator=${adv_estimator} \
62
+ actor_rollout_ref.actor.policy_loss.loss_mode=${loss_mode} \
63
+ data.train_files=[$DATA_FOLDER/algopuzzle_train.parquet,$DATA_FOLDER/mmk12_train.parquet,$DATA_FOLDER/puzzlevqa_train.parquet,$DATA_FOLDER/thinklite_vl_hard_train.parquet,$DATA_FOLDER/tqa_train.parquet,$DATA_FOLDER/virl39k_train.parquet,$DATA_FOLDER/wemath_standard.parquet,$DATA_FOLDER/wemath_pro.parquet] \
64
+ data.val_files=${DATA_FOLDER}/val.parquet \
65
+
66
+
67
+ ... rest of the command args ...
68
+
69
+ ```
70
 
71
 
72