Comments (9)
Sorry for the missing files.
Those files are available now.
https://github.com/zjunlp/openue/blob/master/pretrained_model/download_bert_cn.sh
https://github.com/zjunlp/openue/blob/master/raw_data/download_ske_dataset.sh
https://github.com/zjunlp/openue/blob/master/export_seq.sh
https://github.com/zjunlp/openue/blob/master/serving.sh
We are also developing a Pytorch version and will be released soon. Feel free to try it.
from openue.
thank you for the quick reply. I was wondering if the model only available for Chinese?
I tried running sh preprocess.sh ske but it seemed that this was looking for chinese bert
Is there a way to run this on English version? (I also downloaded english bert)
Thank you!
from openue.
You can change the line 9 and line 10 with the English bert in the file config.py.
from openue.
do you by any chance have a sample of prediction for English version?
from openue.
just use the same input format like: oneline with {"text":"Obama was born in Honolulu", "spo_list":["predicate":"borin_in","subject":"Obama","object":"Honolulu"]}
from openue.
sorry for a lot of questions, what dataset was the model trained on?
can I train with a new dataset? & and if you can provide methods? it would be great :)
Thank you
from openue.
we train the model with NYT, WebNLG, and Wikidata which can be obtained from https://github.com/zjunlp/IEDatasetZoo.
Feel free to train a new dataset, but the hyperparameter optimization is boring.
from openue.
when I use download_ske_dataset.sh I get chinese raw_data.
Can you provide a link that provides english raw data?
from openue.
You can obtain nyt and webnlg from https://github.com/weizhepei/CasRel/tree/master/data and wikidata from https://public.ukp.informatik.tu-darmstadt.de/UKP_Webpage/DATA/WikipediaWikidataDistantSupervisionAnnotations.v1.0.zip
from openue.
Related Issues (20)
- 模型训练中断 HOT 3
- predict_online.py没有找到捏 HOT 1
- 新版本改动有点多啊 HOT 1
- 按照ske.ipynb的流程测试,但是F1值为0,ner和seq的指标值也很低,这个是什么原因 HOT 2
- 一些运行在Google Colab的问题 HOT 5
- colab模型路径保存问题 HOT 1
- 找不到setup_config.json HOT 5
- 请问ske.ipynb中的数据集../dataset/ske/train.json可以提供吗?原始下载路径http://lic2019.ccf.org.cn/kg似乎失效 HOT 1
- ske.ipynb中的推理config名字是否错了 HOT 1
- 源代码能做事件抽取吗 HOT 2
- colab无法做验证模型 HOT 1
- loss不变 HOT 2
- 怎么用这个将已经训练好的模型进行知识抽取呢 HOT 10
- 运行 run_ner/seq.sh 无反应,并没有下载对应的 ./dataset HOT 1
- run_seq.sh报错:Can't pickle local object 'get_linear_schedule_with_warmup.<locals>.lr_lambda' HOT 1
- ImportError: cannot import name 'get_num_classes' from 'torchmetrics.utilities.data' HOT 2
- 请问一下用于事件抽取的数据集格式 HOT 2
- 数据集格式问题 HOT 1
- openue是pipeline方法还是联合抽取方法? HOT 1
- AttributeError: type object 'Trainer' has no attribute 'add_argparse_args' 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 openue.