Skip to content

Activation beacon输出乱码 #1548

@bestfleer

Description

@bestfleer

hi,我对Activation beacon工作非常感兴趣,想尝试使用hf上的例子跑该模型。但是输出结果是乱码。
使用的例子:
messages = [{"role": "user", "content": "Tell me about yourself."}]
输出:
Input Length: 24
Output: 'system\nYou are a helpful assistant.\nuser\nTell me about yourself.\nassistant\n - 10.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'

我使用的transformer版本是4.45.0,fa版本是2.7.2

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