Unverified Commit d886c26d authored by Lxx's avatar Lxx Committed by GitHub
Browse files

[Doc] Fix typos in token_embed pooling documentation (#40266)


Signed-off-by: default avatarYifanLi3 <lyfqlx3@gmail.com>
parent 898beca5
...@@ -9,14 +9,14 @@ ...@@ -9,14 +9,14 @@
- Online APIs: - Online APIs:
- Pooling API (`/pooling`) - Pooling API (`/pooling`)
The difference between the (sequence) embedding task and the token embedding task is that (sequence) embedding outputs one embedding for each sequence, while token embedding outputs a embedding for each token. The difference between the (sequence) embedding task and the token embedding task is that (sequence) embedding outputs one embedding for each sequence, while token embedding outputs an embedding for each token.
Many embedding models support both (sequence) embedding and token embedding. For further details on (sequence) embedding, please refer to [this page](embed.md). Many embedding models support both (sequence) embedding and token embedding. For further details on (sequence) embedding, please refer to [this page](embed.md).
!!! note !!! note
Pooling multitask support is deprecated and will be removed in v0.20. When the default pooling task (embed) is not Pooling multitask support is deprecated and will be removed in v0.20. When the default pooling task (embed) is not
what you want, you need to manually specify it via via `PoolerConfig(task="token_embed")` offline or what you want, you need to manually specify it via `PoolerConfig(task="token_embed")` offline or
`--pooler-config.task token_embed` online. `--pooler-config.task token_embed` online.
## Typical Use Cases ## Typical Use Cases
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment