Skip to content

_extract_past_from_model_output() got an unexpected keyword argument 'standardize_cache_format' #160

@smartadpole

Description

@smartadpole
开始加载模型配置
No sentence-transformers model found with name GanymedeNil/text2vec-base-chinese. Creating a new one with MEAN pooling.
/media/hao/work/LIB/python/webLLM/lib/python3.8/site-packages/transformers/tokenization_utils_base.py:1601: FutureWarning: `clean_up_tokenization_spaces` was not set. It will be set to `True` by default. This behavior will be depracted in transformers v4.45, and will be then set to `False` by default. For more details check this issue: https://github.com/huggingface/transformers/issues/31884
  warnings.warn(
No sentence-transformers model found with name GanymedeNil/text2vec-base-chinese. Creating a new one with MEAN pooling.
Loading checkpoint shards: 100%|██████████| 7/7 [00:08<00:00,  1.28s/it]
模型配置加载成功
Backend TkAgg is interactive backend. Turning interactive mode on.
加载模型出错: _extract_past_from_model_output() got an unexpected keyword argument 'standardize_cache_format'
Running on local URL:  http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions