Comments (6)
有点问题,修改了下,你改下再试试看。
from pytorch_bert_bilstm_crf_ner.
感谢~这个没问题了,但92行拼接的时候还是出现的维度错误
from pytorch_bert_bilstm_crf_ner.
from pytorch_bert_bilstm_crf_ner.
再修改了下,看看能不能行,不行再打印下batch_output的形状看看是什么。
from pytorch_bert_bilstm_crf_ner.
这里显示batch_out.shape是(1,15),请问应该如何处理成32维呢?
from pytorch_bert_bilstm_crf_ner.
发现之前改错了,你再看看代码更新下。
from pytorch_bert_bilstm_crf_ner.
Related Issues (20)
- 换成BIO类型的数据应该怎么做? HOT 7
- 导出onnx问题 Error(s) in loading state_dict for BertNerModel: Unexpected key(s) in state_dict: "linear.weight", "linear.bias". HOT 2
- 对BERT模型进行继续预训练对提高性能是否有帮助? HOT 4
- 训练自己的数据,内存占用一直增长,直到吃满内存 HOT 2
- 请问一小pkl文件怎么处理得到? HOT 1
- > 我加你qq吧,你说下。 HOT 2
- 关于使用CRF文件将BERT+CRF模型转换为ONNX的问题 HOT 6
- 网页问题 HOT 1
- 英文实体识别的问题 HOT 1
- RuntimeError: expected predicate to be bool, got torch.uint8 HOT 1
- Albert问题 HOT 2
- AssertionError: pretrained bert file does not exist HOT 1
- 更换数据集后报CUDA error: device-side assert triggered HOT 1
- 求一份分词数据集 HOT 1
- 我的checkpoints文件夹是空的 HOT 1
- 这个命名实体识别的算法思路是什么? HOT 3
- 求助作者老师:在使用Bert和Bert-idnn-crf两个模型时会报如下错误:找不到model.pt。但是同样的参数Bert-crf和 bert-listm-crf则不会 HOT 1
- 训练结果召回率很低 HOT 1
- 数据增强部分应用自己数据集出现问题re.error: missing ), unterminated subpattern at position 0 HOT 2
- 自己数据集出现ValueError: too many values to unpack (expected 2)问题 HOT 2
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 pytorch_bert_bilstm_crf_ner.