create chat model

This commit is contained in:
hiyouga
2023-07-15 19:26:20 +08:00
parent d640c5545f
commit 657cf0f55a
8 changed files with 117 additions and 89 deletions

View File

@@ -1,6 +1,5 @@
from llmtuner.api import create_app
from llmtuner.extras.misc import get_logits_processor
from llmtuner.extras.template import Template
from llmtuner.chat import ChatModel
from llmtuner.tuner import get_train_args, get_infer_args, load_model_and_tokenizer, run_pt, run_sft, run_rm, run_ppo