1. 首页
  2. 数据库
  3. 其它
  4. coffee mate:Tensorflow.js用于咖啡 源码

coffee mate:Tensorflow.js用于咖啡 源码

上传者: 2021-04-17 23:16:10上传 ZIP文件 1.44MB 热度 17次
BERT的最好的朋友。 安装 Ernie需要Python 3.6或更高版本。 pip install ernie 微调 句子分类 from ernie import SentenceClassifier , Models import pandas as pd tuples = [( "This is a positive example. I'm very happy today." , 1 ), ( "This is a negative sentence. Everything was wrong today at work." , 0 )] df = pd . DataFrame ( tuples ) classifier = SentenceClassifier ( model_name = Models . BertBaseUncased , max_le
下载地址
用户评论