摘要:
github参考:https://github.com/wangjiwu/BERT-sentiment--classification 一、准备数据 bert官方与训练数据下载 自己的数据集,(训练集,测试集,开发集)(ps:dev.tsv开发集是啥?理解) 二、修改run_classify.py 阅读全文
摘要:
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) 阅读全文
摘要:
for i in range(10000): print(i, end = "\r") print(end="\r") 滚动输出到屏幕 阅读全文