Comments (4)
Hi there! Could you be more specific about what you ran?
Have you employed the batch_edit()
when you edit thousands knowledge simultaneously?
Meanwhile, you should change the batch_size.
from easyedit.
Hi there! Could you be more specific about what you ran? Have you employed the
batch_edit()
when you edit thousands knowledge simultaneously? Meanwhile, you should change the batch_size.
I used batch_edit(), but I found that I didn't add the batch_size parameter to the yaml file, and I'll experiment further to see if it works. Thank you for your reply !
from easyedit.
- The default batch_size is 1: https://github.com/zjunlp/EasyEdit/blob/main/easyeditor/models/memit/memit_hparams.py#L43
- You can add the
batch_size
field to yaml and usebatch_edit
function for batch editing
from easyedit.
Hello, I'm editing MEMIT on llama-7b and llama-13b models with thousands of edits. Is there any batch size that you recommend?
from easyedit.
Related Issues (20)
- Colab errors when running EasyEdit_Example_ROME_llama.ipynb HOT 1
- Issues while running the repo HOT 3
- Use two GPU HOT 10
- Issue while running with device='auto' HOT 3
- Tutorial on injecting or adding new knowledge HOT 6
- 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
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.