radinplaid commited on
Commit
0841d41
·
verified ·
1 Parent(s): 43ff771

Upload folder using huggingface_hub

Browse files
.ipynb_checkpoints/README-checkpoint.md ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - tr
5
+ tags:
6
+ - translation
7
+ license: cc-by-4.0
8
+ datasets:
9
+ - quickmt/quickmt-train.tr-en
10
+ model-index:
11
+ - name: quickmt-tr-en
12
+ results:
13
+ - task:
14
+ name: Translation tur-eng
15
+ type: translation
16
+ args: tur-eng
17
+ dataset:
18
+ name: flores101-devtest
19
+ type: flores_101
20
+ args: tur_Latn eng_Latn devtest
21
+ metrics:
22
+ - name: BLEU
23
+ type: bleu
24
+ value: 39.5
25
+ - name: CHRF
26
+ type: chrf
27
+ value: 65.03
28
+ - name: COMET
29
+ type: comet
30
+ value: 89.0
31
+ ---
32
+
33
+
34
+ # `quickmt-tr-en` Neural Machine Translation Model
35
+
36
+ `quickmt-tr-en` is a reasonably fast and reasonably accurate neural machine translation model for translation from `tr` into `en`.
37
+
38
+
39
+ ## Model Information
40
+
41
+ * Trained using [`eole`](https://github.com/eole-nlp/eole)
42
+ * 185M parameter transformer 'big' with 8 encoder layers and 2 decoder layers
43
+ * 50k joint Sentencepiece vocabulary
44
+ * Expested for fast inference to [CTranslate2](https://github.com/OpenNMT/CTranslate2) format
45
+ * Training data: https://huggingface.co/datasets/quickmt/quickmt-train.tr-en/tree/main
46
+
47
+ See the `eole` model configuration in this repository for further details and the `eole-model` for the raw `eole` (pytorch) model.
48
+
49
+ ## Usage with `quickmt`
50
+
51
+ You must install the Nvidia cuda toolkit first, if you want to do GPU inference.
52
+
53
+ Next, install the `quickmt` python library and download the model:
54
+
55
+ ```bash
56
+ git clone https://github.com/quickmt/quickmt.git
57
+ pip install ./quickmt/
58
+
59
+ quickmt-model-download quickmt/quickmt-tr-en ./quickmt-tr-en
60
+ ```
61
+
62
+ Finally use the model in python:
63
+
64
+ ```python
65
+ from quickmt impest Translator
66
+
67
+ # Auto-detects GPU, set to "cpu" to force CPU inference
68
+ t = Translator("./quickmt-tr-en/", device="auto")
69
+
70
+ # Translate - set beam size to 1 for faster speed (but lower quality)
71
+ sample_text = "Halifax, Nova Scotia'daki Dalhousie Üniversitesi'nde tıp profesörü ve Kanada Diyabet Derneği'nin klinik ve bilim alanı başkanı olan Dr. Ehud Ur, çalışmanın henüz başlangıç aşamasında olduğu konusunda uyarıda bulundu."
72
+
73
+ t(sample_text, beam_size=5)
74
+ ```
75
+
76
+ > 'Dr. Ehud Ur, a professor of medicine at Dalhousie University in Halifax, Nova Scotia, and head of clinical and science at the Canadian Diabetes Association, warned that the study is still in its infancy.'
77
+
78
+ ```python
79
+ # Get alternative translations by sampling
80
+ # You can pass any cTranslate2 `translate_batch` arguments
81
+ t([sample_text], sampling_temperature=1.2, beam_size=1, sampling_topk=50, sampling_topp=0.9)
82
+ ```
83
+
84
+ > 'Dr. Ehud Ur, a professor of medicine at Dalhousie University in Halifax, Nova Scotia, and chief clinical and science officer of the Canadian Diabetes Society, warned that the study is still at its preliminary stage.'
85
+
86
+ The model is in `ctranslate2` format, and the tokenizers are `sentencepiece`, so you can use `ctranslate2` directly instead of through `quickmt`. It is also possible to get this model to work with e.g. [LibreTranslate](https://libretranslate.com/) which also uses `ctranslate2` and `sentencepiece`.
87
+
88
+ ## Metrics
89
+
90
+ `bleu` and `chrf2` are calculated with [sacrebleu](https://github.com/mjpost/sacrebleu) on the [Flores200 `devtest` test set](https://huggingface.co/datasets/facebook/flores) ("tur_Latn"->"eng_Latn"). `comet22` with the [`comet`](https://github.com/Unbabel/COMET) library and the [default model](https://huggingface.co/Unbabel/wmt22-comet-da). "Time (s)" is the time in seconds to translate the flores-devtest dataset (1012 sentences) on an RTX 4070s GPU with batch size 32 (faster speed is possible using a larger batch size).
91
+
92
+
93
+ | | bleu | chrf2 | comet22 | Time (s) |
94
+ |:---------------------------------|-------:|--------:|----------:|-----------:|
95
+ | quickmt/quickmt-tr-en | 39.5 | 65.03 | 89 | 1.28 |
96
+ | Helsinki-NLP/opus-mt-tr-en | 32.19 | 59.43 | 87.03 | 3.5 |
97
+ | facebook/nllb-200-distilled-600M | 37.15 | 62.76 | 88.28 | 20.91 |
98
+ | facebook/nllb-200-distilled-1.3B | 39.33 | 64.88 | 89.27 | 36.35 |
99
+ | facebook/m2m100_418M | 28.53 | 57.08 | 84.59 | 17.34 |
100
+ | facebook/m2m100_1.2B | 33.1 | 60.38 | 86.82 | 34.1 |
.ipynb_checkpoints/eole-config-checkpoint.yaml ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ## IO
2
+ save_data: data
3
+ overwrite: True
4
+ seed: 1234
5
+ report_every: 100
6
+ valid_metrics: ["BLEU"]
7
+ tensorboard: true
8
+ tensorboard_log_dir: tensorboard
9
+
10
+ ### Vocab
11
+ src_vocab: tr.eole.vocab
12
+ tgt_vocab: en.eole.vocab
13
+ src_vocab_size: 20000
14
+ tgt_vocab_size: 20000
15
+ vocab_size_multiple: 8
16
+ share_vocab: false
17
+ n_sample: 0
18
+
19
+ data:
20
+ corpus_1:
21
+ path_src: hf://quickmt/quickmt-train.tr-en/tr
22
+ path_tgt: hf://quickmt/quickmt-train.tr-en/en
23
+ path_sco: hf://quickmt/quickmt-train.tr-en/sco
24
+ valid:
25
+ path_src: valid.tr
26
+ path_tgt: valid.en
27
+
28
+ transforms: [sentencepiece, filtertoolong]
29
+ transforms_configs:
30
+ sentencepiece:
31
+ src_subword_model: "tr.spm.model"
32
+ tgt_subword_model: "en.spm.model"
33
+ filtertoolong:
34
+ src_seq_length: 256
35
+ tgt_seq_length: 256
36
+
37
+ training:
38
+ # Run configuration
39
+ model_path: quickmt-tr-en-eole-model
40
+ #train_from: model
41
+ keep_checkpoint: 4
42
+ train_steps: 100000
43
+ save_checkpoint_steps: 5000
44
+ valid_steps: 5000
45
+
46
+ # Train on a single GPU
47
+ world_size: 1
48
+ gpu_ranks: [0]
49
+
50
+ # Batching 10240
51
+ batch_type: "tokens"
52
+ batch_size: 8000
53
+ valid_batch_size: 4096
54
+ batch_size_multiple: 8
55
+ accum_count: [10]
56
+ accum_steps: [0]
57
+
58
+ # Optimizer & Compute
59
+ compute_dtype: "fp16"
60
+ optim: "adamw"
61
+ #use_amp: False
62
+ learning_rate: 2.0
63
+ warmup_steps: 4000
64
+ decay_method: "noam"
65
+ adam_beta2: 0.998
66
+
67
+ # Data loading
68
+ bucket_size: 128000
69
+ num_workers: 4
70
+ prefetch_factor: 32
71
+
72
+ # Hyperparams
73
+ dropout_steps: [0]
74
+ dropout: [0.1]
75
+ attention_dropout: [0.1]
76
+ max_grad_norm: 0
77
+ label_smoothing: 0.1
78
+ average_decay: 0.0001
79
+ param_init_method: xavier_uniform
80
+ normalization: "tokens"
81
+
82
+ model:
83
+ architecture: "transformer"
84
+ share_embeddings: false
85
+ share_decoder_embeddings: false
86
+ hidden_size: 1024
87
+ encoder:
88
+ layers: 8
89
+ decoder:
90
+ layers: 2
91
+ heads: 8
92
+ transformer_ff: 4096
93
+ embeddings:
94
+ word_vec_size: 1024
95
+ position_encoding_type: "SinusoidalInterleaved"
96
+
README.md CHANGED
@@ -1,3 +1,100 @@
1
- ---
2
- license: cc-by-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - tr
5
+ tags:
6
+ - translation
7
+ license: cc-by-4.0
8
+ datasets:
9
+ - quickmt/quickmt-train.tr-en
10
+ model-index:
11
+ - name: quickmt-tr-en
12
+ results:
13
+ - task:
14
+ name: Translation tur-eng
15
+ type: translation
16
+ args: tur-eng
17
+ dataset:
18
+ name: flores101-devtest
19
+ type: flores_101
20
+ args: tur_Latn eng_Latn devtest
21
+ metrics:
22
+ - name: BLEU
23
+ type: bleu
24
+ value: 39.5
25
+ - name: CHRF
26
+ type: chrf
27
+ value: 65.03
28
+ - name: COMET
29
+ type: comet
30
+ value: 89.0
31
+ ---
32
+
33
+
34
+ # `quickmt-tr-en` Neural Machine Translation Model
35
+
36
+ `quickmt-tr-en` is a reasonably fast and reasonably accurate neural machine translation model for translation from `tr` into `en`.
37
+
38
+
39
+ ## Model Information
40
+
41
+ * Trained using [`eole`](https://github.com/eole-nlp/eole)
42
+ * 185M parameter transformer 'big' with 8 encoder layers and 2 decoder layers
43
+ * 50k joint Sentencepiece vocabulary
44
+ * Expested for fast inference to [CTranslate2](https://github.com/OpenNMT/CTranslate2) format
45
+ * Training data: https://huggingface.co/datasets/quickmt/quickmt-train.tr-en/tree/main
46
+
47
+ See the `eole` model configuration in this repository for further details and the `eole-model` for the raw `eole` (pytorch) model.
48
+
49
+ ## Usage with `quickmt`
50
+
51
+ You must install the Nvidia cuda toolkit first, if you want to do GPU inference.
52
+
53
+ Next, install the `quickmt` python library and download the model:
54
+
55
+ ```bash
56
+ git clone https://github.com/quickmt/quickmt.git
57
+ pip install ./quickmt/
58
+
59
+ quickmt-model-download quickmt/quickmt-tr-en ./quickmt-tr-en
60
+ ```
61
+
62
+ Finally use the model in python:
63
+
64
+ ```python
65
+ from quickmt impest Translator
66
+
67
+ # Auto-detects GPU, set to "cpu" to force CPU inference
68
+ t = Translator("./quickmt-tr-en/", device="auto")
69
+
70
+ # Translate - set beam size to 1 for faster speed (but lower quality)
71
+ sample_text = "Halifax, Nova Scotia'daki Dalhousie Üniversitesi'nde tıp profesörü ve Kanada Diyabet Derneği'nin klinik ve bilim alanı başkanı olan Dr. Ehud Ur, çalışmanın henüz başlangıç aşamasında olduğu konusunda uyarıda bulundu."
72
+
73
+ t(sample_text, beam_size=5)
74
+ ```
75
+
76
+ > 'Dr. Ehud Ur, a professor of medicine at Dalhousie University in Halifax, Nova Scotia, and head of clinical and science at the Canadian Diabetes Association, warned that the study is still in its infancy.'
77
+
78
+ ```python
79
+ # Get alternative translations by sampling
80
+ # You can pass any cTranslate2 `translate_batch` arguments
81
+ t([sample_text], sampling_temperature=1.2, beam_size=1, sampling_topk=50, sampling_topp=0.9)
82
+ ```
83
+
84
+ > 'Dr. Ehud Ur, a professor of medicine at Dalhousie University in Halifax, Nova Scotia, and chief clinical and science officer of the Canadian Diabetes Society, warned that the study is still at its preliminary stage.'
85
+
86
+ The model is in `ctranslate2` format, and the tokenizers are `sentencepiece`, so you can use `ctranslate2` directly instead of through `quickmt`. It is also possible to get this model to work with e.g. [LibreTranslate](https://libretranslate.com/) which also uses `ctranslate2` and `sentencepiece`.
87
+
88
+ ## Metrics
89
+
90
+ `bleu` and `chrf2` are calculated with [sacrebleu](https://github.com/mjpost/sacrebleu) on the [Flores200 `devtest` test set](https://huggingface.co/datasets/facebook/flores) ("tur_Latn"->"eng_Latn"). `comet22` with the [`comet`](https://github.com/Unbabel/COMET) library and the [default model](https://huggingface.co/Unbabel/wmt22-comet-da). "Time (s)" is the time in seconds to translate the flores-devtest dataset (1012 sentences) on an RTX 4070s GPU with batch size 32 (faster speed is possible using a larger batch size).
91
+
92
+
93
+ | | bleu | chrf2 | comet22 | Time (s) |
94
+ |:---------------------------------|-------:|--------:|----------:|-----------:|
95
+ | quickmt/quickmt-tr-en | 39.5 | 65.03 | 89 | 1.28 |
96
+ | Helsinki-NLP/opus-mt-tr-en | 32.19 | 59.43 | 87.03 | 3.5 |
97
+ | facebook/nllb-200-distilled-600M | 37.15 | 62.76 | 88.28 | 20.91 |
98
+ | facebook/nllb-200-distilled-1.3B | 39.33 | 64.88 | 89.27 | 36.35 |
99
+ | facebook/m2m100_418M | 28.53 | 57.08 | 84.59 | 17.34 |
100
+ | facebook/m2m100_1.2B | 33.1 | 60.38 | 86.82 | 34.1 |
config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_source_bos": false,
3
+ "add_source_eos": false,
4
+ "bos_token": "<s>",
5
+ "decoder_start_token": "<s>",
6
+ "eos_token": "</s>",
7
+ "layer_norm_epsilon": 1e-06,
8
+ "multi_query_attention": false,
9
+ "unk_token": "<unk>"
10
+ }
eole-config.yaml ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ## IO
2
+ save_data: data
3
+ overwrite: True
4
+ seed: 1234
5
+ report_every: 100
6
+ valid_metrics: ["BLEU"]
7
+ tensorboard: true
8
+ tensorboard_log_dir: tensorboard
9
+
10
+ ### Vocab
11
+ src_vocab: tr.eole.vocab
12
+ tgt_vocab: en.eole.vocab
13
+ src_vocab_size: 20000
14
+ tgt_vocab_size: 20000
15
+ vocab_size_multiple: 8
16
+ share_vocab: false
17
+ n_sample: 0
18
+
19
+ data:
20
+ corpus_1:
21
+ path_src: hf://quickmt/quickmt-train.tr-en/tr
22
+ path_tgt: hf://quickmt/quickmt-train.tr-en/en
23
+ path_sco: hf://quickmt/quickmt-train.tr-en/sco
24
+ valid:
25
+ path_src: valid.tr
26
+ path_tgt: valid.en
27
+
28
+ transforms: [sentencepiece, filtertoolong]
29
+ transforms_configs:
30
+ sentencepiece:
31
+ src_subword_model: "tr.spm.model"
32
+ tgt_subword_model: "en.spm.model"
33
+ filtertoolong:
34
+ src_seq_length: 256
35
+ tgt_seq_length: 256
36
+
37
+ training:
38
+ # Run configuration
39
+ model_path: quickmt-tr-en-eole-model
40
+ #train_from: model
41
+ keep_checkpoint: 4
42
+ train_steps: 100000
43
+ save_checkpoint_steps: 5000
44
+ valid_steps: 5000
45
+
46
+ # Train on a single GPU
47
+ world_size: 1
48
+ gpu_ranks: [0]
49
+
50
+ # Batching 10240
51
+ batch_type: "tokens"
52
+ batch_size: 8000
53
+ valid_batch_size: 4096
54
+ batch_size_multiple: 8
55
+ accum_count: [10]
56
+ accum_steps: [0]
57
+
58
+ # Optimizer & Compute
59
+ compute_dtype: "fp16"
60
+ optim: "adamw"
61
+ #use_amp: False
62
+ learning_rate: 2.0
63
+ warmup_steps: 4000
64
+ decay_method: "noam"
65
+ adam_beta2: 0.998
66
+
67
+ # Data loading
68
+ bucket_size: 128000
69
+ num_workers: 4
70
+ prefetch_factor: 32
71
+
72
+ # Hyperparams
73
+ dropout_steps: [0]
74
+ dropout: [0.1]
75
+ attention_dropout: [0.1]
76
+ max_grad_norm: 0
77
+ label_smoothing: 0.1
78
+ average_decay: 0.0001
79
+ param_init_method: xavier_uniform
80
+ normalization: "tokens"
81
+
82
+ model:
83
+ architecture: "transformer"
84
+ share_embeddings: false
85
+ share_decoder_embeddings: false
86
+ hidden_size: 1024
87
+ encoder:
88
+ layers: 8
89
+ decoder:
90
+ layers: 2
91
+ heads: 8
92
+ transformer_ff: 4096
93
+ embeddings:
94
+ word_vec_size: 1024
95
+ position_encoding_type: "SinusoidalInterleaved"
96
+
eole-model/config.json ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "n_sample": 0,
3
+ "valid_metrics": [
4
+ "BLEU"
5
+ ],
6
+ "tensorboard": true,
7
+ "tgt_vocab_size": 20000,
8
+ "save_data": "data",
9
+ "src_vocab_size": 20000,
10
+ "overwrite": true,
11
+ "seed": 1234,
12
+ "src_vocab": "tr.eole.vocab",
13
+ "tgt_vocab": "en.eole.vocab",
14
+ "transforms": [
15
+ "sentencepiece",
16
+ "filtertoolong"
17
+ ],
18
+ "vocab_size_multiple": 8,
19
+ "tensorboard_log_dir_dated": "tensorboard/Jul-21_11-21-32",
20
+ "tensorboard_log_dir": "tensorboard",
21
+ "share_vocab": false,
22
+ "report_every": 100,
23
+ "training": {
24
+ "decay_method": "noam",
25
+ "world_size": 1,
26
+ "optim": "adamw",
27
+ "param_init_method": "xavier_uniform",
28
+ "save_checkpoint_steps": 5000,
29
+ "batch_size": 8000,
30
+ "warmup_steps": 4000,
31
+ "batch_type": "tokens",
32
+ "normalization": "tokens",
33
+ "attention_dropout": [
34
+ 0.1
35
+ ],
36
+ "compute_dtype": "torch.float16",
37
+ "gpu_ranks": [
38
+ 0
39
+ ],
40
+ "max_grad_norm": 0.0,
41
+ "bucket_size": 128000,
42
+ "valid_batch_size": 4096,
43
+ "dropout_steps": [
44
+ 0
45
+ ],
46
+ "learning_rate": 2.0,
47
+ "label_smoothing": 0.1,
48
+ "num_workers": 0,
49
+ "valid_steps": 5000,
50
+ "average_decay": 0.0001,
51
+ "accum_count": [
52
+ 10
53
+ ],
54
+ "adam_beta2": 0.998,
55
+ "prefetch_factor": 32,
56
+ "model_path": "quickmt-tr-en-eole-model",
57
+ "accum_steps": [
58
+ 0
59
+ ],
60
+ "train_steps": 100000,
61
+ "batch_size_multiple": 8,
62
+ "keep_checkpoint": 4,
63
+ "dropout": [
64
+ 0.1
65
+ ]
66
+ },
67
+ "transforms_configs": {
68
+ "filtertoolong": {
69
+ "tgt_seq_length": 256,
70
+ "src_seq_length": 256
71
+ },
72
+ "sentencepiece": {
73
+ "tgt_subword_model": "${MODEL_PATH}/en.spm.model",
74
+ "src_subword_model": "${MODEL_PATH}/tr.spm.model"
75
+ }
76
+ },
77
+ "data": {
78
+ "corpus_1": {
79
+ "path_src": "train.tr",
80
+ "transforms": [
81
+ "sentencepiece",
82
+ "filtertoolong"
83
+ ],
84
+ "path_align": null,
85
+ "path_tgt": "train.en"
86
+ },
87
+ "valid": {
88
+ "path_src": "valid.tr",
89
+ "transforms": [
90
+ "sentencepiece",
91
+ "filtertoolong"
92
+ ],
93
+ "path_align": null,
94
+ "path_tgt": "valid.en"
95
+ }
96
+ },
97
+ "model": {
98
+ "heads": 8,
99
+ "hidden_size": 1024,
100
+ "share_decoder_embeddings": false,
101
+ "position_encoding_type": "SinusoidalInterleaved",
102
+ "transformer_ff": 4096,
103
+ "architecture": "transformer",
104
+ "share_embeddings": false,
105
+ "encoder": {
106
+ "encoder_type": "transformer",
107
+ "heads": 8,
108
+ "n_positions": null,
109
+ "src_word_vec_size": 1024,
110
+ "hidden_size": 1024,
111
+ "position_encoding_type": "SinusoidalInterleaved",
112
+ "layers": 8,
113
+ "transformer_ff": 4096
114
+ },
115
+ "embeddings": {
116
+ "word_vec_size": 1024,
117
+ "position_encoding_type": "SinusoidalInterleaved",
118
+ "tgt_word_vec_size": 1024,
119
+ "src_word_vec_size": 1024
120
+ },
121
+ "decoder": {
122
+ "n_positions": null,
123
+ "heads": 8,
124
+ "decoder_type": "transformer",
125
+ "hidden_size": 1024,
126
+ "position_encoding_type": "SinusoidalInterleaved",
127
+ "tgt_word_vec_size": 1024,
128
+ "layers": 2,
129
+ "transformer_ff": 4096
130
+ }
131
+ }
132
+ }
eole-model/en.spm.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c4b6f8bf657c61b0219015022eba70ae06f19c7ae4ac9bd7dbacdb9bafa2ea4
3
+ size 586127
eole-model/model.00.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8820d106623bf3225e7527a3a2e78ebdd9bec39c8e1a54de668233d68a8dff32
3
+ size 823882912
eole-model/tr.spm.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:453f064230753d99aecab739b8de017e91836692acd2566812de6f96ffa83f26
3
+ size 604393
eole-model/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7151fa84b90fe90dc99dae1f7bba3c0b416d3d70cc3ce0ae80f60c543c625745
3
+ size 401699775
source_vocabulary.json ADDED
The diff for this file is too large to render. See raw diff
 
src.spm.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:453f064230753d99aecab739b8de017e91836692acd2566812de6f96ffa83f26
3
+ size 604393
target_vocabulary.json ADDED
The diff for this file is too large to render. See raw diff
 
tgt.spm.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c4b6f8bf657c61b0219015022eba70ae06f19c7ae4ac9bd7dbacdb9bafa2ea4
3
+ size 586127