Comments (11)
你的词典文件没有改名 需要改为vocab.txt
from bert-chinese-text-classification-pytorch.
你的词典文件没有改名 需要改为vocab.txt
已经改的就是这个了呀
我运行过程出现了和你一样的错 然后发现是自己的词典的文件改名没有改名字,改了名字只有就正确运行了 你可以检查以下词典的位置是不是正确了 需要和模型在一个文件夹下
from bert-chinese-text-classification-pytorch.
那个连接无法下载,请问应该如何获得votab.txt呢。还有就是如果使用了自己的数据集,想从新训练vocab的话,那不是还会出现NoneType' object has no attribute 'tokenize问题嘛???求解答,求帮助,感谢好心人~~~~~~~~~
from bert-chinese-text-classification-pytorch.
请问如何下载vocab.txt的?
README里面有噢
词表 https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-chinese-vocab.txt
来自这里
from bert-chinese-text-classification-pytorch.
我也是这个问题,改名成vocab.txt已经成功了
from bert-chinese-text-classification-pytorch.
你的词典文件没有改名 需要改为vocab.txt
已经改的就是这个了呀
from bert-chinese-text-classification-pytorch.
你的词典文件没有改名 需要改为vocab.txt
已经改的就是这个了呀
我运行过程出现了和你一样的错 然后发现是自己的词典的文件改名没有改名字,改了名字只有就正确运行了 你可以检查以下词典的位置是不是正确了 需要和模型在一个文件夹下
词典和模型是在一个文件夹下的,可还是不行诶,可以留您一个联系方式细聊吗
from bert-chinese-text-classification-pytorch.
你的词典文件没有改名 需要改为vocab.txt
已经改的就是这个了呀
我运行过程出现了和你一样的错 然后发现是自己的词典的文件改名没有改名字,改了名字只有就正确运行了 你可以检查以下词典的位置是不是正确了 需要和模型在一个文件夹下词典和模型是在一个文件夹下的,可还是不行诶,可以留您一个联系方式细聊吗
from bert-chinese-text-classification-pytorch.
要在bert_pretrain文件夹里加上vocab.txt
from bert-chinese-text-classification-pytorch.
请问如何下载vocab.txt的?
from bert-chinese-text-classification-pytorch.
你的词典文件没有改名 需要改为vocab.txt
已经改的就是这个了呀
我运行过程出现了和你一样的错 然后发现是自己的词典的文件改名没有改名字,改了名字只有就正确运行了 你可以检查以下词典的位置是不是正确了 需要和模型在一个文件夹下词典和模型是在一个文件夹下的,可还是不行诶,可以留您一个联系方式细聊吗
请问你解决了吗?我也遇到了同样的问题!想请教你一下!感谢!
from bert-chinese-text-classification-pytorch.
Related Issues (20)
- 怎么测试自己的数据 HOT 1
- Question about masked language model
- 如何改繁體訓練
- 训练的准确率过低 HOT 1
- python: can't open file 'D:\Bert-Chinese-Text-Classification-Pytorch-master\run.py': [Errno 2] No such file or directory
- 字向量维度是768吗
- 请问一下,模型跑出来的结果,只有准确率 丢失率等等这些吗?具体的每个句子的用bert进行分类的标签,在哪里可以看到呀? HOT 7
- OSError: Can't load the model for 'D:\Bert-Chinese-Text-Classification-Pytorch-master\THUCNews\saved_dicert.ckpt'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'D:\Bert-Chinese-Text-Classification-Pytorch-master\THUCNews\saved_dicert.ckpt' is the correct path to a di rectory containing a file named pytorch_model.bin, tf_model.h5, model.ckpt or flax_model.msgpack.
- 模型准确率 HOT 1
- 已经微调好的模型调用不了怎么办?只生成一个bert.ckpt文件
- 为什么预测的结果不太准呀?而且每预测一次,得到的分类结果不一样 HOT 5
- 我加载了微调之后的权重模型bert.ckpt用他来进行短文本预测 但是每次运行文件时的预测结果都会变化且预测效果不好 应该怎么解决呀?
- 请问在调用模型预测时 出现这个报错是为什么?且预测的结果不太准,跟这个报错有关系吗
- 请问有人使用ernie在自己数据集上做训练的时候loss无法下降,准确率上不来嘛?同样的数据bert很正常
- 词表下载链接好像不太对,无法下载 HOT 4
- 能否通过调接口的方式来进行训练,每次启动都要训练好久
- 小白想问下能否用这个代码训练Roberta模型
- 求大佬解答,按照词分割,具体怎么改
- 词表txt文件 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 bert-chinese-text-classification-pytorch.