Skip to content

Commit 19fda4e

Browse files
authored
fix docs (#3332)
1 parent 973ddad commit 19fda4e

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

docs/online_serving/README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,6 @@ When sending requests using openai.Client, these parameters need to be placed in
137137

138138
The following sampling parameters are supported.
139139
```python
140-
bad_words: Optional[List[int]] = None
141-
# List of forbidden words that the model should avoid generating (default None means no restriction).
142-
143140
top_k: Optional[int] = None
144141
# Limits the consideration to the top K tokens with the highest probability at each generation step, used to control randomness (default None means no limit).
145142

docs/zh/online_serving/README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,6 @@ metadata: Optional[dict] = None
137137

138138
额外采样参数的支持如下:
139139
```python
140-
bad_words: Optional[List[str]] = None
141-
# 禁止生成的词汇列表,模型会避免输出这些词(默认 None 表示不限制)。
142-
143140
top_k: Optional[int] = None
144141
# 限制每一步生成时只考虑概率最高的 K 个 token,用于控制随机性(默认 None 表示不限制)。
145142

0 commit comments

Comments
 (0)