Giter VIP home page Giter VIP logo

mre-in-one-pass's People

Contributors

0xflotus avatar abhishekraok avatar aijunbai avatar ammarasmro avatar bogdandidenko avatar cbockman avatar craigcitro avatar dalequark avatar eric-haibin-lin avatar georgefeng avatar hsm207 avatar imcaspar avatar jacobdevlin-google avatar jasonjpu avatar msramalho avatar pengli09 avatar qwfy avatar rodgzilla avatar soloice avatar stefan-it avatar tianxin1860 avatar ywkim avatar zhaoyongke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mre-in-one-pass's Issues

[Hyperparameter Inquiry] Can't Reproduce ACE05 Results

Hi Haoyu,

Nice work on this MRE one-pass! I noticed that the commands in README.md are for SemEval 2018. Do you know what are the commands that you run ACE05 with? (We are especially curious about the hyperparameters.)

Thank you in advance for your information!

Best,
Zhijing

如何复现论文中的准确率

您好:
因为设备的限制,运行您的代码时候,只能设置batch_size=2,并将echo增加,但输出的准确度比论文中的准确度小了20%左右,不知道如何才能复现论文中提出的准确度,所以想来问一下,希望能得到您的答复。
十分感谢

此致
aimasa

error occured in run_classifier.py when runing evaluation

Q1: I wonder if train and eval code works ok in run_classifier.py, cuz i encountered error when evaluating which is caused by inconsistent dim of label_ids and predictions.

Q2: why dim of label_ids is [None,max_num_relations] but logits is [None, 6] ?? what does max_num_relations mean?
Could anybody please help me of exact dim transformation in output layer of this model ? Thanks in advance!!

Data

Hi Haoyu,

I noticed that you preprocessed the data files into tsv format. Do you have the preprocessing script for SemEval_raw_data -> your .tsv, and ACE05_data -> your .tsv? We have both data. And if you need, I can show you our LDC license, so that you can feel free to just send me your data. Thank you for making it easier to reproduce your paper and show them in our work following you.

Best,
Zhijing

Unable to locate the entity aware self attention code

I am trying to implement just the entity aware self-attention module of the paper and I cannot locate it in the run_classifier.py code. I will be grateful if someone can point me at the self-attention implementation code so I can get my work started.
Thanks in advance.

Error when running Training (MRE) example ( refer in README.md)

Error imformation:
INFO:tensorflow:Error recorded from evaluation_loop: Can not squeeze dim[1], expected a dimension of 1, got 12 for 'remove_squeezable_dimensions/Squeeze' (op: 'Squeeze') with input shapes: [?,12].
在调用示例中的多关系抽取时做evaluation时的报错,training时没报错,请问该如何解决?

求源代码,多谢

最近在从事多关系抽取方面的工作,请问能把论文的源代码给我发一份吗,多谢!

Why not SemEval 2018 Task7.2?

Hi Haoyu,

SemEval 2018 Task 7 Subtask 2 is more of Relation Extraction and Task 7 Subtask 1.1 is more of Relation Classification (which does not have "No_Relation"). Is there some reason why you used Subtask 1.1 instead of Subtask 2? Thank you!

Best,
Zhijing

Run prediction script on TPU

Dear authors,

When we do the following:

!python run_classifier.py --task_name=semeval --do_train=false --do_eval=false --do_predict=true --data_dir=<data-dir> --vocab_file=$BUCKET_NAME/BERT-large-cased/vocab.txt --bert_config_file=$BUCKET_NAME/BERT-large-cased/bert_config.json --init_checkpoint=$BUCKET_NAME/BERT-large-cased/bert_model.ckpt --max_seq_length=128 --predict_batch_size=16 --max_num_relations=12 --do_lower_case=False --use_tpu=True --tpu_name=<address> --output_dir=$OUTPUT_DIR

the following error is displayed

 File "run_classifier.py", line 424, in convert_single_example
    is_real_example=False)
TypeError: __init__() got an unexpected keyword argument 'is_real_example'

My guess is the fix would need to be applied at Line 424? Then the InputFeatures class (Line 178) initialization would work.

Could you kindly provide the list of arguments we would need to supply in order to enable the function? Or at least some direction to resolve the error to run the prediction script on TPU would be most appreciated.

Thank you very much.

Unable to find the entities from the predicted result

Hi,
I have successfully trained the model and did prediction, but I couldn't get the entities along with the relationship predicted. I was wondering which entities from the sentence that the predicted relationship is connecting to. Thanks.

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.