# 请在此处粘贴运行日志(请粘贴在本代码块里)
Namespace(file_path='mydoc.txt', model_path='chinese-alpaca-2-7b-hf', gpu_id='0', chain_type='refine')
loading LLM...
You are using the legacy behaviour of the <class 'transformers.models.llama.tokenization_llama.LlamaTokenizer'>. This means that tokens that come after special tokens will not be properly handled. We recommend you to read the related pull request available at https://github.com/huggingface/transformers/pull/24565
Loading checkpoint shards: 100%|██████████| 2/2 [01:19<00:00, 39.64s/it]
Xformers is not installed correctly. If you want to use memory_efficient_attention to accelerate training use the following command to install Xformers
pip install xformers.
Traceback (most recent call last):
File "C:\Users\zx-cent\PycharmProjects\pythonaimodel\my_test.py", line 54, in <module>
model = HuggingFacePipeline.from_model_id(model_id=model_path,
File "C:\Users\zx-cent\.conda\envs\pythonaivenv\lib\site-packages\langchain\llms\huggingface_pipeline.py", line 130, in from_model_id
return cls(
File "pydantic\main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for HuggingFacePipeline
pipeline_kwargs
extra fields not permitted (type=value_error.extra)
提交前必须检查以下项目
问题类型
其他问题
基础模型
Chinese-Alpaca-2 (7B/13B)
操作系统
Windows
详细描述问题
上次说是模型不一样,换了一个模型使用的是![image](https://github.com/ymcui/Chinese-LLaMA-Alpaca-2/assets/70195780/be34319e-ab6e-439f-8e4d-54b7da3b4176)
依赖情况(代码类问题务必提供)
运行日志或截图