Faustrix commited on
Commit
bbf22fd
·
verified ·
1 Parent(s): c6daab0

Create index

Browse files
Files changed (1) hide show
  1. index +12 -0
index ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ from huggingface_hub import InferenceClient
3
+
4
+ client = InferenceClient(
5
+ provider="featherless-ai",
6
+ api_key=os.environ["HF_TOKEN"],
7
+ )
8
+
9
+ result = client.text_generation(
10
+ "Can you please let us know more details about your ",
11
+ model="meta-llama/Meta-Llama-3-8B",
12
+ )