Skip to content

Commit

Permalink
Update lib/tokenizers/tokenizer.ex
Browse files Browse the repository at this point in the history
Co-authored-by: José Valim <[email protected]>
  • Loading branch information
jonatanklosko and josevalim authored Jul 31, 2023
1 parent 4d5bc02 commit 94f1042
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/tokenizers/tokenizer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,11 @@ defmodule Tokenizers.Tokenizer do
"""
@type load_options ::
list(
{:additional_special_tokens, [String.t() | Tokenizers.AddedToken.t()]}
| {:padding, :none}
| {:truncation, :none}
)
[
additional_special_tokens: [String.t() | Tokenizers.AddedToken.t()],
padding: :none,
truncation: :none
]

@doc """
Instantiate a new tokenizer from the file at the given path.
Expand Down

0 comments on commit 94f1042

Please sign in to comment.