wolfrage89
commited on
Commit
•
c63f23c
1
Parent(s):
8a1b521
first commit
Browse files- .gitattributes +5 -24
- README.md +25 -0
- config.json +53 -0
- pytorch_model.bin +3 -0
- source.spm +0 -0
- target.spm +0 -0
- tokenizer_config.json +1 -0
- vocab.json +0 -0
.gitattributes
CHANGED
@@ -1,27 +1,8 @@
|
|
1 |
-
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
-
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
-
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
*.bin.* filter=lfs diff=lfs merge=lfs -text
|
5 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
6 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
-
*.
|
12 |
-
*.
|
13 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
14 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
15 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
16 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
17 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
18 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
19 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
20 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
21 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
22 |
*.tflite filter=lfs diff=lfs merge=lfs -text
|
23 |
-
*.
|
24 |
-
*.
|
25 |
-
*.
|
26 |
-
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
27 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
1 |
*.bin.* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
2 |
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
*.tflite filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
|
|
|
README.md
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- translation
|
4 |
+
license: apache-2.0
|
5 |
+
---
|
6 |
+
|
7 |
+
### opus-mt-id-en
|
8 |
+
|
9 |
+
* source languages: id
|
10 |
+
* target languages: en
|
11 |
+
* OPUS readme: [id-en](https://github.com/Helsinki-NLP/OPUS-MT-train/blob/master/models/id-en/README.md)
|
12 |
+
|
13 |
+
* dataset: opus
|
14 |
+
* model: transformer-align
|
15 |
+
* pre-processing: normalization + SentencePiece
|
16 |
+
* download original weights: [opus-2019-12-18.zip](https://object.pouta.csc.fi/OPUS-MT-models/id-en/opus-2019-12-18.zip)
|
17 |
+
* test set translations: [opus-2019-12-18.test.txt](https://object.pouta.csc.fi/OPUS-MT-models/id-en/opus-2019-12-18.test.txt)
|
18 |
+
* test set scores: [opus-2019-12-18.eval.txt](https://object.pouta.csc.fi/OPUS-MT-models/id-en/opus-2019-12-18.eval.txt)
|
19 |
+
|
20 |
+
## Benchmarks
|
21 |
+
|
22 |
+
| testset | BLEU | chr-F |
|
23 |
+
|-----------------------|-------|-------|
|
24 |
+
| Tatoeba.id.en | 47.7 | 0.647 |
|
25 |
+
|
config.json
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_num_labels": 3,
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "swish",
|
5 |
+
"add_bias_logits": false,
|
6 |
+
"add_final_layer_norm": false,
|
7 |
+
"architectures": [
|
8 |
+
"MarianMTModel"
|
9 |
+
],
|
10 |
+
"attention_dropout": 0.0,
|
11 |
+
"bad_words_ids": [
|
12 |
+
[
|
13 |
+
54795
|
14 |
+
]
|
15 |
+
],
|
16 |
+
"bos_token_id": 0,
|
17 |
+
"classif_dropout": 0.0,
|
18 |
+
"d_model": 512,
|
19 |
+
"decoder_attention_heads": 8,
|
20 |
+
"decoder_ffn_dim": 2048,
|
21 |
+
"decoder_layerdrop": 0.0,
|
22 |
+
"decoder_layers": 6,
|
23 |
+
"decoder_start_token_id": 54795,
|
24 |
+
"dropout": 0.1,
|
25 |
+
"encoder_attention_heads": 8,
|
26 |
+
"encoder_ffn_dim": 2048,
|
27 |
+
"encoder_layerdrop": 0.0,
|
28 |
+
"encoder_layers": 6,
|
29 |
+
"eos_token_id": 0,
|
30 |
+
"id2label": {
|
31 |
+
"0": "LABEL_0",
|
32 |
+
"1": "LABEL_1",
|
33 |
+
"2": "LABEL_2"
|
34 |
+
},
|
35 |
+
"init_std": 0.02,
|
36 |
+
"is_encoder_decoder": true,
|
37 |
+
"label2id": {
|
38 |
+
"LABEL_0": 0,
|
39 |
+
"LABEL_1": 1,
|
40 |
+
"LABEL_2": 2
|
41 |
+
},
|
42 |
+
"max_length": 512,
|
43 |
+
"max_position_embeddings": 512,
|
44 |
+
"model_type": "marian",
|
45 |
+
"normalize_before": false,
|
46 |
+
"normalize_embedding": false,
|
47 |
+
"num_beams": 6,
|
48 |
+
"num_hidden_layers": 6,
|
49 |
+
"pad_token_id": 54795,
|
50 |
+
"scale_embedding": true,
|
51 |
+
"static_position_embeddings": true,
|
52 |
+
"vocab_size": 54796
|
53 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed059302904f7fc04f545449bd74beb09fa4a570083ca87bf6dc924d81242335
|
3 |
+
size 289089733
|
source.spm
ADDED
Binary file (801 kB). View file
|
|
target.spm
ADDED
Binary file (796 kB). View file
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"target_lang": "en", "source_lang": "id"}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|