mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2026-09-27 10:05:43 +08:00
[v1] update docs (#10684)
This commit is contained in:
10
docs/zh/configuration/inference.md
Normal file
10
docs/zh/configuration/inference.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# 推理参数
|
||||
|
||||
## SampleArguments
|
||||
|
||||
| 字段 | 类型 | 默认值 | 说明 |
|
||||
|------|------|--------|------|
|
||||
| `sample_backend` | `str` | `hf` | 采样后端;可用值为 `hf` |
|
||||
| `max_new_tokens` | `int` | `128` | 单次最多生成 token 数 |
|
||||
|
||||
使用方法见[推理](../feature-guide/inference.md)。
|
||||
Reference in New Issue
Block a user