百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
L

LLM2LLM

> 数据库
开源

[ACL 2024] LLM2LLM: 利用新颖的迭代数据增强来提升 LLM

196 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

[ACL 2024] LLM2LLM: 利用新颖的迭代数据增强来提升 LLM

LLM2LLM: Boosting LLMs with Novel Iterative Data Enhancement [Paper]

This is the code for the LLM2LLM paper.

Reproducing Main Experiments

We have provided code required to reproduce our main experiments for GSM8K. Instructions for other datasets will be uploaded soon.

  1. Download a copy of LLaMA-2-7B, and the appropriate dataset
  2. Clone the GSM8K dataset by running
bash
cd GSM8K
git clone https://github.com/openai/grade-school-math.git
  1. Run generate_seed_data.py and adjust SUBSAMPLE_SPLIT to get seed data.
  2. Ensure that all settings in config.yaml are accurate
  3. Run python GSM8K/generator_data.py GSM8K/config.yaml
  4. cd into your experiment folder and run ./run_all.sh
  5. After all of the iterations have finished, run
bash
python report_results.py --results_file_name test_0.jsonl GSM8K/grade-school-math/grade_school_math/data/test.jsonl $EXP_FOLDER

to get a detailed breakdown of the performance of the model at each iteration.

This will produce an output folder that contains all the data and model checkpoints.

Roadmap

We are planning on adding the code required to reproduce our experiments on other datasets.

Citation

LLM2LLM has been developed as part of the following paper. We would appreciate if you would please cite this paper if you found this library useful for your work:

@article{lee2024llm2llm,
      title={LLM2LLM: Boosting LLMs with Novel Iterative Data Enhancement}, 
      author={Lee, Nicholas and Wattanawong, Thanakul and Kim, Sehoon and Mangalam, Karttikeya and Shen, Sheng and Anumanchipali, Gopala and Mahoney, Michael W and Keutzer, Kurt and Gholami, Amir},
      journel={arXiv},
      year={2024},
}

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythondata-augmentationllamallama2llm

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库