create chat model

Former-commit-id: bddf583b2fc099c957a1037418bd8504a837663e
This commit is contained in:
hiyouga
2023-07-15 19:26:20 +08:00
parent e9fe48150c
commit a8deee27f8
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