add examples

Former-commit-id: 9eff9625adba643263bc6cba480f30edc6bb086a
This commit is contained in:
hiyouga
2024-11-01 08:41:54 +00:00
parent 8cea5cd967
commit df8ac15ef0
7 changed files with 119 additions and 4 deletions

View File

@@ -585,6 +585,8 @@ API_PORT=8000 llamafactory-cli api examples/inference/llama3_vllm.yaml
> [!TIP]
> API 文档请查阅[这里](https://platform.openai.com/docs/api-reference/chat/create)。
>
> 示例:[图像理解](scripts/test_image.py) | [工具调用](scripts/test_toolcall.py)
### 从魔搭社区下载