Comments (5)
If you want to apply MEND
to your model, you should pretrain the meta-networks. You can get more details here:
https://github.com/zjunlp/EasyEdit#trainer
from easyedit.
Thanks for clarifying this.
To try a sample script, could you point me to the sample prompt json for ROME? I have tried using the one in readme, but I got the following error.
assert request['subject'] in request['prompt'] or
from easyedit.
If you want to apply ROME
to your model, you have to make sure that the subject
exists in your input prompt
, because the essence of the rome method is to modify the representation of the subject's position. For details, please refer to the paper https://arxiv.org/abs/2202.05262
from easyedit.
Thanks for the clarification. I have found the collab link and the script is running fine now. I will test further with that.
from easyedit.
Great!
from easyedit.
Related Issues (20)
- Llama2 ROME index out of bound HOT 4
- ROME + GPT-2XL + zSRE replicate results HOT 6
- ROME + llama-2-7b +" Can't load the configuration of './hugging_cache/llama-2-7b'" HOT 9
- Any batch size to recommend for MEMIT batch edit? HOT 4
- does not appear to have a file named config.json HOT 2
- personality edit code HOT 4
- personality edit code
- personality edit code
- Does EasyEdit support training on H800? HOT 5
- L1-distance between original and edited model weights is 0!! HOT 2
- Knowledge Editing with BERT on FEVER Dataset HOT 1
- 在使用KN编辑Chatglm2-6b时出现TypeError报错 HOT 2
- Test case for ChatGLM2 HOT 2
- KN doesn't work on Llama model HOT 6
- Provide MEND and SERAC trained models HOT 9
- Implement performance on ground truth in pre and post measures HOT 1
- Git too fast, can't see the result. HOT 1
- 能否出个qwen的相关tutorial HOT 4
- About Baichuan HOT 2
- I use two A40 GPUs and KN to edit llama2-7b. But the result is still OOM. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easyedit.