"docs/source/vscode:/vscode.git/clone" did not exist on "142ad1a1cc36f1f31f24c0ec5987f4663a270321"
Unverified Commit 59b9351b authored by Samuel Larkin's avatar Samuel Larkin Committed by GitHub
Browse files

Minor typo in pipeline FillMaskPipeline's documentation. (#22339)

parent 506e7c63
......@@ -234,7 +234,7 @@ class FillMaskPipeline(Pipeline):
- **sequence** (`str`) -- The corresponding input with the mask token prediction.
- **score** (`float`) -- The corresponding probability.
- **token** (`int`) -- The predicted token id (to replace the masked one).
- **token** (`str`) -- The predicted token (to replace the masked one).
- **token_str** (`str`) -- The predicted token (to replace the masked one).
"""
outputs = super().__call__(inputs, **kwargs)
if isinstance(inputs, list) and len(inputs) == 1:
......
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