FlagEmbedding icon indicating copy to clipboard operation
FlagEmbedding copied to clipboard

Activation beacon输出乱码

Open bestfleer opened this issue 1 month ago • 0 comments

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

bestfleer avatar Nov 18 '25 07:11 bestfleer