Closed HungryFour closed 5 months ago
hi @HungryFour , set_prompt()
has been removed in the latest version. You can specify a prompt in the encode(..., prompt=Prompts.C)
function.
Here is an example: https://angle.readthedocs.io/en/latest/notes/quickstart.html#infer-bert-based-model
For more arguments of encode()
function, please refer to: https://angle.readthedocs.io/en/latest/autoapi/angle_emb/index.html#angle_emb.AnglE.encode
Thank you so much for addressing my issue! I really appreciate the quick response and resolution. Your help has made a significant difference, and I'm grateful for the support. Keep up the great work!
Best regards,
Mac mini 14.2.1 (23C71) angle-emb==0.4.5
get error