-
Notifications
You must be signed in to change notification settings - Fork 45
Add LongContext-ICL annotations #180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
73 changes: 73 additions & 0 deletions
73
openseek/competition/LongContext-ICL-Annotation/READMD_cn.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,73 @@ | ||
| # 超长长上下文场景中LLM自动数据标注挑战赛 | ||
|
|
||
| --- | ||
|
|
||
| ## 消息 | ||
| <!-- BEGIN NEWS --> | ||
| - **[2026-01-20] `发布`:** 赛事信息已在 **Kaggle** 正式上线。详情见:[FlagOS Open Computing Global Challenge](https://www.kaggle.com/competitions/flag-os-open-computing-global-challenge). | ||
| - **[2026-01-06] `发布`:** 由 **众智 FlagOS 社区**、**北京智源人工智能研究院(BAAI)** 与 **CCF ODTC** 联合主办的综合性大赛 **FlagOS 开放计算全球挑战赛** 正式发布。详情见: | ||
| [FlagOS开放计算全球挑战赛- AI赛事通 | 数据算法赛](https://www.competehub.dev/zh/competitions/modelscope180) | ||
| <!-- END NEWS --> | ||
|
|
||
| --- | ||
|
|
||
|
|
||
| ## 快速开始 | ||
| ### 1. 环境 | ||
|
|
||
| ```bash | ||
| openai | ||
| torch | ||
| flagScale | ||
| ``` | ||
|
|
||
| 推荐在NVIDIA平台使用 `cd src && bash create_env_nvidia.sh` 创建环境。 | ||
|
|
||
| ### 2. 下载模型权重 | ||
| ```bash | ||
| hf download Qwen/Qwen3-4B --local-dir Qwen3-4B | ||
| # or | ||
| modelscope download --model Qwen/Qwen3-4B | ||
| ``` | ||
| ### 3. 长文本配置 | ||
| 在`Qwen3-4B/config.json`将原有配置替换为: | ||
| ```json | ||
| "rope_scaling": { | ||
| "rope_type": "yarn", | ||
| "factor": 4.0, | ||
| "original_max_position_embeddings": 32768 | ||
| } | ||
| ``` | ||
| ### 4. 模型部署 | ||
|
|
||
| 请根据实际需求,配置 `llm_config.yaml` 文件。启动配置 | ||
|
|
||
| ```bash | ||
| cd FlagScale | ||
| python run.py --config-path .. --config-name llm_config action=run | ||
| ``` | ||
|
|
||
| 在模型服务启动后,可通过以下方式测试本地 API: | ||
|
|
||
| ```bash | ||
| python api_test.py | ||
| ``` | ||
|
|
||
| 如需停止服务,请执行: | ||
|
|
||
| ```bash | ||
| python run.py --config-path .. --config-name llm_config action=stop | ||
| ``` | ||
|
|
||
| ### 5. 运行/改进基线方法(Baseline) | ||
|
|
||
| 启动如下命令开始模型标注 | ||
| ```bash | ||
| python main.py | ||
| ``` | ||
|
|
||
| 实现新的标注方法,请修改`method.py`文件。你可以在该文件中: | ||
| * 定义新的指令模板、 | ||
| * 定义新的上下文示例选择策略 | ||
| * 定义新的模型推理、标注方案 | ||
| * 添加自定义后处理逻辑 |
90 changes: 0 additions & 90 deletions
90
openseek/competition/LongContext-ICL-Annotation/READMD_zh_cn.md
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The removal of the "Introduction", "Objectives", and "Challenge Details" sections significantly reduces the contextual information available to users. These sections are crucial for new participants to understand the competition's purpose, goals, and detailed rules. While a "Quick Start" guide is valuable, a comprehensive overview is equally important for proper engagement and understanding of the project. Consider retaining a condensed version of these sections or providing a clear link to where this information can be found.