摘要: github参考:https://github.com/wangjiwu/BERT-sentiment--classification 一、准备数据 bert官方与训练数据下载 自己的数据集,(训练集,测试集,开发集)(ps:dev.tsv开发集是啥?理解) 二、修改run_classify.py 阅读全文
posted @ 2020-11-26 21:34 qiezi_online 阅读(157) 评论(0) 推荐(0) 编辑
摘要: import numpy as np import matplotlib.pyplot as plt #创建自变量数bai组du x= np.linspace(0,2*np.pi,500) #创建函数值数组 y1 = np.sin(x) y2 = np.cos(x) y3 = np.sin(x*x) 阅读全文
posted @ 2020-11-26 11:59 qiezi_online 阅读(1531) 评论(0) 推荐(0) 编辑
摘要: for i in range(10000): print(i, end = "\r") print(end="\r") 滚动输出到屏幕 阅读全文
posted @ 2020-11-26 09:48 qiezi_online 阅读(387) 评论(0) 推荐(0) 编辑