hugging-face 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/hugging_face/inference_api.rb +2 -2
- data/lib/hugging_face/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b1fd1e517f21466be454d55dcc88e0344acaa6fd91900335615f632b734595e
|
4
|
+
data.tar.gz: c865080f1350cc0e056f0ff190b6c99373cc32a287bb9c0e558ce777456ca057
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 803618ef477824cafbf3b5d37e76d3bcfcc6b9cfd90632e55df733f9b7f14d7ef6e4d5403ce9f1828f6459ee32b511783c2d8f3217caf7ba3ee87123f0372754
|
7
|
+
data.tar.gz: 62cfb9bb3f0f6905f9963d7997b7deecabdda75a0771f8625604bde1dd7c883ab76bc43e811355b99f26428d0ae84397deb1a5741824fa3c32fcd0e80fa6cc1c
|
data/Gemfile.lock
CHANGED
@@ -29,8 +29,8 @@ module HuggingFace
|
|
29
29
|
request connection: connection(model), input: { inputs: input }
|
30
30
|
end
|
31
31
|
|
32
|
-
def embedding(input:)
|
33
|
-
request connection: connection(
|
32
|
+
def embedding(input:, model: EMBEDING_MODEL)
|
33
|
+
request connection: connection(model), input: { inputs: input }
|
34
34
|
end
|
35
35
|
|
36
36
|
private
|
data/lib/hugging_face/version.rb
CHANGED