Git Product home page Git Product logo

Comments (7)

pengzju avatar pengzju commented on August 24, 2024

We sample 10 texts from LMs to construct the prefix: five of length 5 and five of length 10. The intention is to ensure that the editor(WISE) accounts for the different contexts. In the paper we also provide this prefix for ROME, MEMIT, and GRACE

from easyedit.

pengzju avatar pengzju commented on August 24, 2024

We sample 10 texts from LMs to construct the prefix: five of length 5 and five of length 10. The intention is to ensure that the editor(WISE) accounts for the different contexts. In the paper we also provide this prefix for ROME, MEMIT, and GRACE

def get_context_templates(model, tok, length_params):

def get_context_templates(model, tok):

from easyedit.

SXxinxiaosong avatar SXxinxiaosong commented on August 24, 2024

谢谢~
实验过程中,print(context_templates)得到的prefix如下,这种没有意义的前缀对于WISE的Rel./Gen.有帮助吗?
['{}', 'I\n\n\n\n {}', 'You Are You Ready {}', 'Because\n\n\n {}', 'Yes\n\n\n {}', 'Q: What is the difference between {}', 'I\n\n\n\n\n\n\n\n\n {}', 'You Are You Ready to Take Your Business to {}', 'Because\n\n\nimport numpy as np\n {}', 'Yes\n\n\nimport numpy as np\n {}', 'Q: What is the difference between a "salesperson {}']

from easyedit.

pengzju avatar pengzju commented on August 24, 2024

很确定的说有,后续我会补充paper内容,目前wise还属于preprint版本。你也可以看看rome论文的附录Key Selection有相关讨论。

from easyedit.

SXxinxiaosong avatar SXxinxiaosong commented on August 24, 2024

请问是随机选择的前缀还是实验得到的这几个效果比较好?

from easyedit.

pengzju avatar pengzju commented on August 24, 2024

没有探索过,根据上下文我应该只尝试过你说的“实验得到的”,实验结果来看有比没有好,但什么形式/规则的前缀好并不清楚,It’s the future work.

from easyedit.

SXxinxiaosong avatar SXxinxiaosong commented on August 24, 2024

好的,谢谢您的解答~

from easyedit.

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.