Mainak Manna commited on
Commit
c8f2546
1 Parent(s): f9012a5

First version of the model

Browse files
Files changed (1) hide show
  1. README.md +5 -5
README.md CHANGED
@@ -6,7 +6,7 @@ tags:
6
  datasets:
7
  - dcep europarl jrc-acquis
8
  widget:
9
- - text: "Di conseguenza, l’energia rinnovabile non può essere considerata come distinta dagli altri obiettivi relativi all’attuazione di un mercato interno dell’elettricità, al raggiungimento di un potenziale di efficienza energetica pari al 20% e alla revisione del sistema di scambio delle quote di emissione di CO 2 ."
10
 
11
  ---
12
 
@@ -38,7 +38,7 @@ tokenizer=AutoTokenizer.from_pretrained(pretrained_model_name_or_path = "SEBIS/l
38
  device=0
39
  )
40
 
41
- it_text = "Di conseguenza, l’energia rinnovabile non può essere considerata come distinta dagli altri obiettivi relativi all’attuazione di un mercato interno dell’elettricità, al raggiungimento di un potenziale di efficienza energetica pari al 20% e alla revisione del sistema di scambio delle quote di emissione di CO 2 ."
42
 
43
  pipeline([it_text], max_length=512)
44
  ```
@@ -49,12 +49,12 @@ The legal_t5_small_trans_it_fr model was trained on [JRC-ACQUIS](https://wt-publ
49
 
50
  ## Training procedure
51
 
52
- An unigram model trained with 88M lines of text from the parallel corpus (of all possible language pairs) to get the vocabulary (with byte pair encoding), which is used with this model.
53
-
54
  The model was trained on a single TPU Pod V3-8 for 250K steps in total, using sequence length 512 (batch size 4096). It has a total of approximately 220M parameters and was trained using the encoder-decoder architecture. The optimizer used is AdaFactor with inverse square root learning rate schedule for pre-training.
55
 
56
  ### Preprocessing
57
 
 
 
58
  ### Pretraining
59
 
60
 
@@ -67,7 +67,7 @@ Test results :
67
 
68
  | Model | BLEU score |
69
  |:-----:|:-----:|
70
- | legal_t5_small_trans_it_fr | 50.559|
71
 
72
 
73
  ### BibTeX entry and citation info
6
  datasets:
7
  - dcep europarl jrc-acquis
8
  widget:
9
+ - text: "18. deplora che il Consiglio europeo dell'8 e 9 marzo 2007 non abbia chiesto con sufficiente forza il completamento del mercato interno dell'energia; reputa indispensabile che le energie rinnovabili siano rapidamente integrate nel mercato interno dell'energia; ritiene che, ai fini dello sviluppo di un autentico mercato interno dell'energia, sia necessario assicurare condizioni eque in tutti gli Stati membri;"
10
 
11
  ---
12
 
38
  device=0
39
  )
40
 
41
+ it_text = "18. deplora che il Consiglio europeo dell'8 e 9 marzo 2007 non abbia chiesto con sufficiente forza il completamento del mercato interno dell'energia; reputa indispensabile che le energie rinnovabili siano rapidamente integrate nel mercato interno dell'energia; ritiene che, ai fini dello sviluppo di un autentico mercato interno dell'energia, sia necessario assicurare condizioni eque in tutti gli Stati membri;"
42
 
43
  pipeline([it_text], max_length=512)
44
  ```
49
 
50
  ## Training procedure
51
 
 
 
52
  The model was trained on a single TPU Pod V3-8 for 250K steps in total, using sequence length 512 (batch size 4096). It has a total of approximately 220M parameters and was trained using the encoder-decoder architecture. The optimizer used is AdaFactor with inverse square root learning rate schedule for pre-training.
53
 
54
  ### Preprocessing
55
 
56
+ An unigram model trained with 88M lines of text from the parallel corpus (of all possible language pairs) to get the vocabulary (with byte pair encoding), which is used with this model.
57
+
58
  ### Pretraining
59
 
60
 
67
 
68
  | Model | BLEU score |
69
  |:-----:|:-----:|
70
+ | legal_t5_small_trans_it_fr | 50.56|
71
 
72
 
73
  ### BibTeX entry and citation info