使用Bert和Pytorch的情感分析
建议使用Google Colab跳过要求错误并使用免费的GPU/TPU。
将笔记本进口到Colab
- 从上方打开colab提供的链接。
- 一个弹出窗口打开包含多个选项卡的打开,选择一个说github的选项卡。
- 输入repo url https://github*.c**om/rtharungowda/sentiment-analisy-bert/tree/master/master/senti_analsisy_bert_pytorch,然后单击搜索。
- 笔记本显示在结果选择和运行下。
- 笔记本无法修改,因此请在驱动器中创建它的副本。
下载源码
通过命令行克隆项目:
git clone https://github.com/rtharungowda/Sentiment-Analysis-BERT.git