R-Search
June 5, 2025 ยท View on GitHub
The Large Language Model (LLM) should output in the following format:
Installation
- PyTorch: Install PyTorch version 2.6.
- trl: Install from GitHub:
pip install git+https://github.com/huggingface/trl.git - lagent:
cd lagent pip install -e .
Data Processing
Data clustering uses data/clusters.py, and dataset generation and filtering use data/qa_gen.py.
Training
To train the model, run the following script:
sh train.sh