上一页 1 ··· 10 11 12 13 14
摘要: (来自BERT论文) config文件定义了模型的超参数。 但是,由于此模型在64GB内存上训练,所以如果个人使用的话,需要调整超参数。 内存大小影响因子包括: max_seq_length,发布模型长度不超过512,你可以使用更短的。 train_batch_size(成正比) Model typ 阅读全文
posted @ 2020-10-25 19:57 千心 阅读(846) 评论(0) 推荐(0)
摘要: npm config set registry https://mirrors.huaweicloud.com/repository/npm/ && yarn config set registry https://mirrors.huaweicloud.com/yarn yarn config s 阅读全文
posted @ 2020-10-23 16:52 千心 阅读(255) 评论(0) 推荐(0)
摘要: At first, “programming” has nothing to do with writing code. It simply means filling up a table, like in making a TV/radio schedule. A deliberately mi 阅读全文
posted @ 2020-10-11 14:56 千心 阅读(263) 评论(0) 推荐(0)
摘要: class _BaseRidge(LinearModel, metaclass=ABCMeta): @abstractmethod @_deprecate_positional_args def __init__(self, alpha=1.0, *, fit_intercept=True, nor 阅读全文
posted @ 2020-10-11 10:34 千心 阅读(331) 评论(0) 推荐(0)
摘要: 注意:本目录中的所有模型均使用BertTokenizer以及BertModel加载,请勿使用RobertaTokenizer/RobertaModel! https://github.com/ymcui/Chinese-BERT-wwm#faq 需要注意的是,该模型并非原版RoBERTa模型,只是按 阅读全文
posted @ 2020-10-03 18:11 千心 阅读(274) 评论(0) 推荐(0)
摘要: import numpy as np #将数据降维的函数,输出值一定在-1~1之间,可以定性(男/女) def sigmoid(x): return 1 / (1 + np.exp(-x)) def deriv_sigmoid(x): fx = sigmoid(x) return fx * (1 - 阅读全文
posted @ 2020-09-18 17:40 千心 阅读(222) 评论(0) 推荐(0)
摘要: Meet your new best friend, Pareto - The Pareto principle states that for most things, 80% of the results come from 20% of the causes. Before you even 阅读全文
posted @ 2020-09-15 17:11 千心 阅读(422) 评论(0) 推荐(0)
摘要: 前文提要 上章我们建立了模型来拟合数据,这章我们将检验模型。 Model-Validation(check accuracy,验证) You've built a model. But how good is it? In this lesson, you will learn to use mod 阅读全文
posted @ 2020-09-03 09:17 千心 阅读(137) 评论(0) 推荐(0)
摘要: How-Models-Work Introduction We'll start with an overview of how machine learning models work and how they are used. This may feel basic if you've don 阅读全文
posted @ 2020-08-29 13:34 千心 阅读(365) 评论(0) 推荐(0)
摘要: 字节跳动cdn公共库 http://cdn.bytedance.com/ 猫云 https://www.bootcdn.cn/ 1. Staticfile CDN http://www.staticfile.org/ 7. Microsoft Ajax CDN https://docs.micros 阅读全文
posted @ 2020-07-19 21:08 千心 阅读(261) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14