pengqun commited on
Commit
3245292
·
verified ·
1 Parent(s): 617a2b9

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +23 -0
README.md ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Huggingface Tests
2
+
3
+ ```bash
4
+ pip install -r requirements.txt
5
+ ```
6
+
7
+ ## Transformers
8
+
9
+ Install:<https://huggingface.co/docs/transformers/installation>
10
+
11
+ Validation:
12
+
13
+ ```bash
14
+ python -c "from transformers import pipeline; print(pipeline('sentiment-analysis')('I love you'))"
15
+ ```
16
+
17
+ ## Hub
18
+
19
+ Login:
20
+
21
+ ```bash
22
+ huggingface-cli login
23
+ ```