# clone ICE
git clone https://github.com/Yofuria/ICE.git
cd ICE
# create conda env
conda create -n ICE python=3.10
conda activate ICE
# install package
pip install -r requirements.txt
In lines 32 and 33 of examples/run_knowedit_llama2.py, you need to download the punkt package.
if __name__ == "__main__":
# If you have a slow Internet connection and can't download nltk quickly, comment these two lines and use the second method of Requirements and Installation in README.md
import nltk
nltk.download('punkt')
# clone ICE
git clone https://github.com/Yofuria/ICE.git
cd ICE
# create conda env
conda create -n ICE python=3.10
conda activate ICE
# install package
pip install -r requirements.txt
In lines 32 and 33 of examples/run_knowedit_llama2.py, you need to download the punkt package.
if __name__ == "__main__":
# If you have a slow Internet connection and can't download nltk quickly, comment these two lines and use the second method of Requirements and Installation in README.md
import nltk
nltk.download('punkt')