ganesh435 commited on
Commit
8e9c189
·
verified ·
1 Parent(s): abba290

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +51 -1
README.md CHANGED
@@ -1,6 +1,56 @@
1
  \# my-first-model
2
 
3
- My first Hugging Face model repo (uploaded from Windows).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
 
5
 
6
 
 
1
  \# my-first-model
2
 
3
+ My first Hugging Face model repo (uploaded from Windows).---
4
+
5
+ language: en
6
+
7
+ license: apache-2.0
8
+
9
+ tags:
10
+
11
+ \- text-classification
12
+
13
+ \- sentiment-analysis
14
+
15
+ library\_name: transformers
16
+
17
+ pipeline\_tag: text-classification
18
+
19
+ model\_name: my-first-model
20
+
21
+ ---
22
+
23
+
24
+
25
+ \# my-first-model
26
+
27
+
28
+
29
+ This is my first Hugging Face model.
30
+
31
+
32
+
33
+ \## Model Description
34
+
35
+ This model is based on \*\*DistilBERT\*\* fine-tuned for \*\*sentiment analysis\*\*.
36
+
37
+ It predicts whether a sentence is \*\*positive\*\* or \*\*negative\*\*.
38
+
39
+
40
+
41
+ \## How to use
42
+
43
+
44
+
45
+ ```python
46
+
47
+ from transformers import pipeline
48
+
49
+
50
+
51
+ classifier = pipeline("sentiment-analysis", model="ganesh435/my-first-model")
52
+
53
+ classifier("I love learning AI with Hugging Face!")
54
 
55
 
56