Untitled conversation
Private research annotation
Sign in to add a private research label or note.
- User
[['cuda', 'fp16']] Exception in thread Thread-1 (load_model): Traceback (most recent call last): File "D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\threading.py", line 1038, in _bootstrap_inner self.run() File "D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\threading.py", line 975, in run self._target(*self._args, **self._kwargs) File "D:\wenda\wenda\wenda.py", line 41, in load_model LLM.load_model() File "D:\wenda\wenda\plugins\llm_glm6b.py", line 66, in load_model tokenizer = AutoTokenizer.from_pretrained( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\transformers\models\auto\tokenization_auto.py", line 613, in from_pretrained config = AutoConfig.from_pretrained( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\transformers\models\auto\configuration_auto.py", line 852, in from_pretrained config_dict, unused_kwargs = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\transformers\configuration_utils.py", line 565, in get_config_dict config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\transformers\configuration_utils.py", line 620, in _get_config_dict resolved_config_file = cached_file( ^^^^^^^^^^^^ File "D:\wenda\wenda\WPy64-31110\python-3.11.1.amd64\Lib\site-packages\transformers\utils\hub.py", line 380, in cached_file raise EnvironmentError( OSError: model/ChatGLM-6B-main does not appear to have a file named config.json. Checkout 'https://huggingface.co/model/ChatGLM-6B-main/None' for available files. No sentence-transformers model found with name model/text2vec-large-chinese. Creating a new one with MEAN pooling.
- Assistant
The first error message seems to indicate an issue with loading a model due to missing files. Specifically, it looks like the model file "model/ChatGLM-6B-main" does not have a "config.json" file. The second error message indicates that no sentence-transformers model was found with the name "model/text2vec-large-chinese", so it is creating a new model with MEAN pooling instead.
- User
中文
- Assistant
第一条错误信息似乎表示出现了加载模型的问题,原因可能是缺少文件。具体而言,看起来模型文件“model/ChatGLM-6B-main”没有“config.json”文件。第二条错误信息表示没有找到名称为“model/text2vec-large-chinese”的句子嵌入模型,因此正在创建一个新模型并使用MEAN池化。
- User
Loading model/RWKV-4-Raven-3B-v11-Eng49%-Chn49%-Jpn1%-Other1%-20230429-ctx4096.pth ... serving on 0.0.0.0:17860 view at http://127.0.0.1:17860 Strategy: (total 32+1=33 layers)
- Assistant
第一行是加载一个名为"RWKV-4-Raven-3B-v11-Eng49%-Chn49%-Jpn1%-Other1%-20230429-ctx4096.pth"的模型,这个模型使用了cuda并设置了float16数据类型。接下来是一些关于模型结构以及存储方式的信息。但是之后在加载模型时出现了一个错误。错误信息中指出找不到NVIDIA驱动,建议检查是否安装了NVIDIA GPU以及从http://www.nvidia.com/Download/index.aspx下载了相应的驱动。第二段错误信息表示缺少名为"model/text2vec-large-chinese"的句子嵌入模型,正在创建一个新的模型并使用MEAN池化。最后一行提示知识库加载完成。