five

kailinjiang/punkt

收藏
Hugging Face2024-07-05 更新2024-07-06 收录
下载链接:
https://hf-mirror.com/datasets/kailinjiang/punkt
下载链接
链接失效反馈
官方服务:
资源简介:
## 🛠️ Requirements and Installation ```text # 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 your Internet **speed is fast** enough, you can **run the code directly** from the command line. ```text 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') ``` - If your Internet **speed is slow**, **comment lines 32 and 33** and download punkt manually. And place it in the ICE environment directory you created, create a **nltk_data/tokenizers** folder, and **unpack punkt** into this directory. <div align="center"> <img src="punkt.png" width="650px"> </div>
提供机构:
kailinjiang
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作