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

@@ -3,7 +3,6 @@
# Usage: python api_demo.py --model_name_or_path path_to_model --checkpoint_dir path_to_checkpoint
# Visit http://localhost:8000/docs for document.
import uvicorn
from llmtuner import create_app