A BERT model built with Jittor.
本项目采用 计图(Jittor) 框架实现 BERT 模型。
请阅读示例: 计图 NLP 教程 - BERT分类器.ipynb
首先,下载并安装 Anaconda3。 官网下载地址为: https://www.anaconda.com/products/distribution#Downloads
然后,执行以下命令:
# Create a conda envs
conda create -n bert_jittor python=3.7 ipython
conda activate bert_jittor
# Install Jittor
pip install jittor
# Install other libraries
pip install jupyter==1.0.0
pip install pandas==1.2.4
pip install matplotlib==3.3.4
pip install seaborn==0.11.1
在命令行中输入 jupyter notebook
启动。随后即可浏览并运行示例教程。