transformers-rb 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/transformers/hf_hub/utils/_errors.rb +1 -1
- data/lib/transformers/sentence_transformer.rb +1 -0
- data/lib/transformers/version.rb +1 -1
- metadata +17 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 607afc7b4cc3bb62f8ae2aab693863d2cd1456d0c90b20dc0eb4f682fc788cfb
|
4
|
+
data.tar.gz: 3a6ad9f7f624e77e077bf4d7e1d945ee8f6e26d805e08a574d5d583e231500fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab988a57c8af7883894163b149528172a8602d9031f9c6e6880d6bb32f42842cbfa566ac4f347168a230218565cc7550c99043286e5a31d0d104ba3b250b2483
|
7
|
+
data.tar.gz: 7f29ee6adcc0566ce1d1905e557288dec78b8befcc98f9a46c71c0fe8580dd14c914afcb1c1477df65aecc3b106cf799975c2b46ba73a4ec7d93ea34a908b688
|
data/CHANGELOG.md
CHANGED
@@ -24,7 +24,7 @@ module Transformers
|
|
24
24
|
def hf_raise_for_status(response, endpoint_name: nil)
|
25
25
|
begin
|
26
26
|
response.value unless response.is_a?(Net::HTTPRedirection)
|
27
|
-
rescue
|
27
|
+
rescue => e
|
28
28
|
error_code = response["X-Error-Code"]
|
29
29
|
error_message = response["X-Error-Message"]
|
30
30
|
|
data/lib/transformers/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,28 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: transformers-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date: 2024-
|
10
|
+
date: 2024-12-29 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
12
|
+
- !ruby/object:Gem::Dependency
|
13
|
+
name: logger
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - ">="
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: '0'
|
19
|
+
type: :runtime
|
20
|
+
prerelease: false
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - ">="
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: '0'
|
13
26
|
- !ruby/object:Gem::Dependency
|
14
27
|
name: numo-narray
|
15
28
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,7 +79,6 @@ dependencies:
|
|
66
79
|
- - ">="
|
67
80
|
- !ruby/object:Gem::Version
|
68
81
|
version: 0.17.1
|
69
|
-
description:
|
70
82
|
email: andrew@ankane.org
|
71
83
|
executables: []
|
72
84
|
extensions: []
|
@@ -150,7 +162,6 @@ homepage: https://github.com/ankane/transformers-ruby
|
|
150
162
|
licenses:
|
151
163
|
- Apache-2.0
|
152
164
|
metadata: {}
|
153
|
-
post_install_message:
|
154
165
|
rdoc_options: []
|
155
166
|
require_paths:
|
156
167
|
- lib
|
@@ -165,8 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
165
176
|
- !ruby/object:Gem::Version
|
166
177
|
version: '0'
|
167
178
|
requirements: []
|
168
|
-
rubygems_version: 3.
|
169
|
-
signing_key:
|
179
|
+
rubygems_version: 3.6.2
|
170
180
|
specification_version: 4
|
171
181
|
summary: State-of-the-art transformers for Ruby
|
172
182
|
test_files: []
|