Git Product home page Git Product logo

Comments (9)

zxlzr avatar zxlzr commented on June 8, 2024

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.

ChloeJKim avatar ChloeJKim commented on June 8, 2024

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
image

Is there a way to run this on English version? (I also downloaded english bert)

Thank you!

from openue.

zxlzr avatar zxlzr commented on June 8, 2024

You can change the line 9 and line 10 with the English bert in the file config.py.
image

from openue.

ChloeJKim avatar ChloeJKim commented on June 8, 2024

do you by any chance have a sample of prediction for English version?

from openue.

zxlzr avatar zxlzr commented on June 8, 2024

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.

ChloeJKim avatar ChloeJKim commented on June 8, 2024

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.

zxlzr avatar zxlzr commented on June 8, 2024

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.

ChloeJKim avatar ChloeJKim commented on June 8, 2024

when I use download_ske_dataset.sh I get chinese raw_data.
Can you provide a link that provides english raw data?

from openue.

zxlzr avatar zxlzr commented on June 8, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.