radinplaid commited on
Commit
555e4f2
·
verified ·
1 Parent(s): 4fe5785

Upload folder using huggingface_hub

Browse files
.ipynb_checkpoints/README-checkpoint.md ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - cs
5
+ tags:
6
+ - translation
7
+ license: cc-by-4.0
8
+ datasets:
9
+ - quickmt/quickmt-train.cs-en
10
+ model-index:
11
+ - name: quickmt-cs-en
12
+ results:
13
+ - task:
14
+ name: Translation ces-eng
15
+ type: translation
16
+ args: ces-eng
17
+ dataset:
18
+ name: flores101-devtest
19
+ type: flores_101
20
+ args: ces_Latn eng_Latn devtest
21
+ metrics:
22
+ - name: BLEU
23
+ type: bleu
24
+ value: 39.63
25
+ - name: CHRF
26
+ type: chrf
27
+ value: 65.65
28
+ - name: COMET
29
+ type: comet
30
+ value: 88.23
31
+ ---
32
+
33
+
34
+ # `quickmt-cs-en` Neural Machine Translation Model
35
+
36
+ `quickmt-cs-en` is a reasonably fast and reasonably accurate neural machine translation model for translation from `cs` into `en`.
37
+
38
+
39
+ ## Try it on our Huggingface Space
40
+
41
+ Give it a try before downloading here: https://huggingface.co/spaces/quickmt/QuickMT-Demo
42
+
43
+
44
+ ## Model Information
45
+
46
+ * Trained using [`eole`](https://github.com/eole-nlp/eole)
47
+ * 200M parameter transformer 'big' with 8 encoder layers and 2 decoder layers
48
+ * 32k separate Sentencepiece vocabs
49
+ * Expested for fast inference to [CTranslate2](https://github.com/OpenNMT/CTranslate2) format
50
+ * Training data: https://huggingface.co/datasets/quickmt/quickmt-train.lv-en/tree/main
51
+
52
+ See the `eole` model configuration in this repository for further details and the `eole-model` for the raw `eole` (pytorch) model.
53
+
54
+
55
+ ## Usage with `quickmt`
56
+
57
+ You must install the Nvidia cuda toolkit first, if you want to do GPU inference.
58
+
59
+ Next, install the `quickmt` python library and download the model:
60
+
61
+ ```bash
62
+ git clone https://github.com/quickmt/quickmt.git
63
+ pip install ./quickmt/
64
+
65
+ quickmt-model-download quickmt/quickmt-cs-en ./quickmt-cs-en
66
+ ```
67
+
68
+ Finally use the model in python:
69
+
70
+ ```python
71
+ from quickmt impest Translator
72
+
73
+ # Auto-detects GPU, set to "cpu" to force CPU inference
74
+ t = Translator("./quickmt-cs-en/", device="auto")
75
+
76
+ # Translate - set beam size to 1 for faster speed (but lower quality)
77
+ sample_text = 'Dr. Ehud Ur, profesor medicíny na Dalhousieově univerzitě v Halifaxu v Novém Skotsku a zároveň předseda klinické a vědecké divize Kanadské diabetické asociace upozornil, že výzkum je teprve ve svých počátcích.'
78
+
79
+ t(sample_text, beam_size=5)
80
+ ```
81
+
82
+ > 'Dr. Ehud Ur, professor of medicine at Dalhousie University in Halifax, Nova Scotia, and chairman of the clinical and scientific division of the Canadian Diabetic Association, pointed out that the research is still in its early stages.'
83
+
84
+ ```python
85
+ # Get alternative translations by sampling
86
+ # You can pass any cTranslate2 `translate_batch` arguments
87
+ t([sample_text], sampling_temperature=1.2, beam_size=1, sampling_topk=50, sampling_topp=0.9)
88
+ ```
89
+
90
+ > 'Dr. Ehud Ur, a professor of medicine at Dalhousie University in Halifax, Nova Scotia, who is also chairman of the clinical and scientific division of the Canadian Diabetes Association, noted that the research is still at its inception.'
91
+
92
+ 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`. A model in safetensors format to be used with `eole` is also provided.
93
+
94
+
95
+ ## Metrics
96
+
97
+ `bleu` and `chrf2` are calculated with [sacrebleu](https://github.com/mjpost/sacrebleu) on the [Flores200 `devtest` test set](https://huggingface.co/datasets/facebook/flores) ("ces_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).
98
+
99
+
100
+ | | bleu | chrf2 | comet22 | Time (s) |
101
+ |:---------------------------------|-------:|--------:|----------:|-----------:|
102
+ | quickmt/quickmt-cs-en | 39.63 | 65.65 | 88.23 | 1.39 |
103
+ | Helsinki-NLP/opus-mt-cs-en | 35.01 | 62.72 | 86.54 | 3.58 |
104
+ | facebook/nllb-200-distilled-600M | 38.35 | 64.25 | 87.48 | 21.62 |
105
+ | facebook/nllb-200-distilled-1.3B | 40.12 | 65.79 | 88.33 | 37.57 |
106
+ | facebook/m2m100_418M | 31.59 | 60.1 | 84.53 | 18.31 |
107
+ | facebook/m2m100_1.2B | 36.83 | 63.56 | 87.1 | 34.18 |
108
+
109
+
.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: cs.eole.vocab
12
+ tgt_vocab: en.eole.vocab
13
+ src_vocab_size: 32000
14
+ tgt_vocab_size: 32000
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.cs-en/cs
22
+ path_tgt: hf://quickmt/quickmt-train.cs-en/en
23
+ path_sco: hf://quickmt/quickmt-train.cs-en/sco
24
+ valid:
25
+ path_src: valid.cs
26
+ path_tgt: valid.en
27
+
28
+ transforms: [sentencepiece, filtertoolong]
29
+ transforms_configs:
30
+ sentencepiece:
31
+ src_subword_model: "cs.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-cs-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: 6000
53
+ valid_batch_size: 2048
54
+ batch_size_multiple: 8
55
+ accum_count: [15]
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: 2000
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: true
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,109 @@
1
- ---
2
- license: cc-by-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - cs
5
+ tags:
6
+ - translation
7
+ license: cc-by-4.0
8
+ datasets:
9
+ - quickmt/quickmt-train.cs-en
10
+ model-index:
11
+ - name: quickmt-cs-en
12
+ results:
13
+ - task:
14
+ name: Translation ces-eng
15
+ type: translation
16
+ args: ces-eng
17
+ dataset:
18
+ name: flores101-devtest
19
+ type: flores_101
20
+ args: ces_Latn eng_Latn devtest
21
+ metrics:
22
+ - name: BLEU
23
+ type: bleu
24
+ value: 39.63
25
+ - name: CHRF
26
+ type: chrf
27
+ value: 65.65
28
+ - name: COMET
29
+ type: comet
30
+ value: 88.23
31
+ ---
32
+
33
+
34
+ # `quickmt-cs-en` Neural Machine Translation Model
35
+
36
+ `quickmt-cs-en` is a reasonably fast and reasonably accurate neural machine translation model for translation from `cs` into `en`.
37
+
38
+
39
+ ## Try it on our Huggingface Space
40
+
41
+ Give it a try before downloading here: https://huggingface.co/spaces/quickmt/QuickMT-Demo
42
+
43
+
44
+ ## Model Information
45
+
46
+ * Trained using [`eole`](https://github.com/eole-nlp/eole)
47
+ * 200M parameter transformer 'big' with 8 encoder layers and 2 decoder layers
48
+ * 32k separate Sentencepiece vocabs
49
+ * Expested for fast inference to [CTranslate2](https://github.com/OpenNMT/CTranslate2) format
50
+ * Training data: https://huggingface.co/datasets/quickmt/quickmt-train.lv-en/tree/main
51
+
52
+ See the `eole` model configuration in this repository for further details and the `eole-model` for the raw `eole` (pytorch) model.
53
+
54
+
55
+ ## Usage with `quickmt`
56
+
57
+ You must install the Nvidia cuda toolkit first, if you want to do GPU inference.
58
+
59
+ Next, install the `quickmt` python library and download the model:
60
+
61
+ ```bash
62
+ git clone https://github.com/quickmt/quickmt.git
63
+ pip install ./quickmt/
64
+
65
+ quickmt-model-download quickmt/quickmt-cs-en ./quickmt-cs-en
66
+ ```
67
+
68
+ Finally use the model in python:
69
+
70
+ ```python
71
+ from quickmt impest Translator
72
+
73
+ # Auto-detects GPU, set to "cpu" to force CPU inference
74
+ t = Translator("./quickmt-cs-en/", device="auto")
75
+
76
+ # Translate - set beam size to 1 for faster speed (but lower quality)
77
+ sample_text = 'Dr. Ehud Ur, profesor medicíny na Dalhousieově univerzitě v Halifaxu v Novém Skotsku a zároveň předseda klinické a vědecké divize Kanadské diabetické asociace upozornil, že výzkum je teprve ve svých počátcích.'
78
+
79
+ t(sample_text, beam_size=5)
80
+ ```
81
+
82
+ > 'Dr. Ehud Ur, professor of medicine at Dalhousie University in Halifax, Nova Scotia, and chairman of the clinical and scientific division of the Canadian Diabetic Association, pointed out that the research is still in its early stages.'
83
+
84
+ ```python
85
+ # Get alternative translations by sampling
86
+ # You can pass any cTranslate2 `translate_batch` arguments
87
+ t([sample_text], sampling_temperature=1.2, beam_size=1, sampling_topk=50, sampling_topp=0.9)
88
+ ```
89
+
90
+ > 'Dr. Ehud Ur, a professor of medicine at Dalhousie University in Halifax, Nova Scotia, who is also chairman of the clinical and scientific division of the Canadian Diabetes Association, noted that the research is still at its inception.'
91
+
92
+ 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`. A model in safetensors format to be used with `eole` is also provided.
93
+
94
+
95
+ ## Metrics
96
+
97
+ `bleu` and `chrf2` are calculated with [sacrebleu](https://github.com/mjpost/sacrebleu) on the [Flores200 `devtest` test set](https://huggingface.co/datasets/facebook/flores) ("ces_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).
98
+
99
+
100
+ | | bleu | chrf2 | comet22 | Time (s) |
101
+ |:---------------------------------|-------:|--------:|----------:|-----------:|
102
+ | quickmt/quickmt-cs-en | 39.63 | 65.65 | 88.23 | 1.39 |
103
+ | Helsinki-NLP/opus-mt-cs-en | 35.01 | 62.72 | 86.54 | 3.58 |
104
+ | facebook/nllb-200-distilled-600M | 38.35 | 64.25 | 87.48 | 21.62 |
105
+ | facebook/nllb-200-distilled-1.3B | 40.12 | 65.79 | 88.33 | 37.57 |
106
+ | facebook/m2m100_418M | 31.59 | 60.1 | 84.53 | 18.31 |
107
+ | facebook/m2m100_1.2B | 36.83 | 63.56 | 87.1 | 34.18 |
108
+
109
+
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: cs.eole.vocab
12
+ tgt_vocab: en.eole.vocab
13
+ src_vocab_size: 32000
14
+ tgt_vocab_size: 32000
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.cs-en/cs
22
+ path_tgt: hf://quickmt/quickmt-train.cs-en/en
23
+ path_sco: hf://quickmt/quickmt-train.cs-en/sco
24
+ valid:
25
+ path_src: valid.cs
26
+ path_tgt: valid.en
27
+
28
+ transforms: [sentencepiece, filtertoolong]
29
+ transforms_configs:
30
+ sentencepiece:
31
+ src_subword_model: "cs.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-cs-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: 6000
53
+ valid_batch_size: 2048
54
+ batch_size_multiple: 8
55
+ accum_count: [15]
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: 2000
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: true
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
+ "src_vocab_size": 32000,
3
+ "valid_metrics": [
4
+ "BLEU"
5
+ ],
6
+ "tensorboard_log_dir_dated": "tensorboard/Oct-04_21-52-07",
7
+ "n_sample": 0,
8
+ "tgt_vocab_size": 32000,
9
+ "transforms": [
10
+ "sentencepiece",
11
+ "filtertoolong"
12
+ ],
13
+ "overwrite": true,
14
+ "vocab_size_multiple": 8,
15
+ "tensorboard_log_dir": "tensorboard",
16
+ "report_every": 100,
17
+ "share_vocab": false,
18
+ "src_vocab": "cs.eole.vocab",
19
+ "save_data": "data",
20
+ "seed": 1234,
21
+ "tgt_vocab": "en.eole.vocab",
22
+ "tensorboard": true,
23
+ "training": {
24
+ "batch_type": "tokens",
25
+ "world_size": 1,
26
+ "valid_batch_size": 2048,
27
+ "label_smoothing": 0.1,
28
+ "accum_count": [
29
+ 15
30
+ ],
31
+ "num_workers": 0,
32
+ "model_path": "quickmt-cs-en-eole-model",
33
+ "gpu_ranks": [
34
+ 0
35
+ ],
36
+ "valid_steps": 5000,
37
+ "accum_steps": [
38
+ 0
39
+ ],
40
+ "average_decay": 0.0001,
41
+ "batch_size": 6000,
42
+ "optim": "adamw",
43
+ "max_grad_norm": 0.0,
44
+ "param_init_method": "xavier_uniform",
45
+ "batch_size_multiple": 8,
46
+ "bucket_size": 128000,
47
+ "dropout": [
48
+ 0.1
49
+ ],
50
+ "decay_method": "noam",
51
+ "normalization": "tokens",
52
+ "dropout_steps": [
53
+ 0
54
+ ],
55
+ "learning_rate": 2.0,
56
+ "train_steps": 100000,
57
+ "adam_beta2": 0.998,
58
+ "save_checkpoint_steps": 5000,
59
+ "prefetch_factor": 32,
60
+ "compute_dtype": "torch.float16",
61
+ "keep_checkpoint": 4,
62
+ "warmup_steps": 2000,
63
+ "attention_dropout": [
64
+ 0.1
65
+ ]
66
+ },
67
+ "model": {
68
+ "heads": 8,
69
+ "position_encoding_type": "SinusoidalInterleaved",
70
+ "hidden_size": 1024,
71
+ "share_embeddings": false,
72
+ "share_decoder_embeddings": true,
73
+ "transformer_ff": 4096,
74
+ "architecture": "transformer",
75
+ "embeddings": {
76
+ "src_word_vec_size": 1024,
77
+ "tgt_word_vec_size": 1024,
78
+ "position_encoding_type": "SinusoidalInterleaved",
79
+ "word_vec_size": 1024
80
+ },
81
+ "encoder": {
82
+ "layers": 8,
83
+ "heads": 8,
84
+ "position_encoding_type": "SinusoidalInterleaved",
85
+ "hidden_size": 1024,
86
+ "encoder_type": "transformer",
87
+ "src_word_vec_size": 1024,
88
+ "transformer_ff": 4096,
89
+ "n_positions": null
90
+ },
91
+ "decoder": {
92
+ "decoder_type": "transformer",
93
+ "layers": 2,
94
+ "heads": 8,
95
+ "position_encoding_type": "SinusoidalInterleaved",
96
+ "hidden_size": 1024,
97
+ "n_positions": null,
98
+ "transformer_ff": 4096,
99
+ "tgt_word_vec_size": 1024
100
+ }
101
+ },
102
+ "transforms_configs": {
103
+ "sentencepiece": {
104
+ "tgt_subword_model": "${MODEL_PATH}/en.spm.model",
105
+ "src_subword_model": "${MODEL_PATH}/cs.spm.model"
106
+ },
107
+ "filtertoolong": {
108
+ "tgt_seq_length": 256,
109
+ "src_seq_length": 256
110
+ }
111
+ },
112
+ "data": {
113
+ "corpus_1": {
114
+ "path_align": null,
115
+ "path_tgt": "train.en",
116
+ "path_src": "train.cs",
117
+ "transforms": [
118
+ "sentencepiece",
119
+ "filtertoolong"
120
+ ]
121
+ },
122
+ "valid": {
123
+ "path_align": null,
124
+ "path_tgt": "valid.en",
125
+ "path_src": "valid.cs",
126
+ "transforms": [
127
+ "sentencepiece",
128
+ "filtertoolong"
129
+ ]
130
+ }
131
+ }
132
+ }
eole-model/cs.spm.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85c6d43b1b3c3f658776e489e998671c2ad653f99fef942e9c9b3e69fa2da69b
3
+ size 828185
eole-model/en.spm.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffcee02997db92cbb52f1dfbc1e8a2b16e0b9d1f1b069da41ebf2401e22328fa
3
+ size 800183
eole-model/model.00.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:05dc91c0c97229ed99947be6c05e25928cede77aac30e5e0b66a100b80c497cd
3
+ size 840314816
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:5a649c489593a3a8b5e4bdc27af3c1626707a49b33c3f7df0d2bc1a849decc2b
3
+ size 409915789
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:85c6d43b1b3c3f658776e489e998671c2ad653f99fef942e9c9b3e69fa2da69b
3
+ size 828185
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:ffcee02997db92cbb52f1dfbc1e8a2b16e0b9d1f1b069da41ebf2401e22328fa
3
+ size 800183