Skip to content

transformers不兼容怎么解决 #67

Description

@yuhai5237

使用示例里面的版本,就会报错ImportError: cannot import name 'EncoderDecoderCache' from 'transformers',使用https://github.com/datawhalechina/self-llm/blob/master/models/Llama3_1/03-Llama3_1-8B-Instruct%20WebDemo%E9%83%A8%E7%BD%B2.md 这个连接里面的版本 pip install transformers==4.43.2,就会报错AttributeError: 'GenerationConfig' object has no attribute '_eos_token_tensor'
image
image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions