Skip to content

Commit

Permalink
add install from source and change the __version__
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeyuChen committed Apr 18, 2021
1 parent 972b27e commit 42841e2
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,16 @@ PaddleNLP 2.0拥有**覆盖多场景的模型库**、**简洁易用的全流程A
pip install --upgrade paddlenlp -i https://pypi.org/simple
```

### 源码安装

如果您想体验最新的版本,可以使用以下命令进行源码安装,支持GitHub和Gitee两种方式。
```
pip install --upgrade git+https://github.com/PaddlePaddle/PaddleNLP.git
pip install --upgrade git+https://gitee.com/PaddlePaddle/PaddleNLP.git
```


更多关于PaddlePaddle的安装和PaddleNLP安装详细教程请查看[Installation](./docs/get_started/installation.rst)

## 快速开始
Expand Down
8 changes: 8 additions & 0 deletions README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,14 @@ More information about PaddlePaddle installation please refer to [PaddlePaddle I
pip install --upgrade paddlenlp -i https://pypi.org/simple
```

### Install from Source

```
pip install --upgrade git+https://github.com/PaddlePaddle/PaddleNLP.git
pip install --upgrade git+https://gitee.com/PaddlePaddle/PaddleNLP.git
```

## Quick Start

### Quick Dataset Loading
Expand Down
2 changes: 1 addition & 1 deletion paddlenlp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = '2.0.0rc3'
__version__ = '2.0.0'

from . import data
from . import datasets
Expand Down

0 comments on commit 42841e2

Please sign in to comment.