Skip to content

Commit

Permalink
Change the BAAI-Open into FlagAI-Open
Browse files Browse the repository at this point in the history
  • Loading branch information
marscrazy committed Jul 31, 2022
1 parent 2ee645e commit 2f646ba
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
We are happy to accept your contributions to make `FlagAI` better and more awesome! To avoid unnecessary work on either
side, please stick to the following process:

1. Check if there is already [an issue](https://github.com/BAAI-Open/FlagAI/issues) for your concern.
1. Check if there is already [an issue](https://github.com/FlagAI-Open/FlagAI/issues) for your concern.
2. If there is not, open a new one to start a discussion. We hate to close finished PRs!
3. If we decide your concern needs code changes, we would be happy to accept a pull request. Please consider the
commit guidelines below.
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
![FlagAI](logo.png)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/6052/badge)](https://bestpractices.coreinfrastructure.org/projects/6052)
[![Python application](https://github.com/BAAI-Open/FlagAI/actions/workflows/python-app.yml/badge.svg)](https://github.com/BAAI-Open/FlagAI/actions/workflows/python-app.yml)
![GitHub release (release name instead of tag name)](https://img.shields.io/github/v/release/BAAI-Open/FlagAI?include_prereleases&style=social)
[![Python application](https://github.com/FlagAI-Open/FlagAI/actions/workflows/python-app.yml/badge.svg)](https://github.com/FlagAI-Open/FlagAI/actions/workflows/python-app.yml)
![GitHub release (release name instead of tag name)](https://img.shields.io/github/v/release/FlagAI-Open/FlagAI?include_prereleases&style=social)
[简体中文](README_zh.md)

--------------------------------------------------------------------------------
Expand Down Expand Up @@ -50,7 +50,7 @@ pip install -U flagai
- [Optional]To install FlagAI and develop locally:

```shell
git clone https://github.com/BAAI-Open/FlagAI.git
git clone https://github.com/FlagAI-Open/FlagAI.git
python setup.py install
```

Expand Down Expand Up @@ -153,7 +153,7 @@ We provide a set of quick tutorials to get you started with the library:

Thanks for your interest in contributing! There are many ways to get involved;
start with our [contributor guidelines](CONTRIBUTING.md) and then
check these [open issues](https://github.com/BAAI-Open/FlagAI/issues) for specific tasks.
check these [open issues](https://github.com/FlagAI-Open/FlagAI/issues) for specific tasks.

## Contact us

Expand Down
8 changes: 4 additions & 4 deletions README_zh.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
![FlagAI](logo.png)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/6052/badge)](https://bestpractices.coreinfrastructure.org/projects/6052)
[![Python application](https://github.com/BAAI-Open/FlagAI/actions/workflows/python-app.yml/badge.svg)](https://github.com/BAAI-Open/FlagAI/actions/workflows/python-app.yml)
![GitHub release (release name instead of tag name)](https://img.shields.io/github/v/release/BAAI-Open/FlagAI?include_prereleases&style=social)
[![Python application](https://github.com/FlagAI-Open/FlagAI/actions/workflows/python-app.yml/badge.svg)](https://github.com/FlagAI-Open/FlagAI/actions/workflows/python-app.yml)
![GitHub release (release name instead of tag name)](https://img.shields.io/github/v/release/FlagAI-Open/FlagAI?include_prereleases&style=social)
[English](README.md)

--------------------------------------------------------------------------------
Expand Down Expand Up @@ -49,7 +49,7 @@ pip install -U flagai
- [可选]下载源码安装:

```shell
git clone https://github.com/BAAI-Open/FlagAI.git
git clone https://github.com/FlagAI-Open/FlagAI.git
python setup.py install
```

Expand Down Expand Up @@ -214,7 +214,7 @@ for text_pair in test_data:


# 贡献代码
感谢您对贡献的兴趣! 参与的方式有很多; 从我们的[贡献者指南](CONTRIBUTING.md) 开始,然后检查这些[未解决的问题](https://github.com/BAAI-Open/FlagAI/issues)以执行特定任务。
感谢您对贡献的兴趣! 参与的方式有很多; 从我们的[贡献者指南](CONTRIBUTING.md) 开始,然后检查这些[未解决的问题](https://github.com/FlagAI-Open/FlagAI/issues)以执行特定任务。

# 联系我们
欢迎扫码加入飞智用户群
Expand Down
4 changes: 2 additions & 2 deletions SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ _Use this file to detail how to make get support forthe project. The structure b
# Getting Help

There are a few ways to connect with the PROJECT NAME project:
* https://github.com/BAAI-Open/FlagAI/issues
* https://github.com/FlagAI-Open/FlagAI/issues

## How to Ask for Help

Expand All @@ -12,7 +12,7 @@ start by posting a question to the mailing list or Slack channel. This is the pl

## How to report a bug or request an enhancement

PROJECT NAME manages bug and enhancement using it's [issue tracker](https://github.com/BAAI-Open/FlagAI/issues). The issue template will guide you on making an effective report.
PROJECT NAME manages bug and enhancement using it's [issue tracker](https://github.com/FlagAI-Open/FlagAI/issues). The issue template will guide you on making an effective report.

## How to report a security vulnerability

Expand Down
4 changes: 2 additions & 2 deletions doc_zh/TUTORIAL_4_TRAINER.md
Original file line number Diff line number Diff line change
Expand Up @@ -385,9 +385,9 @@ python train.py --test1=1
```
更多的例子可以查看 :

1. [vit-env-trainer](https://github.com/BAAI-Open/FlagAI/tree/master/examples/vit_cifar100/train_env_trainer.py)
1. [vit-env-trainer](https://github.com/FlagAI-Open/FlagAI/tree/master/examples/vit_cifar100/train_env_trainer.py)

2. [glm-title-generation-env-trainer](https://github.com/BAAI-Open/FlagAI/tree/master/examples/glm_title_generation/train_env_trainer.py)
2. [glm-title-generation-env-trainer](https://github.com/FlagAI-Open/FlagAI/tree/master/examples/glm_title_generation/train_env_trainer.py)


# 使用 pytorchDDP launcher 或 deepspeed launcher 运行
Expand Down
2 changes: 1 addition & 1 deletion doc_zh/TUTORIAL_5_INSTRUCTIONS_FOR_AutoLoader.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ auto_loader = AutoLoader(task_name="ner",
model = auto_loader.get_model()
tokenizer = auto_loader.get_tokenizer()
```
查看 https://github.com/BAAI-Open/FlagAI/blob/master/quickstart/ner_ch.py 了解更多.
查看 https://github.com/FlagAI-Open/FlagAI/blob/master/quickstart/ner_ch.py 了解更多.
## 所有支持的任务和模型

![model_and_task_table](../docs/img/model_task_table.png)
Expand Down
8 changes: 4 additions & 4 deletions doc_zh/TUTORIAL_9_SEQ2SEQ_METHOD.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
## Encoder 模型
我们提供了encoder模型来执行seq2seq任务,例如,Bert、Roberta、GLM等等。

1. [使用RoBERTa模型进行标题生成](https://github.com/BAAI-Open/FlagAI/tree/master/examples/roberta_title_generation)
2. [使用GLM模型进行标题生成](https://github.com/BAAI-Open/FlagAI/tree/master/examples/glm_title_generation)
1. [使用RoBERTa模型进行标题生成](https://github.com/FlagAI-Open/FlagAI/tree/master/examples/roberta_title_generation)
2. [使用GLM模型进行标题生成](https://github.com/FlagAI-Open/FlagAI/tree/master/examples/glm_title_generation)

在训练过程中,我们在编码器模型中添加了一个特殊的 attention mask。(https://github.com/microsoft/unilm)
![encoder_mask](../docs/img/encoder_mask.png)
Expand All @@ -18,14 +18,14 @@

## Decoder 模型
我们还为seq2seq任务提供了decoder模型,例如gpt-2模型。
1. [使用GPT-2模型进行文章续写](https://github.com/BAAI-Open/FlagAI/blob/master/quickstart/writing_ch.py)
1. [使用GPT-2模型进行文章续写](https://github.com/FlagAI-Open/FlagAI/blob/master/quickstart/writing_ch.py)

![decoder_mask](../docs/img/decoder_mask.png)
给出一个起始文本,这个模型可以很好地延续文本。

## Encoder-Decoder 模型
我们还为seq2seq任务提供encoder-decoder模型,例如T5模型。
1. [使用T5模型进行标题生成](https://github.com/BAAI-Open/FlagAI/tree/master/examples/t5_title_generation)
1. [使用T5模型进行标题生成](https://github.com/FlagAI-Open/FlagAI/tree/master/examples/t5_title_generation)


![encoder_decoder_mask](../docs/img/encoder_decoder_mask.png)
Expand Down
4 changes: 2 additions & 2 deletions docs/TUTORIAL_4_TRAINER.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,9 @@ python train.py --test1=1

More examples in :

1. [vit-env-trainer](https://github.com/BAAI-Open/FlagAI/tree/master/examples/vit_cifar100/train_env_trainer.py)
1. [vit-env-trainer](https://github.com/FlagAI-Open/FlagAI/tree/master/examples/vit_cifar100/train_env_trainer.py)

2. [glm-title-generation-env-trainer](https://github.com/BAAI-Open/FlagAI/tree/master/examples/glm_title_generation/train_env_trainer.py)
2. [glm-title-generation-env-trainer](https://github.com/FlagAI-Open/FlagAI/tree/master/examples/glm_title_generation/train_env_trainer.py)


# Run with pytorchDDP launcher or deepspeed launcher
Expand Down
2 changes: 1 addition & 1 deletion docs/TUTORIAL_5_INSTRUCTIONS_FOR_AutoLoader.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ auto_loader = AutoLoader(task_name="ner",
model = auto_loader.get_model()
tokenizer = auto_loader.get_tokenizer()
```
See https://github.com/BAAI-Open/FlagAI/blob/master/quickstart/ner_ch.py to learn more.
See https://github.com/FlagAI-Open/FlagAI/blob/master/quickstart/ner_ch.py to learn more.
## All supported tasks and models

![model_and_task_table](./img/model_task_table.png)
Expand Down
8 changes: 4 additions & 4 deletions docs/TUTORIAL_9_SEQ2SEQ_METHOD.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Three ways are supported for sequence-to-sequence task generation, including:
## Encoder model
We provide the encoder model to perform the seq2seq task, for example, Bert, Roberta, GLM, and so on.

1. [Title Generation with RoBERTa model](https://github.com/BAAI-Open/FlagAI/tree/master/examples/roberta_title_generation)
2. [Title Generation with GLM model](https://github.com/BAAI-Open/FlagAI/tree/master/examples/glm_title_generation)
1. [Title Generation with RoBERTa model](https://github.com/FlagAI-Open/FlagAI/tree/master/examples/roberta_title_generation)
2. [Title Generation with GLM model](https://github.com/FlagAI-Open/FlagAI/tree/master/examples/glm_title_generation)

We add a special attention mask in the encoder model at training process. (https://github.com/microsoft/unilm)

Expand All @@ -25,15 +25,15 @@ Where, sentence_1 does not use mask, and sentence_2 uses autoregressive mask.

We also provide the decoder model for seq2seq task, such as gpt-2 models.

1. [Writing text with GPT-2 model](https://github.com/BAAI-Open/FlagAI/blob/master/quickstart/writing_ch.py)
1. [Writing text with GPT-2 model](https://github.com/FlagAI-Open/FlagAI/blob/master/quickstart/writing_ch.py)

![decoder_mask](./img/decoder_mask.png)

Giving a start text, this model can be a good continuation of the text.

## Encoder-Decoder model
We also provide the encoder-decoder model for seq2seq task, such as T5 models.
1. [Title Generation with T5 model](https://github.com/BAAI-Open/FlagAI/tree/master/examples/t5_title_generation)
1. [Title Generation with T5 model](https://github.com/FlagAI-Open/FlagAI/tree/master/examples/t5_title_generation)


![encoder_decoder_mask](./img/encoder_decoder_mask.png)
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
description="FlagAI aims to help researchers and developers to freely train and test large-scale models for NLP tasks.",
long_description=open("README.md", encoding="utf-8").read(),
long_description_content_type="text/markdown",
author="BAAI-Open",
author="FlagAI-Open",
author_email="[email protected]",
url="https://github.com/BAAI-Open/FlagAI",
url="https://github.com/FlagAI-Open/FlagAI",
packages=find_packages(exclude="tests"), # same as name
license="Apache 2.0",
include_package_data=True,
Expand Down

0 comments on commit 2f646ba

Please sign in to comment.