<ipython-input-16-57327be21084> in <cell line: 8>()
6 import nemo.collections.asr as nemo_asr
7 # Import Natural Language Processing collection
----> 8 import nemo.collections.nlp as nemo_nlp
9 # Import Speech Synthesis collection
10 import nemo.collections.tts as nemo_tts
ImportError: cannot import name 'ALBERT_PRETRAINED_MODEL_ARCHIVE_LIST' from 'transformers' (/usr/local/lib/python3.10/dist-packages/transformers/__init__.py)
复制代码
/usr/local/lib/python3.10/dist-packages/nemo/collections/nlp/modules/common/huggingface/huggingface_utils.py in <module> 16 from typing import List, Optional 17 ---> 18 from transformers import ( 19 ALBERT_PRETRAINED_MODEL_ARCHIVE_LIST, 20 BERT_PRETRAINED_MODEL_ARCHIVE_LIST,
分析和办理