Remove redundant word in docstring (#7)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
This commit is contained in:
parent
4226a6c008
commit
0f8ec705e2
@ -68,7 +68,7 @@ class Encoding:
|
|||||||
and `disallowed_special` parameters. In particular:
|
and `disallowed_special` parameters. In particular:
|
||||||
- Setting `disallowed_special` to () will prevent this function from raising errors and
|
- Setting `disallowed_special` to () will prevent this function from raising errors and
|
||||||
cause all text corresponding to special tokens to be encoded as natural text.
|
cause all text corresponding to special tokens to be encoded as natural text.
|
||||||
- Setting `allowed_special` to "all" will allow cause this function to treat all text
|
- Setting `allowed_special` to "all" will cause this function to treat all text
|
||||||
corresponding to special tokens to be encoded as special tokens.
|
corresponding to special tokens to be encoded as special tokens.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user