ArtistikMilitia commited on
Commit
441ad69
·
verified ·
1 Parent(s): 4cb5a15

Update .gitattributes

Browse files
Files changed (1) hide show
  1. .gitattributes +12 -0
.gitattributes CHANGED
@@ -1,3 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
  *.7z filter=lfs diff=lfs merge=lfs -text
2
  *.arrow filter=lfs diff=lfs merge=lfs -text
3
  *.bin filter=lfs diff=lfs merge=lfs -text
 
1
+ import os
2
+ from huggingface_hub import InferenceClient
3
+
4
+ client = InferenceClient(
5
+ provider="hf-inference",
6
+ api_key=os.environ["HF_TOKEN"],
7
+ )
8
+
9
+ result = client.feature_extraction(
10
+ "Today is a sunny day and I will get some ice cream.",
11
+ model="intfloat/multilingual-e5-large",
12
+ )
13
  *.7z filter=lfs diff=lfs merge=lfs -text
14
  *.arrow filter=lfs diff=lfs merge=lfs -text
15
  *.bin filter=lfs diff=lfs merge=lfs -text