Comments (9)
看下bert的实现代码吧,看了就知道这些参数信息了,虽然本人也还没认真看过bert的源码。
from ttt.
看下bert的实现代码吧,看了就知道这些参数信息了,虽然本人也还没认真看过bert的源码。
你好请问这个模型有成功运行吗? 求一下运行方法
from ttt.
from ttt.
您好,您在下面的代码模块儿做了哪些处理呢,可以举个例子吗
bert_ckpt= torch.load(args.bert_path)
bert_args = bert_ckpt['args']
from ttt.
您好,您在下面的代码模块儿做了哪些处理呢,可以举个例子吗
bert_ckpt= torch.load(args.bert_path)
bert_args = bert_ckpt['args']
from ttt.
在
main.py
文件里开始训练的时候需要加载模型,模型内容包括了训练时的参数'args'
,但是初次训练的话并没有这个参数,请问该如何获得?bert_ckpt= torch.load(args.bert_path) bert_args = bert_ckpt['args']
而且,在加载模型的时候需要
bert_args.embed_dim
这些参数,代码里也没有找到,想问一下是否能够开源一个已经训练好的模型?bert_model = BERTLM(device, bert_vocab, bert_args.embed_dim, bert_args.ff_embed_dim, bert_args.num_heads, \ bert_args.dropout, bert_args.layers, bert_args.approx)
另外,模型训练的超参数是和
train.sh
里一致的吗?
您好,您这块儿运行起来了吗?如果运行起来是否可以分享下这块儿的修改代码
from ttt.
@fujunying2018 没跑起来,最近也没看了,上边有人说成功了,我给你@了
from ttt.
好的,谢谢
from ttt.
Will release it before 31 Dec.
from ttt.
Related Issues (20)
- 作者近期有上传模型的打算吗?我把bert文件加载进来,运行起来报错 HOT 1
- 能否提供下预训练的代码呢 HOT 1
- 为什么在提供的数据中只看到equal(E)和replace(R)操作,没有delete(D)、insert(I)操作 HOT 2
- 关于数据问题 HOT 1
- 关于评估问题 HOT 2
- 运行问题 HOT 3
- repetitive issue, delete this please
- Having trouble reproducting results in the paper HOT 1
- 标签 HOT 1
- 这代码能跑起来? HOT 2
- bert_1559999 指的是什么 HOT 1
- data
- 训练的疑问 HOT 1
- 请问预训练的bert模型用的什么语料训练呀?
- 测试的时候,为什么阿拉伯数字和字母会被预测成<not Chinese>? HOT 1
- 如何复现SIGHAN15数据集上的结果? HOT 3
- 关于TtT数据集
- Clarifications
- 不是很懂变长度的句子错误怎么处理的? HOT 1
- 数据集
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ttt.