We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我把/ChatHaruhi/Haruhi-2-Dev/ChatHaruhi/ChatGLM2GPT.py的get_response()函数改成了:
/ChatHaruhi/Haruhi-2-Dev/ChatHaruhi/ChatGLM2GPT.py
get_response()
response, history = self.model.chat(self.tokenizer, self.messages, history=[], do_sample=False),
基座模型Chatglm2-6b的modeling_chatglm.py的chat()改成了
modeling_chatglm.py
def chat(self, tokenizer, query: str, history: List[Tuple[str, str]] = None, max_length: int = 8192, num_beams=1, do_sample=True, logits_processor=None, **kwargs): gen_kwargs = {"max_length": max_length, "num_beams": num_beams, "do_sample": do_sample, "logits_processor": logits_processor, **kwargs}
然而每次推理使用同样的user和同样的提问,回答还是不一样。 embedding和搜索中哪个功能涉及随机性的可能性大一些?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我把
/ChatHaruhi/Haruhi-2-Dev/ChatHaruhi/ChatGLM2GPT.py
的get_response()
函数改成了:基座模型Chatglm2-6b的
modeling_chatglm.py
的chat()改成了然而每次推理使用同样的user和同样的提问,回答还是不一样。
embedding和搜索中哪个功能涉及随机性的可能性大一些?
The text was updated successfully, but these errors were encountered: