-
Notifications
You must be signed in to change notification settings - Fork 835
Description
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