Git Product home page Git Product logo

pararel's People

Contributors

norakassner avatar yanaiela 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

Watchers

 avatar  avatar

pararel's Issues

How to get the same results presented in Table 3?

Thanks for releasing the code and data. This work is really amazing.
I'm trying to get identical results with Table 3 in the paper (https://arxiv.org/pdf/2102.01017.pdf). I run run_lm_consistent.py with --baseline or Roberta-base models, then average the "lama_acc", "consistency", "lama_group_acc" metrics over relations, the results are:

reproduce with roberta-base

reproduce average over 38 relations average over 31 N-1 relations in paper roberta-base
lama_acc 0.356008 0.387121 accuracy 39
lama_group_acc 0.152222 0.164011 accuracy&consistency 16.4
consistency 0.506783 0.520455 consistency 52.1

reproduce with --baseline

reproduce average over 38 relations average over 31 N-1 relations in paper majority
lama_acc 0.24693 0.227869 accuracy 23.1
lama_group_acc 0.24693 0.227869 accuracy&consistency 23.1
consistency 1 1 consistency 100

I place the reproduction results on the left side and the result from the paper on the right side.

I got almost the same "consistency" with Table 3 by averaging over 31 relations. But the "accuracy" metrics are slightly different.
How can I get the same probing results with the paper for the baseline models? Do I miss something in the procedure? Thanks for your help.

Which three relations have you filtered and how to get the exactly result presented in table 3?

Hello! Thanks for releasing the code and data.
When I tried to reproduce the results, I found there are 39 relations here [https://github.com/yanaiela/pararel/tree/main/data/pattern_ data/graphs_json.] while in the article they should be 38.
I wonder if I have miss anything to filter the data and a little confused about which one should be removed.

Meanwhile, I tried to reproduce the results in table 2 and 3. So after filtering, I run run_lm_consistent.py with bert-base-cased as language model. However, the results are slightly different.

Here are the comparison of my result and the original ones represented in your paper.

metrics results original
Consistency 58.72402028656049+-23.441761447607665 58.5+-24.2
Accuracy 43.5833928562685+-26.147602234172046 45.8+-26.1
Unk-Const 48.17776229348506+-22.316262495803235 46.5+-21.7
known-Const 62.54802072504408+-24.32609269135139 63.8+-24.5

Do you have any idea about what I may miss in the procedure and what can I do to get the same result?
Thanks for your kindly help.

The code for Figure 3

Hi~
I'm wondering if the code of Figure 3, t-SNE could be added into the repository?

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.