Ultimate_96B_Chat / chat_bot_v2.py
sillynugget's picture
Upload 4 files
17ffc4f
raw
history blame contribute delete
408 Bytes
# from cybermodel.model import set_model
# from cybermodel.chatbot import run_bot
from cybermodel import set_model, run_bot
if __name__ == "__main__":
model_name = "cyberagent/open-calm-large"
model, tokenizer = set_model(model_name=model_name)
first_text = "γƒœγƒƒγƒˆ: ハロー!γͺγ‚“γ γ„οΌŸ"
you_text = "あγͺた:"
run_bot(model, tokenizer, first_text, you_text, max_count=1)