Taraassss commited on
Commit
b1f3052
1 Parent(s): b8a6a5f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -24
README.md CHANGED
@@ -1,11 +1,10 @@
1
  ---
2
  tags:
3
- - autotrain
4
  - text-classification
5
  language:
6
- - es
7
  widget:
8
- - text: "I love AutoTrain 🤗"
9
  datasets:
10
  - Taraassss/autotrain-data-taras_es_sentiment_analysis
11
  co2_eq_emissions:
@@ -33,24 +32,3 @@ co2_eq_emissions:
33
  - Weighted Recall: 0.647
34
 
35
 
36
- ## Usage
37
-
38
- You can use cURL to access this model:
39
-
40
- ```
41
- $ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoTrain"}' https://api-inference.huggingface.co/models/Taraassss/autotrain-taras_es_sentiment_analysis-50174120292
42
- ```
43
-
44
- Or Python API:
45
-
46
- ```
47
- from transformers import AutoModelForSequenceClassification, AutoTokenizer
48
-
49
- model = AutoModelForSequenceClassification.from_pretrained("Taraassss/autotrain-taras_es_sentiment_analysis-50174120292", use_auth_token=True)
50
-
51
- tokenizer = AutoTokenizer.from_pretrained("Taraassss/autotrain-taras_es_sentiment_analysis-50174120292", use_auth_token=True)
52
-
53
- inputs = tokenizer("I love AutoTrain", return_tensors="pt")
54
-
55
- outputs = model(**inputs)
56
- ```
 
1
  ---
2
  tags:
 
3
  - text-classification
4
  language:
5
+ - it
6
  widget:
7
+ - text: Mi chiamo Taras, sono felice di conoscerti!
8
  datasets:
9
  - Taraassss/autotrain-data-taras_es_sentiment_analysis
10
  co2_eq_emissions:
 
32
  - Weighted Recall: 0.647
33
 
34