Skip to content

Commit b703548

Browse files
ploytszz297429
authored andcommitted
RM Gallery V2
Link: https://code.alibaba-inc.com/OpenRepo/RM-Gallery/codereview/24203053 * [New] V2 * [update] documents * [update] data sample schema * Initial commit * [update readme and docs] * Merge pull request #1 from modelscope/doc_dev [update] readme and docs * [update] update readme (#2) * [update] update readme * [update] update readme * [fix] reward register (#3) fix import * [update] update git remote url (#4) * [update] update readme * [update] update readme * [update] update git remote url * fix: resolve import errors in dataset module * Merge pull request #6 from modelscope/pairwise fix: resolve import errors in dataset module * [feat] add async evaluation support for reward modules with semaphore-based concurrency control (#8) * [feat] add async evaluation support for reward modules with semaphore-based concurrency control * [fix] Fixed the bug in reward post-processing in asynchronous reward calculation * [new] add bradley-terry and sft scripts (#13) * [new] add bradley-terry and sft scripts * [new] add bradley-terry and sft scripts * [fix] fix dependencies (#12) * [fix] fix docs (#11) * [update] bt train scripts (#14) * [new] add bradley-terry and sft scripts * [new] add bradley-terry and sft scripts * [update] bt train scripts * [update] bt train scripts * [delete] old bt scripts * [update] sft_rm.md * [delete] duplicate sft folders (#16) * update llm bench * add * feat: Add Ties subset support and parallel processing to RewardBench2 * feat: Add Ties subset support and parallel processing to RewardBench2 * feat: Add Ties subset support and parallel processing to RewardBench2 * feat: Add Ties subset support and parallel processing to RewardBench2 * feat: Add Principles for rewardbench2 * [fixbug] pointwise dataset (#18) * [delete] duplicate sft folders * [fixbug] pointwise dataset * refactor: cleanup evaluation modules and update documentation - Remove deprecated evaluation modules (conflict_detector, judgebench, rmb, rmbench) - Update rewardbench2 evaluation module and documentation - Clean up template modules - Update load.ipynb tutorial - Fix linting issues in rewardbench2.py * Merge pull request #19 from modelscope/llm_bench Llm bench * feat: upgrade documentation theme to mkdocs-shadcn - Migrate from material theme to mkdocs-shadcn for modern UI - Enhance homepage with gradient logo design and Inter font - Standardize badge styles and layout structure - Add GitHub Actions workflow for automated deployment - Improve visual consistency and user experience - Configure markdown extensions for rich content support * feat: implement coy theme for code highlighting - Add Prism.js coy theme for modern code block styling - Configure enhanced syntax highlighting with line numbers - Create custom CSS enhancements for better visual appeal - Support multiple programming languages with autoloader - Add responsive design for mobile devices - Implement hover effects and improved readability * feat: enhance code block styling with copy functionality - Add code copy button feature for better UX - Implement One Dark Pro syntax highlighting theme - Include JetBrains Mono font for better code readability - Add custom CSS for enhanced code block appearance - Configure pymdownx.highlight with line numbers and anchors - Add responsive design for code blocks on mobile devices * feat: add interactive code copy button functionality - Implement custom JavaScript for code block copy functionality - Add hover-triggered copy button with smooth animations - Include visual feedback with check icon on successful copy - Style copy button with modern design and transitions - Support both custom and theme-native copy button styles - Ensure cross-browser clipboard API compatibility * feat: optimize table rendering with text wrapping - Add comprehensive table styling with proper text wrapping - Enable word-break and overflow-wrap for all table cells - Implement responsive table design for mobile devices - Add hover effects and striped rows for better readability - Include gradient header background for visual appeal - Configure tables markdown extension for proper rendering - Add smooth scrolling for wide tables on small screens * fix: restore complete documentation content from main branch - Recover all original documentation sections and content - Preserve installation guide, walkthrough, and examples - Maintain documentation table and citation information - Keep all code examples and detailed explanations - Apply modern styling only to header section without content loss * docs: Add new documentation sections and update mkdocs configuration - Add rm_library.md and rubric_library.md in library section - Add navigation.md for improved site navigation - Add boosting_strategy.md in using_rm section - Add reference section with .gitkeep - Update mkdocs.yml configuration * feat: create interactive RM and Rubric libraries - Transform static markdown pages into dynamic interactive libraries - Add search and filter functionality similar to ReMe project design - RM Library: categorized display of reward models with detailed info - Rubric Library: comprehensive evaluation rubrics with principles - Modern responsive UI with modal details and real-time stats - Consistent with navigation.md planning structure * [new] auto-rubric * [rename] rubric * [new] auto-rubric (#21) * [new] auto-rubric * [rename] rubric * feat: add LLM Judge evaluation module and RL training examples - Add llm_judge module with pointwise/pairwise/listwise evaluators - Add alignment reward functions for LLM judge - Add RL training examples with alignment reward integration - Add reward manager and alignment RL dataset - Add GRPO training script and documentation * refactor: improve RL training dataset and reward function - Add base dataset class for RL training - Refactor alignment dataset with DataKeys configuration - Improve code formatting and structure - Update reward function documentation * update * fix: improve base dataset import with fallback mechanism - Add robust import fallback for base_dataset module - Update README and reward manager - Improve error handling for module imports * fix * Update RL training and LLM judge evaluation modules * [update] rubric src * Merge branch 'main' into autorubric_gt * Add evaluation tools and documentation - Add conflict_detector evaluation tool - Add judgebench, rmb, rmbench evaluation modules - Add documentation for evaluation methods - Add llm_judge reward modules - Update rewardbench2 implementation - Add RL training examples - Fix linting issues (unused imports, f-string formatting) * Merge llm_bench into feature/upgrade-docs-theme * Merge origin/boyin_dgr into feature/upgrade-docs-theme - Add LLM judge framework with adapters, evaluators, and templates - Add reward manager and RL training examples - Add base dataset for RL training - Resolve conflict in alignment_rl_dataset.py * docs: convert tutorial notebooks to markdown and update documentation * feat: improve rubric library UI - optimize chip display and layout * [update] rubric_library * feat: convert all Jupyter notebooks to Markdown format - Convert 7 .ipynb files to .md format for better version control - Update mkdocs.yml to reference .md files instead of .ipynb - Optimize RM Library card styles (simplified tags, improved layout) - Update Building RM navigation structure Files converted: - tutorial/data: annotation, load, pipeline, process - tutorial/rm_application: best_of_n, data_refinement, post_training Benefits: - Faster build times (no Jupyter conversion needed) - Better git diffs and version control - Easier editing and maintenance - Simplified dependencies * fix(judgebench): fix evaluation results not being stored in batch processing - Override _async_parallel method in JudgeBenchReward to use BaseListWiseReward implementation - Fixes issue where BaseLLMReward._async_parallel was storing results in wrong location due to MRO - Results now correctly stored in sample.input[-1].additional_kwargs for compute_accuracy - Tested with qwen2.5-32b-instruct via DashScope API, accuracy calculation now works correctly * docs(judgebench): add custom API endpoint configuration example - Add example showing how to configure base_url for custom API endpoints - Demonstrates usage with Alibaba Cloud DashScope API - Helps users who need to use OpenAI-compatible third-party APIs * feat: upgrade docs theme and add conflict detector improvements - Update mkdocs.yml with new theme configuration - Enhance documentation pages (index, rm_library, rubric_library, boosting_strategy) - Add search-fix.js for improved search functionality - Improve conflict_detector.py with new features - Add template.py for evaluation - Add comprehensive test files for conflict detector * Merge branch 'main' into feature/upgrade-docs-theme - Resolved conflicts in docs/index.md, mkdocs.yml, and autorubric.md - Updated all .ipynb references to .md files - Removed .ipynb files that were converted to .md - Integrated rubric-related updates from main branch * refactor: unify terminology from 'principle' to 'rubric' across codebase - Updated code files: rmb.py, rmbench.py - Changed PrincipleListWiseTemplate to RubricListWiseTemplate - Updated class inheritance and type annotations - Updated documentation files: - Renamed autoprinciple.md to autorubric.md - Updated overview.md: AutoPrinciple → AutoRubric, generator variables - Updated custom_reward.md: BasePrincipleReward → BaseRubricReward - Updated evaluation/overview.md, best_of_n.md, post_training.md, boosting_strategy.md - Updated rm_library.md: CSS, JS, HTML elements, and RM configurations - All terminology now consistently uses 'rubric' instead of 'principle' - This change improves clarity and consistency in the reward modeling framework * Update conflict detector and add test files * docs: update documentation and add examples - Update main README and documentation index - Add FAQ and quickstart guides - Add tutorial documentation and end-to-end guide - Add example notebooks (quickstart, custom-rm, evaluation) - Add README files for rm modules - Remove outdated POINTWISE_CONFLICT_ANALYSIS.md * docs: update documentation files and add sitemap - Update FAQ, quickstart, and tutorial documentation - Update docs index and mkdocs configuration - Add sitemap.txt for documentation * docs: restructure navigation following Diataxis framework - Reorganize navigation from nested 3-level to flat 2-level structure for better compatibility with shadcn theme - Replace 'How-to Guides' with topic-based sections: Building RM, Training RM, Evaluating RM, Data Processing, RM Applications - Improve navigation clarity and user experience - Keep Tutorials section focused on end-to-end learning - All documentation files remain accessible with clearer categorization * docs: improve documentation and jupyter notebooks - Add code zoom functionality for better code viewing - Enhance CSS styles for better readability - Add new jupyter-simple.css for notebook styling - Update README.md - Update example notebooks (custom-rm, evaluation, quickstart) - Add CHANGELOG.md * docs: add evaluation frameworks comparison analysis and LLM judge research survey * docs: 优化文档结构和内容 主要改进: - 重构首页:精简内容从 489 行减至 236 行(52%↓) - 优化导航:将 Reference 部分前置,删除不存在的 API Documentation 和 Changelog - 清理 Jupyter Notebook 引用:删除所有 .ipynb 文件引用,修复 16+ 处错误链接 - 简化 Learning Paths:移除冗余子项描述,使路径更清晰 - 修复 Installation tabs:统一使用 pymdownx.tabbed 语法,移除扩展冲突 - 精简 Tutorial README:从 242 行减至 175 行(28%↓) - 统一文档格式:将 'notebook' 改为 'guide',保持一致性 影响的文件: - 核心文档:index.md, quickstart.md, mkdocs.yml - 教程文档:tutorial/README.md 及多个子教程 - 配置文件:sitemap.txt 这些改进让文档更加简洁、准确、易于导航。 * docs: Add navigation scroll fix and update rubric library with dataset link * Merge pull request #23 from modelscope/docs_diataxis Docs diataxis * feat: 添加 GitHub Pages 自动部署配置,移除 Jupyter Notebook 引用 - 添加 GitHub Actions 工作流自动部署文档到 GitHub Pages - 创建 docs/requirements.txt 管理文档依赖 - 从 mkdocs.yml 移除 mkdocs-jupyter 插件 - 删除 docs/examples 符号链接,避免包含 .ipynb 文件 - 添加部署总结文档 * Revert "feat: 添加 GitHub Pages 自动部署配置,移除 Jupyter Notebook 引用" This reverts commit 16603fa. * feat: add GitHub Pages deployment workflow - Add GitHub Actions workflow for automatic deployment - Create docs/requirements.txt for documentation dependencies - Remove mkdocs-jupyter plugin from mkdocs.yml - Remove docs/examples symlink to exclude .ipynb files from docs - Use latest action versions (v4, v5) to avoid deprecation warnings * Revert "feat: add GitHub Pages deployment workflow" This reverts commit b0bd2de. * chore: configure documentation deployment and update mkdocs settings - Add GitHub Actions workflow for automated docs deployment - Add docs/requirements.txt for documentation dependencies - Remove mkdocs-jupyter plugin from mkdocs.yml - Update sft_rm.md documentation - Remove docs/examples symlink - Add .env to .gitignore * Merge pull request #22 from modelscope/autorubric_gt [update] autorubric src * fix: center modal dialog in RM Library - Fix modal positioning to display in center of viewport - Use fixed positioning with top/left 50% and transform translate - Remove ineffective flex/inset properties that were preventing centering - Set margin to 0 to avoid offset interference * chore: remove obsolete files Remove unused research notes, changelog, and test files: - 2025_LLM_as_Judge_Agent_Research_Survey.md - CHANGELOG.md - CONFLICT_DETECTOR_SUMMARY.md - test_10_samples.py - test_conflict_detector_comprehensive.py * [update] mapper * [update] fix bugs * update * Remove agentscope submodule * update agentscope * update schema * add test * update readme * add optimizer * fix bug * fix bugs * update template * update grader * fix bugs * fix bugs * update voting * remove old files
1 parent af78a01 commit b703548

File tree

179 files changed

+2746
-26631
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

179 files changed

+2746
-26631
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: Deploy MkDocs to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
concurrency:
15+
group: pages
16+
cancel-in-progress: false
17+
18+
jobs:
19+
build:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout repository
23+
uses: actions/checkout@v4
24+
with:
25+
fetch-depth: 0
26+
27+
- name: Setup Python
28+
uses: actions/setup-python@v5
29+
with:
30+
python-version: '3.11'
31+
32+
- name: Cache pip dependencies
33+
uses: actions/cache@v4
34+
with:
35+
path: ~/.cache/pip
36+
key: ${{ runner.os }}-pip-${{ hashFiles('docs/requirements.txt') }}
37+
restore-keys: |
38+
${{ runner.os }}-pip-
39+
40+
- name: Install dependencies
41+
run: |
42+
pip install --upgrade pip
43+
pip install -r docs/requirements.txt
44+
45+
- name: Build documentation
46+
run: mkdocs build --clean
47+
48+
- name: Upload artifact
49+
uses: actions/upload-pages-artifact@v3
50+
with:
51+
path: ./site
52+
53+
deploy:
54+
environment:
55+
name: github-pages
56+
url: ${{ steps.deployment.outputs.page_url }}
57+
runs-on: ubuntu-latest
58+
needs: build
59+
steps:
60+
- name: Deploy to GitHub Pages
61+
id: deployment
62+
uses: actions/deploy-pages@v4

.github/workflows/deploy.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Deploy MkDocs to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
concurrency:
15+
group: "pages"
16+
cancel-in-progress: false
17+
18+
jobs:
19+
build:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v4
23+
24+
- name: Set up Python
25+
uses: actions/setup-python@v4
26+
with:
27+
python-version: '3.11'
28+
29+
- name: Install dependencies
30+
run: |
31+
python -m pip install --upgrade pip
32+
pip install mkdocs-shadcn
33+
pip install mkdocs-jupyter
34+
pip install pymdown-extensions
35+
36+
- name: Build MkDocs
37+
run: mkdocs build
38+
39+
- name: Setup Pages
40+
uses: actions/configure-pages@v3
41+
42+
- name: Upload artifact
43+
uses: actions/upload-pages-artifact@v2
44+
with:
45+
path: './site'
46+
47+
deploy:
48+
environment:
49+
name: github-pages
50+
url: ${{ steps.deployment.outputs.page_url }}
51+
runs-on: ubuntu-latest
52+
needs: build
53+
if: github.ref == 'refs/heads/main'
54+
steps:
55+
- name: Deploy to GitHub Pages
56+
id: deployment
57+
uses: actions/deploy-pages@v2

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ __pycache__
88
*.json
99
*.parquet
1010
/log
11+
*.log
1112
/dist
1213
uv*
1314
_del
1415
docs/log
1516
.python-version
1617
tests/plt_*
1718
/site
18-
poetry.lock
19+
poetry.lock.env

LICENSE

Lines changed: 201 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,201 @@
1+
Apache License
2+
Version 2.0, January 2004
3+
http://www.apache.org/licenses/
4+
5+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6+
7+
1. Definitions.
8+
9+
"License" shall mean the terms and conditions for use, reproduction,
10+
and distribution as defined by Sections 1 through 9 of this document.
11+
12+
"Licensor" shall mean the copyright owner or entity authorized by
13+
the copyright owner that is granting the License.
14+
15+
"Legal Entity" shall mean the union of the acting entity and all
16+
other entities that control, are controlled by, or are under common
17+
control with that entity. For the purposes of this definition,
18+
"control" means (i) the power, direct or indirect, to cause the
19+
direction or management of such entity, whether by contract or
20+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
21+
outstanding shares, or (iii) beneficial ownership of such entity.
22+
23+
"You" (or "Your") shall mean an individual or Legal Entity
24+
exercising permissions granted by this License.
25+
26+
"Source" form shall mean the preferred form for making modifications,
27+
including but not limited to software source code, documentation
28+
source, and configuration files.
29+
30+
"Object" form shall mean any form resulting from mechanical
31+
transformation or translation of a Source form, including but
32+
not limited to compiled object code, generated documentation,
33+
and conversions to other media types.
34+
35+
"Work" shall mean the work of authorship, whether in Source or
36+
Object form, made available under the License, as indicated by a
37+
copyright notice that is included in or attached to the work
38+
(an example is provided in the Appendix below).
39+
40+
"Derivative Works" shall mean any work, whether in Source or Object
41+
form, that is based on (or derived from) the Work and for which the
42+
editorial revisions, annotations, elaborations, or other modifications
43+
represent, as a whole, an original work of authorship. For the purposes
44+
of this License, Derivative Works shall not include works that remain
45+
separable from, or merely link (or bind by name) to the interfaces of,
46+
the Work and Derivative Works thereof.
47+
48+
"Contribution" shall mean any work of authorship, including
49+
the original version of the Work and any modifications or additions
50+
to that Work or Derivative Works thereof, that is intentionally
51+
submitted to Licensor for inclusion in the Work by the copyright owner
52+
or by an individual or Legal Entity authorized to submit on behalf of
53+
the copyright owner. For the purposes of this definition, "submitted"
54+
means any form of electronic, verbal, or written communication sent
55+
to the Licensor or its representatives, including but not limited to
56+
communication on electronic mailing lists, source code control systems,
57+
and issue tracking systems that are managed by, or on behalf of, the
58+
Licensor for the purpose of discussing and improving the Work, but
59+
excluding communication that is conspicuously marked or otherwise
60+
designated in writing by the copyright owner as "Not a Contribution."
61+
62+
"Contributor" shall mean Licensor and any individual or Legal Entity
63+
on behalf of whom a Contribution has been received by Licensor and
64+
subsequently incorporated within the Work.
65+
66+
2. Grant of Copyright License. Subject to the terms and conditions of
67+
this License, each Contributor hereby grants to You a perpetual,
68+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69+
copyright license to reproduce, prepare Derivative Works of,
70+
publicly display, publicly perform, sublicense, and distribute the
71+
Work and such Derivative Works in Source or Object form.
72+
73+
3. Grant of Patent License. Subject to the terms and conditions of
74+
this License, each Contributor hereby grants to You a perpetual,
75+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76+
(except as stated in this section) patent license to make, have made,
77+
use, offer to sell, sell, import, and otherwise transfer the Work,
78+
where such license applies only to those patent claims licensable
79+
by such Contributor that are necessarily infringed by their
80+
Contribution(s) alone or by combination of their Contribution(s)
81+
with the Work to which such Contribution(s) was submitted. If You
82+
institute patent litigation against any entity (including a
83+
cross-claim or counterclaim in a lawsuit) alleging that the Work
84+
or a Contribution incorporated within the Work constitutes direct
85+
or contributory patent infringement, then any patent licenses
86+
granted to You under this License for that Work shall terminate
87+
as of the date such litigation is filed.
88+
89+
4. Redistribution. You may reproduce and distribute copies of the
90+
Work or Derivative Works thereof in any medium, with or without
91+
modifications, and in Source or Object form, provided that You
92+
meet the following conditions:
93+
94+
(a) You must give any other recipients of the Work or
95+
Derivative Works a copy of this License; and
96+
97+
(b) You must cause any modified files to carry prominent notices
98+
stating that You changed the files; and
99+
100+
(c) You must retain, in the Source form of any Derivative Works
101+
that You distribute, all copyright, patent, trademark, and
102+
attribution notices from the Source form of the Work,
103+
excluding those notices that do not pertain to any part of
104+
the Derivative Works; and
105+
106+
(d) If the Work includes a "NOTICE" text file as part of its
107+
distribution, then any Derivative Works that You distribute must
108+
include a readable copy of the attribution notices contained
109+
within such NOTICE file, excluding those notices that do not
110+
pertain to any part of the Derivative Works, in at least one
111+
of the following places: within a NOTICE text file distributed
112+
as part of the Derivative Works; within the Source form or
113+
documentation, if provided along with the Derivative Works; or,
114+
within a display generated by the Derivative Works, if and
115+
wherever such third-party notices normally appear. The contents
116+
of the NOTICE file are for informational purposes only and
117+
do not modify the License. You may add Your own attribution
118+
notices within Derivative Works that You distribute, alongside
119+
or as an addendum to the NOTICE text from the Work, provided
120+
that such additional attribution notices cannot be construed
121+
as modifying the License.
122+
123+
You may add Your own copyright statement to Your modifications and
124+
may provide additional or different license terms and conditions
125+
for use, reproduction, or distribution of Your modifications, or
126+
for any such Derivative Works as a whole, provided Your use,
127+
reproduction, and distribution of the Work otherwise complies with
128+
the conditions stated in this License.
129+
130+
5. Submission of Contributions. Unless You explicitly state otherwise,
131+
any Contribution intentionally submitted for inclusion in the Work
132+
by You to the Licensor shall be under the terms and conditions of
133+
this License, without any additional terms or conditions.
134+
Notwithstanding the above, nothing herein shall supersede or modify
135+
the terms of any separate license agreement you may have executed
136+
with Licensor regarding such Contributions.
137+
138+
6. Trademarks. This License does not grant permission to use the trade
139+
names, trademarks, service marks, or product names of the Licensor,
140+
except as required for reasonable and customary use in describing the
141+
origin of the Work and reproducing the content of the NOTICE file.
142+
143+
7. Disclaimer of Warranty. Unless required by applicable law or
144+
agreed to in writing, Licensor provides the Work (and each
145+
Contributor provides its Contributions) on an "AS IS" BASIS,
146+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147+
implied, including, without limitation, any warranties or conditions
148+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149+
PARTICULAR PURPOSE. You are solely responsible for determining the
150+
appropriateness of using or redistributing the Work and assume any
151+
risks associated with Your exercise of permissions under this License.
152+
153+
8. Limitation of Liability. In no event and under no legal theory,
154+
whether in tort (including negligence), contract, or otherwise,
155+
unless required by applicable law (such as deliberate and grossly
156+
negligent acts) or agreed to in writing, shall any Contributor be
157+
liable to You for damages, including any direct, indirect, special,
158+
incidental, or consequential damages of any character arising as a
159+
result of this License or out of the use or inability to use the
160+
Work (including but not limited to damages for loss of goodwill,
161+
work stoppage, computer failure or malfunction, or any and all
162+
other commercial damages or losses), even if such Contributor
163+
has been advised of the possibility of such damages.
164+
165+
9. Accepting Warranty or Additional Liability. While redistributing
166+
the Work or Derivative Works thereof, You may choose to offer,
167+
and charge a fee for, acceptance of support, warranty, indemnity,
168+
or other liability obligations and/or rights consistent with this
169+
License. However, in accepting such obligations, You may act only
170+
on Your own behalf and on Your sole responsibility, not on behalf
171+
of any other Contributor, and only if You agree to indemnify,
172+
defend, and hold each Contributor harmless for any liability
173+
incurred by, or claims asserted against, such Contributor by reason
174+
of your accepting any such warranty or additional liability.
175+
176+
END OF TERMS AND CONDITIONS
177+
178+
APPENDIX: How to apply the Apache License to your work.
179+
180+
To apply the Apache License to your work, attach the following
181+
boilerplate notice, with the fields enclosed by brackets "[]"
182+
replaced with your own identifying information. (Don't include
183+
the brackets!) The text should be enclosed in the appropriate
184+
comment syntax for the file format. We also recommend that a
185+
file or class name and description of purpose be included on the
186+
same "printed page" as the copyright notice for easier
187+
identification within third-party archives.
188+
189+
Copyright [yyyy] [name of copyright owner]
190+
191+
Licensed under the Apache License, Version 2.0 (the "License");
192+
you may not use this file except in compliance with the License.
193+
You may obtain a copy of the License at
194+
195+
http://www.apache.org/licenses/LICENSE-2.0
196+
197+
Unless required by applicable law or agreed to in writing, software
198+
distributed under the License is distributed on an "AS IS" BASIS,
199+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200+
See the License for the specific language governing permissions and
201+
limitations under the License.

0 commit comments

Comments
 (0)