You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, I want to try the local HF model, but according to the sample code, an error will be reported
('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) I looked carefully,
def encode_string_by_tiktoken(content: str, model_name: str = "gpt-4o"):
global ENCODER
if ENCODER is None:
ENCODER = tiktoken.encoding_for_model(model_name)
Will chunking call openai? this make me confused,can you tell me why? and how to use local-noly models? thank you
The text was updated successfully, but these errors were encountered:
Actually, I want to try the local HF model, but according to the sample code, an error will be reported
('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) I looked carefully,
def encode_string_by_tiktoken(content: str, model_name: str = "gpt-4o"):
global ENCODER
if ENCODER is None:
ENCODER = tiktoken.encoding_for_model(model_name)
Will chunking call openai? this make me confused,can you tell me why? and how to use local-noly models? thank you
The text was updated successfully, but these errors were encountered: