Skip to content

Commit

Permalink
Merge pull request #2 from 01-ai/fancy/update_license
Browse files Browse the repository at this point in the history
Update license
  • Loading branch information
ZhaoFancy authored Nov 4, 2023
2 parents 03c9c1b + 13cbd4f commit 3018ed9
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 40 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,25 @@ jobs:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
- uses: 01-ai/actions/lint@main
# - uses: 01-ai/actions/lint@main

build-and-push:
needs: basic-check
runs-on:
- arc
- cpu
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set proxy
run: |
echo "http_proxy=$http_proxy" >> $GITHUB_ENV
echo "https_proxy=$https_proxy" >> $GITHUB_ENV
- uses: 01-ai/actions/build_docker_image@main
id: build-and-push
with:
registry: ${{ vars.VOLCES_REGISTRY }}
namespace: ${{ vars.VOLCES_NAMESPACE }}
tags: 'latest'
username: ${{ secrets.VOLCES_USER }}
password: ${{ secrets.VOLCES_TOKEN }}
# build-and-push:
# needs: basic-check
# runs-on:
# - arc
# - cpu
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Set proxy
# run: |
# echo "http_proxy=$http_proxy" >> $GITHUB_ENV
# echo "https_proxy=$https_proxy" >> $GITHUB_ENV
# - uses: 01-ai/actions/build_docker_image@main
# id: build-and-push
# with:
# registry: ${{ vars.VOLCES_REGISTRY }}
# namespace: ${{ vars.VOLCES_NAMESPACE }}
# tags: 'latest'
# username: ${{ secrets.VOLCES_USER }}
# password: ${{ secrets.VOLCES_TOKEN }}
26 changes: 11 additions & 15 deletions MODEL_LICENSE_AGREEMENT.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Yi Series Models License Agreement
Version: 1.0
Date of Release: November 1, 2023
Version: 2.0
Date of Release: November 4, 2023

1. Definition

Expand Down Expand Up @@ -51,13 +51,12 @@ excluding information that has been anonymized.
“Logo” refers to any trademark, service mark, trade name, domain name, website
name, or other distinctive branding marks.


2. License and License Restrictions

The Licensor hereby grants you a non-exclusive, global, non-transferable,
non-sub-licensable, revocable, and royalty-free copyright license. You may only
use the Yi Series Models for non-Commercial Purposes, and you must adhere to the
following license restrictions:
non-sub-licensable, revocable, and royalty-free copyright license. You must
adhere to the following license restrictions:

1) Your use of the Yi Series Models must comply with the Laws and Regulations as
well as applicable legal requirements of other countries/regions, and respect
Expand Down Expand Up @@ -95,9 +94,7 @@ you should contact the Licensor in advance as specified in Section 7 of this
Agreement named "Updates to the Agreement and Contact Information" and obtain
written authorization from the Licensor. When you obtain authorization from the
Licensor to use the Yi Series Models and Derivatives for Commercial Purposes,
you must comply with the afore-mentioned license restrictions and any other
additional license restrictions specified by the Licensor at the time of
granting written authorization.
you must comply with the afore-mentioned license restrictions.


3. Intellectual Property
Expand Down Expand Up @@ -170,7 +167,7 @@ the Licensor.


6. Effectiveness and Termination of the Agreement

Your use of the Yi Series Models signifies that you have read and agreed to be
bound by the terms of the Agreement. The Agreement becomes effective from the
date of your use of the Yi Series Models and will terminate from the date you
Expand All @@ -194,8 +191,8 @@ Licensor at [email protected].


Yi系列模型许可协议
版本: 1.0
发布日期: 2023年11月1日
版本: 2.0
发布日期: 2023年11月4日

1. 定义

Expand Down Expand Up @@ -239,7 +236,7 @@ Yi-6B、Yi-34B等。
2. 许可及许可限制

许可方特此授予您非排他性、全球性、不可转让、不可再许可、可撤销、免版税的版权许
可。您仅可出于非商业用途使用Yi系列模型,并且您必须满足如下许可限制条件
可。您必须满足如下许可限制条件

1) 您对Yi系列模型的使用应遵守法律法规以及其他国家/地区适用的法律要求、尊重社会公
德和伦理道德。包括但不限于您不得将Yi系列模型用作危害国家安全、宣扬恐怖主义、极端
Expand All @@ -262,8 +259,7 @@ Yi-6B、Yi-34B等。

如果您计划将 Yi系列模型及模型衍生品用作商业用途,您应当事先通过第7款“协议更新及
联系方式”中的方式联系许可方进行登记并获得许可方的书面授权。若您取得许可方授权将
Yi系列模型及模型衍生品用作商业用途时,您应满足许可方上述许可限制条件以及书面授权
时许可方提出的任何其它许可限制条件。
Yi系列模型及模型衍生品用作商业用途时,您应满足许可方上述许可限制条件。


3. 知识产权
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,9 @@ misinformation, as well as any associated data security concerns.
## License

The source code in this repo is licensed under the [Apache 2.0
license](https://github.com/01-ai/Yi/blob/main/LICENSE). The **Yi** series
models are fully open for academic research and free commercial usage. All usage
must be adhered to the [Model License
Agreement](https://github.com/01-ai/Yi/blob/main/MODEL_LICENSE_AGREEMENT.txt).
license](https://github.com/01-ai/Yi/blob/main/LICENSE). The Yi series models
are fully open for academic research and free commercial usage with permission
via applications. All usage must adhere to the [Model License
Agreement 2.0](https://github.com/01-ai/Yi/blob/main/MODEL_LICENSE_AGREEMENT.txt).
To apply for the official commercial license, please contact us
([[email protected]](mailto:[email protected])).

0 comments on commit 3018ed9

Please sign in to comment.