kmeng01 / rome

Locating and editing factual associations in GPT (NeurIPS 2022)
https://rome.baulab.info
MIT License
572 stars 123 forks source link

installation #42

Open ZHANGJINKUI opened 8 months ago

ZHANGJINKUI commented 8 months ago

Hello, can i ask some questions for you? why do I still have problems with the environment configuration now? Is the project no longer updated? Is it necessary to continue in this direction?

error: AttributeError: module 'notebook' has no attribute 'nbextensions'

WARNING: Discarding https://pypi.tuna.tsinghua.edu.cn/packages/38/b3/8511f50025b9fc66f5feacf9eb2db044c321f4026b6937cb3820f29e9c1d/checklist-0.0.11.tar.gz#sha256=427cf87dbf47ce9f9ab059a9bbf393d9ebf967e266f8fca377420bd6995a95ac (from https://pypi.tuna.tsinghua.edu.cn/simple/checklist/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ERROR: Could not find a version that satisfies the requirement checklist==0.0.11 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11) ERROR: No matching distribution found for checklist==0.0.11

failed

CondaEnvException: Pip failed

kmeng01 commented 8 months ago

Hi @ZHANGJINKUI, sorry about the issues.

It looks like the old dependencies required by KnowledgeNeurons are causing problems. I've simplified the rome.yml file accordingly and removed them (I'm guessing you're primarily interested in the FT, KE, MEND and ROME methods). See the updated code on this branch: https://github.com/kmeng01/rome/tree/dep-fix. Let me know if you need KN support, and I can look into it!

Is it necessary to continue in this direction?

I sure think and hope so :)