8000 GitHub - ytzfhqs/CoLA-RL
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ytzfhqs/CoLA-RL

Repository files navigation

README

CoLA任务RL训练代码库

[English|中文]

目录

项目简介

本仓库主要聚焦于利用Qwen3系列模型,通过强化学习(Reinforcement Learning, RL)技术,完成GLUE基准中的CoLACorpus of Linguistic Acceptability)子任务的句子可接受性分类。代码实现了数据预处理、模型训练和评估全流程,方便快速上手与复现相关研究。

更新日志

[25/06/22]完成数据处理流程、模型GRPO训练脚本(基于verl框架)和文档编写

主要结果

prompt = """
Decide whether the following sentence is grammatically acceptable or not. If it is grammatically correct, answer "acceptable". If not, answer "unacceptable". Only output "acceptable" or "unacceptable", and do not output any other information.

Sentence: {sentence}

Your answer:
"""
Model Shot Setting 验证集 测试集(kaggle)
Qwen3-0.6B zero-shot 0.223 待测试
DeepSeek V3 0324 zero-shot 0.726 待测试
DeepSeek R1 0120 zero-shot 0.636 待测试

如何使用

环境搭建

Tip

参阅文档

模型下载

GRPO训练

  • 修改脚本run_grpo_qwen3_0.6b.sh,修改wandb api key、工作目录和训练GPU编号。
  • 启动训练:
bash run_grpo_qwen3_0.6b.sh

待办事项

  • 对比不同RL算法对CoLA分类的效果。
  • 对比不同参数量模型对CoLA分类的效果。
  • 上传wandb报告。

致谢

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0