Mainak Manna
commited on
Commit
•
8d7f567
1
Parent(s):
e474943
First version of the model
Browse files
README.md
CHANGED
@@ -6,7 +6,7 @@ tags:
|
|
6 |
datasets:
|
7 |
- dcep europarl jrc-acquis
|
8 |
widget:
|
9 |
-
- text: "che
|
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 = "che
|
42 |
|
43 |
pipeline([it_text], max_length=512)
|
44 |
```
|
@@ -49,10 +49,14 @@ The legal_t5_small_trans_it_es model was trained on [JRC-ACQUIS](https://wt-publ
|
|
49 |
|
50 |
## Training procedure
|
51 |
|
|
|
|
|
|
|
|
|
52 |
### Preprocessing
|
53 |
|
54 |
### Pretraining
|
55 |
-
|
56 |
|
57 |
|
58 |
## Evaluation results
|
@@ -63,7 +67,7 @@ Test results :
|
|
63 |
|
64 |
| Model | BLEU score |
|
65 |
|:-----:|:-----:|
|
66 |
-
| legal_t5_small_trans_it_es |
|
67 |
|
68 |
|
69 |
### BibTeX entry and citation info
|
|
|
6 |
datasets:
|
7 |
- dcep europarl jrc-acquis
|
8 |
widget:
|
9 |
+
- text: "ritiene che, rispetto alla legislazione, il concetto di responsabilità sociale delle imprese abbia un valore limitato nel contesto della conservazione dell'ambiente marittimo e che pertanto una base legislativa adeguata debba continuare a sostenere il programma comunitario di conservazione ambientale, che dovrà essere rafforzato mediante azioni volontarie intraprese da società che desiderino dimostrare il loro comportamento responsabile;"
|
10 |
|
11 |
---
|
12 |
|
|
|
38 |
device=0
|
39 |
)
|
40 |
|
41 |
+
it_text = "ritiene che, rispetto alla legislazione, il concetto di responsabilità sociale delle imprese abbia un valore limitato nel contesto della conservazione dell'ambiente marittimo e che pertanto una base legislativa adeguata debba continuare a sostenere il programma comunitario di conservazione ambientale, che dovrà essere rafforzato mediante azioni volontarie intraprese da società che desiderino dimostrare il loro comportamento responsabile;"
|
42 |
|
43 |
pipeline([it_text], max_length=512)
|
44 |
```
|
|
|
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 |
|
61 |
|
62 |
## Evaluation results
|
|
|
67 |
|
68 |
| Model | BLEU score |
|
69 |
|:-----:|:-----:|
|
70 |
+
| legal_t5_small_trans_it_es | 49.0|
|
71 |
|
72 |
|
73 |
### BibTeX entry and citation info
|