"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "6015d0ad6ce946e763fa1052614317ff34825d33"
Unverified Commit 5e9f6752 authored by Moon Gi Cho's avatar Moon Gi Cho Committed by GitHub
Browse files

Fix typo (#24440)

parent a28325e2
......@@ -102,7 +102,7 @@ class TextClassificationPipeline(Pipeline):
postprocess_params["_legacy"] = False
elif return_all_scores is not None:
warnings.warn(
"`return_all_scores` is now deprecated, if want a similar funcionality use `top_k=None` instead of"
"`return_all_scores` is now deprecated, if want a similar functionality use `top_k=None` instead of"
" `return_all_scores=True` or `top_k=1` instead of `return_all_scores=False`.",
UserWarning,
)
......
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