tokenizers 0.6.3-aarch64-linux → 0.6.4-aarch64-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Cargo.lock +1 -1
- data/lib/tokenizers/3.2/tokenizers.so +0 -0
- data/lib/tokenizers/3.3/tokenizers.so +0 -0
- data/lib/tokenizers/3.4/tokenizers.so +0 -0
- data/lib/tokenizers/4.0/tokenizers.so +0 -0
- data/lib/tokenizers/from_pretrained.rb +5 -1
- data/lib/tokenizers/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3a69a6c3baac9786c6f8d3ed941a4ce25c23f09b1e95aad2ca547bf7ddefe13e
|
|
4
|
+
data.tar.gz: f4d89a46a21138b7312e1a3cd38ac87b196284da02b9b4c8775d0e535153b3d3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0863e89b3a38119f33675a2edd356e60efe145daee2a7d91b3e22281eb9dc54debe40e0a520023c6b52b2d325e6d087d1e6f4c6df15693c0b16022d24916693f'
|
|
7
|
+
data.tar.gz: 8ccbdadbdbf0e4f02d05e9a92a48bfe03a74ec43b3ea9ab56e08b8e0bb44d52a126df57548b9bc8c0968a9347065d77ad76f2f96d0cb366c7a7d543340453778
|
data/CHANGELOG.md
CHANGED
data/Cargo.lock
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -55,7 +55,7 @@ module Tokenizers
|
|
|
55
55
|
resource_path = File.join(cache_dir, "#{fsum}.#{esum}")
|
|
56
56
|
if File.exist?(resource_path)
|
|
57
57
|
res = head_request(url, headers, options)
|
|
58
|
-
if res["etag"] == etag
|
|
58
|
+
if normalize_etag(res["etag"]) == normalize_etag(etag)
|
|
59
59
|
return resource_path
|
|
60
60
|
end
|
|
61
61
|
end
|
|
@@ -106,6 +106,10 @@ module Tokenizers
|
|
|
106
106
|
res
|
|
107
107
|
end
|
|
108
108
|
|
|
109
|
+
def normalize_etag(etag)
|
|
110
|
+
etag.delete_prefix("W/") if etag
|
|
111
|
+
end
|
|
112
|
+
|
|
109
113
|
def cache_dir
|
|
110
114
|
cache_dir =
|
|
111
115
|
if ENV["TOKENIZERS_CACHE"]
|
data/lib/tokenizers/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tokenizers
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.4
|
|
5
5
|
platform: aarch64-linux
|
|
6
6
|
authors:
|
|
7
7
|
- Andrew Kane
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-04-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description:
|
|
14
14
|
email: andrew@ankane.org
|