sfrenda commited on
Commit
7749d32
·
verified ·
1 Parent(s): 6c09667

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +54 -3
README.md CHANGED
@@ -1,3 +1,54 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ pipeline_tag: text-classification
4
+ tags:
5
+ - sentiment
6
+ language:
7
+ - it
8
+ ---
9
+ # Sentiment at aequa-tech
10
+
11
+ ## Model Description
12
+
13
+ - **Developed by:** [aequa-tech](https://aequa-tech.com/)
14
+ - **Funded by:** [NGI-Search](https://www.ngi.eu/ngi-projects/ngi-search/)
15
+ - **Language(s) (NLP):** Italian
16
+ - **License:** apache-2.0
17
+ - **Finetuned from model:** [AlBERTo](https://huggingface.co/m-polignano-uniba/bert_uncased_L-12_H-768_A-12_italian_alberto)
18
+
19
+ This model is a fine-tuned version of [AlBERTo](https://huggingface.co/m-polignano-uniba/bert_uncased_L-12_H-768_A-12_italian_alberto) Italian model on **sentiment analysis**:
20
+
21
+ # Training Details
22
+
23
+ ## Training Data
24
+
25
+ - SENTIPOLC [2014](https://live.european-language-grid.eu/catalogue/corpus/7480)/[2016](https://live.european-language-grid.eu/catalogue/corpus/7479)
26
+
27
+ ## Training Hyperparameters
28
+
29
+ - learning_rate: 2e-5
30
+ - train_batch_size: 16
31
+ - eval_batch_size: 16
32
+ - seed: 42
33
+ - optimizer: Adam
34
+
35
+
36
+ # Evaluation
37
+
38
+ ## Testing Data
39
+ It was tested on SENTIPOLC 2016 test set
40
+
41
+ # Framework versions
42
+
43
+ - Transformers 4.30.2
44
+ - Pytorch 2.1.2
45
+ - Datasets 2.19.0
46
+ - Accelerate 0.30.0
47
+
48
+ # How to use this model:
49
+ ```
50
+ model = AutoModelForSequenceClassification.from_pretrained('aequa-tech/sentiment-it',num_labels=3, ignore_mismatched_sizes=True)
51
+ tokenizer = AutoTokenizer.from_pretrained("m-polignano-uniba/bert_uncased_L-12_H-768_A-12_italian_alb3rt0")
52
+ classifier = pipeline("text-classification", model=model, tokenizer=tokenizer)
53
+ classifier("L'insostenibile leggerezza dell'essere")
54
+ ```