Comments (10)
请问您是自动下载BERT还是BERT下载到本地后手动填写模型路径?
from deepke.
请问您是自动下载BERT还是BERT下载到本地后手动填写模型路径?
手动填写路径
您提到的,模型路径修改是在哪个文件夹里?目前已经跑通RE,但是到了NER任务时出现问题
from deepke.
https://github.com/zjunlp/DeepKE/blob/main/example/ner/standard/conf/hydra/model/bert.yaml#L2 WIN的路径中请使用\
from deepke.
https://github.com/zjunlp/DeepKE/blob/main/example/ner/standard/conf/hydra/model/bert.yaml#L2 WIN的路径中请使用\
好的,谢谢,已改正
from deepke.
请问您的问题是否已解决?
from deepke.
请问您的问题是否已解决?
暂未
您好,运行predict.py后,仅出现如下结果:
那么请教问题:
1、这些标签分别是什么意思,在哪个文件可以看到这些标签的注释(如,已知per为人物,B-per、I-PER等等分别指什么)
2、这个任务的输出和RE任务的输出貌似不一样,那么如何继续实现ner任务:当输入一个样本句子,出来人物,地点和机构(如输入:本报北京9月4日讯记者杨涌报道:部分省区人民日报宣传发行工作座谈会9月3日在4日在京举行,输出:Person-杨勇等类似您展示的案例),期待您的回复!
from deepke.
- 这是NER的BIO标签,B-表示entity mention的开始token,I-表示entity mention的后续token;
- 修改https://github.com/zjunlp/DeepKE/blob/main/example/ner/standard/conf/predict.yaml#L1,即可指定想要实现NER的上下文。
from deepke.
请问您的问题是否已解决?
- 这是NER的BIO标签,B-表示entity mention的开始token,I-表示entity mention的后续token;
- 修改https://github.com/zjunlp/DeepKE/blob/main/example/ner/standard/conf/predict.yaml#L1,即可指定想要实现NER的上下文。
好的,谢谢,还有一个问题,是否有改良版本的代码,直接输出:( person:杨涌),而非一个一个字;
试了下被注释掉的代码,貌似不太行:
from deepke.
https://github.com/zjunlp/DeepKE/blob/main/src/deepke/name_entity_re/standard/models/InferBert.py#L167-L189 这里有参考的代码,可以自行按需修改
from deepke.
https://github.com/zjunlp/DeepKE/blob/main/src/deepke/name_entity_re/standard/models/InferBert.py#L167-L189 这里有参考的代码,可以自行按需修改
谢谢,发现问了很多stupid问题,再问一个:
如果想要修改数据集重新训练任务,标注文本和设置新标签,请问有什么建议,有哪些基本步骤或者行动框架,(除了三个数据集需要替换,还有需要替换的文本或者词典吗,暂不考虑bug问题)
from deepke.
Related Issues (20)
- 关于DeepKE-LLM训练时的数据转换 HOT 4
- 微调oneke HOT 9
- 关于利用LoRa微调后调用结果模型 HOT 2
- 全量微调权重保存 HOT 2
- 关于数据标注的问题 HOT 3
- DeepKE中RE模型问题咨询 HOT 14
- 关于re 文档级别抽取预测结果的问题 HOT 4
- DeepKE-cnSchema使用遇到问题 HOT 7
- 关于ie2instruction的数据转换Bug问题
- Deep-KE中cnschema问题咨询 HOT 2
- GLM-4训练 HOT 2
- 这里怎么贴了三个知乎的跳转链接 HOT 2
- 关于re standard预测模型的选择 HOT 6
- PermissionError: [Errno 13] Permission denied
- where is the fintuing_pt.py in InstructKGC HOT 1
- 使用ner few-shot 自定义中文数据集训练的模型,predict预测的时候报错 HOT 3
- example下的ee执行predict.py报错 HOT 10
- llm总是输出重复,有什么参数要改的吗, HOT 6
- llm范例run.py执行问题
- 【可复现】调用OneKE模型库,输出内容不可解析的JSON,内容大量重复。 HOT 4
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 deepke.