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

@@ -584,6 +584,8 @@ API_PORT=8000 llamafactory-cli api examples/inference/llama3_vllm.yaml
> [!TIP]
> Visit [this page](https://platform.openai.com/docs/api-reference/chat/create) for API document.
>
> Examples: [Image understanding](scripts/test_image.py) | [Function calling](scripts/test_toolcall.py)
### Download from ModelScope Hub