tokenizers 0.2.1-arm64-darwin → 0.2.3-arm64-darwin
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/Cargo.lock +125 -1253
- data/Cargo.toml +0 -5
- data/LICENSE-THIRD-PARTY.txt +6594 -23520
- data/README.md +1 -1
- data/lib/tokenizers/2.7/tokenizers.bundle +0 -0
- data/lib/tokenizers/3.0/tokenizers.bundle +0 -0
- data/lib/tokenizers/3.1/tokenizers.bundle +0 -0
- data/lib/tokenizers/3.2/tokenizers.bundle +0 -0
- data/lib/tokenizers/char_bpe_tokenizer.rb +2 -2
- data/lib/tokenizers/encoding.rb +19 -0
- data/lib/tokenizers/from_pretrained.rb +119 -0
- data/lib/tokenizers/tokenizer.rb +12 -0
- data/lib/tokenizers/version.rb +1 -1
- data/lib/tokenizers.rb +8 -7
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a8b433f58b687e78b77510c094c7000e4daf151708b750cb6897e1304fdca4e
|
4
|
+
data.tar.gz: c4cf5aa3ef12384eaf8dda0d43b2c44492be05e12b51304b0400578c46e6cf5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbf51242235ca8e666465c281c77a0895b992e8674460dbcb453bdbd66962ab6338171455d38b234fb227a934ccb87222dbfce7ea099243c83860c0510234c1d
|
7
|
+
data.tar.gz: 722493ed6e22c808d945c25fbac29a7b9b807bec2cf8ab3a13d42ded4cff6d0a907ee18dd1883d087bd88684bbebb450df3e8909a3b6c87cf11a78702e2f9e8c
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
## 0.2.3 (2022-01-22)
|
2
|
+
|
3
|
+
- Added `add_special_tokens` option to `encode` method
|
4
|
+
- Added warning about `encode` method including special tokens by default in 0.3.0
|
5
|
+
- Added more methods to `Encoding`
|
6
|
+
- Fixed error with precompiled gem on Mac ARM
|
7
|
+
|
8
|
+
## 0.2.2 (2022-01-15)
|
9
|
+
|
10
|
+
- Added precompiled gem for Linux ARM
|
11
|
+
- Added `from_file` method
|
12
|
+
- Fixed error with precompiled gem on Linux x86-64
|
13
|
+
|
1
14
|
## 0.2.1 (2022-01-12)
|
2
15
|
|
3
16
|
- Added support for Ruby 3.2
|