Cyberbolt / Cemotion

A Chinese NLP library based on BERT for sentiment analysis and general-purpose Chinese word segmentation. | 基于 BERT 的中文 NLP 库,用于中文情感倾向分析、通用领域中文分词。
MIT License
187 stars 22 forks source link

默认安装torch最新2.1.1,但是torchvision 0.13.0 requires torch==1.12.0,降级后提示这个库必须要torch2.0,自相矛盾了属于是 #8

Closed heavytable closed 10 months ago

Cyberbolt commented 10 months ago
install_requires=[
    'tqdm>=4.64.1',
    'joblib>=1.0.0',
    'requests>=2.25.1',
    'numpy>=1.19.5',
    'torch>=2.0.0',
    'transformers==4.24.0',
]    

这是项目的依赖要求,你可以新建一个全新的虚拟环境试试。直接 pip install Cemotion