GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - LCM-Lab/LongRM: Revealing and unlocking the context boundary of reward models

BranchesTags
Open more actions menu

Latest commit

 

History

9 Commits
9 Commits

Folders and files

NameName
Last commit message
Last commit date
data_synthesis
data_synthesis
 
 
datas
datas
 
 
evaluate
evaluate
 
 
scripts
scripts
 
 
train
train
 
 
README.md
README.md
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

💻 Environment & Installation

To setup the training environment, run:

cd LongRM
pip install -r requirements.txt
# install flash attention
Download the suitable version of flash_attn from https://github.com/Dao-AILab/flash-attention/releases
pip install <path_to_flash_attn_whl_file>
pip install ring_flash_attn

🔥 Train

Training Data

We provide the complete training datasets for both stages on Modelscope:

  • Stage1-Training-Data
  • Stage2-Training-Data

For Generative Model

To run the first training process:

bash scripts/sft.sh 

To run the second training process:

bash bash scripts/simpo_grm.sh 

For Discriminative Model

Directly run the second training process:

bash bash scripts/simpo_disrm.sh 

📊 Evaluate

  • We provide the benchmark dataset and trained models in our Modelscope.

For Generative Model

modelscope download LCM_group/LongReward_Qwen3-8B --repo-type model --local_dir ./LongReward_Qwen3-8B

python evaluate/eval.py --model-path ./LongReward_Qwen3-8B --data-path ./LongReward-Bench

For Discriminative Model

modelscope download LCM_group/LongReward_Skywork-Reward-V2-Llama-3.1-8B --repo-type model --local_dir ./LongReward_Skywork-Reward-V2-Llama-3.1-8B

python evaluate/eval.py --model-path ./LongReward_Skywork-Reward-V2-Llama-3.1-8B --data-path ./LongReward-Bench --is-disrm

About

Revealing and unlocking the context boundary of reward models

Topics

benchmarklong-context-evaluationreward-modeling

Resources

Readme
Activity
Custom properties

Stars

21 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.