Git Product home page Git Product logo

Comments (3)

dtamayo-nlp avatar dtamayo-nlp commented on July 17, 2024

I do not know the exact details of this, but I can give you some insight. As you may know, when inserting the knowledge of prompts both methods, ROME and MEMIT, add some "noise" by adding previous tokens to the subject. They claim that:

Because the state will vary depending on tokens that precede s in text, we set $k^*$ to an average value over a small set of texts ending with the subject s.

The way in which these tokens are added is easy, but they changed it between ROME and MEMIT. While in ROME they sampled 20 texts to compute the prefix: ten of length 5 and ten of length 10, when looking at the MEMIT code there are only 5 samples of length 10. I have not found the details of this anywhere, but it seems like they have been experimenting with adding different types of noise tokens to see which one was better.

I do not think that it was an error. The reason for generating these paraphrased sentences is to test the model's ability to handle the same information presented differently. If they are deliberately adding variations to the paraphrased prompts and still obtaining good results in their evaluations, it suggests that their approach is capable of maintaining its performance even when introduced to such variations, demonstrating its robustness.

I hope it helps you a little. If someone knows the exact impact of the evaluation procedure, I will be glad to hear about it too.

from memit.

HichemAK avatar HichemAK commented on July 17, 2024

Thank you for your answer! Yes you may be right, they probably added these random sentences to account for the variable contexts in which these prompts can appear. But then why not adding them for the neighborhood prompts? the same reasoning applies to them too.

I hope we will hear more about what is the impact of these random sentences on the evaluation.

from memit.

dtamayo-nlp avatar dtamayo-nlp commented on July 17, 2024

I hope we will hear more about what is the impact of these random sentences on the evaluation.

Me too.

from memit.

Related Issues (17)

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.