Skip to content

Commit 41b0f77

Browse files
authored
Fix return values in README.md (#39)
1 parent 0190d0a commit 41b0f77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ Mix.install([
3737
{:ok, tokenizer} = Tokenizers.Tokenizer.from_pretrained("bert-base-cased")
3838
{:ok, encoding} = Tokenizers.Tokenizer.encode(tokenizer, "Hello there!")
3939
Tokenizers.Encoding.get_tokens(encoding)
40-
# {:ok, ["Hello", "there", "!"]}
40+
# ["Hello", "there", "!"]
4141
Tokenizers.Encoding.get_ids(encoding)
42-
# {:ok, [8667, 1175, 106]}
42+
# [8667, 1175, 106]
4343
```
4444

4545
The [notebooks](./notebooks) directory has [an introductory Livebook](./notebooks/pretrained.livemd) to give you a feel for the API.

0 commit comments

Comments
 (0)