radinplaid commited on
Commit
bcf9f0b
·
verified ·
1 Parent(s): 9ef6676

Upload folder using huggingface_hub

Browse files
.ipynb_checkpoints/README-checkpoint.md ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - ur
5
+ tags:
6
+ - translation
7
+ license: cc-by-4.0
8
+ datasets:
9
+ - quickmt/quickmt-train.ur-en
10
+ model-index:
11
+ - name: quickmt-ur-en
12
+ results:
13
+ - task:
14
+ name: Translation urd-eng
15
+ type: translation
16
+ args: urd-eng
17
+ dataset:
18
+ name: flores101-devtest
19
+ type: flores_101
20
+ args: urd_Arab eng_Latn devtest
21
+ metrics:
22
+ - name: BLEU
23
+ type: bleu
24
+ value: 31.48
25
+ - name: CHRF
26
+ type: chrf
27
+ value: 58.35
28
+ - name: COMET
29
+ type: comet
30
+ value: 84.25
31
+ ---
32
+
33
+
34
+ # `quickmt-ur-en` Neural Machine Translation Model
35
+
36
+ `quickmt-ur-en` is a reasonably fast and reasonably accurate neural machine translation model for translation from `ur` into `en`.
37
+
38
+
39
+ ## Model Information
40
+
41
+ * Trained using [`eole`](https://github.com/eole-nlp/eole)
42
+ * 195M parameter transformer 'big' with 8 encoder layers and 2 decoder layers
43
+ * 20k seperate Sentencepiece vocabs
44
+ * Expested for fast inference to [CTranslate2](https://github.com/OpenNMT/CTranslate2) format
45
+ * Training data: https://huggingface.co/datasets/quickmt/quickmt-train.ur-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-ur-en ./quickmt-ur-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-ur-en/", device="auto")
69
+
70
+ # Translate - set beam size to 1 for faster speed (but lower quality)
71
+ sample_text = 'ہالیفیکس، نووا اسکاٹیا کی ڈلہوزی یونیورسٹی میں طب کے پروفیسر اور کینیڈین ڈائبیٹک ایسوسی ایشن کے طبی و سائنسی ڈویژن کے صدر ڈاکٹر ایہود یوآر نے متنبہ کیا ہے کہ تحقیق ابھی تک اپنے ابتدائی مراحل میں ہے۔'
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 president of the Medical and Scientific Division of the Canadian Diabetes Association, warned that the research is still in its early stages.'
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 Uyer, professor of medicine at Dalhousie University in Halifax, Nova Scotia, president of the Medical and Science Division of the Canadian Dietetic Association, warned that research was still "a preliminary course" ahead.'
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) ("urd_Arab"->"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
+ | | bleu | chrf2 | comet22 | Time (s) |
93
+ |:---------------------------------|-------:|--------:|----------:|-----------:|
94
+ | quickmt/quickmt-ur-en | 31.48 | 58.35 | 84.25 | 1.28 |
95
+ | Helsinki-NLP/opus-mt-ur-en | 10.37 | 35.21 | 62.54 | 4.79 |
96
+ | facebook/nllb-200-distilled-600M | 33.02 | 60.04 | 86.21 | 21.2 |
97
+ | facebook/nllb-200-distilled-1.3B | 36.68 | 62.83 | 87.55 | 36.97 |
98
+ | facebook/m2m100_418M | 15.65 | 43.64 | 69.94 | 19.58 |
99
+ | facebook/m2m100_1.2B | 23.78 | 51.67 | 79.44 | 35.35 |
.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: ur.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.ur-en/ur
22
+ path_tgt: hf://quickmt/quickmt-train.ur-en/en
23
+ path_sco: hf://quickmt/quickmt-train.ur-en/sco
24
+ valid:
25
+ path_src: valid.ur
26
+ path_tgt: valid.en
27
+
28
+ transforms: [sentencepiece, filtertoolong]
29
+ transforms_configs:
30
+ sentencepiece:
31
+ src_subword_model: "ur.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-ur-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,99 @@
1
- ---
2
- license: cc-by-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - ur
5
+ tags:
6
+ - translation
7
+ license: cc-by-4.0
8
+ datasets:
9
+ - quickmt/quickmt-train.ur-en
10
+ model-index:
11
+ - name: quickmt-ur-en
12
+ results:
13
+ - task:
14
+ name: Translation urd-eng
15
+ type: translation
16
+ args: urd-eng
17
+ dataset:
18
+ name: flores101-devtest
19
+ type: flores_101
20
+ args: urd_Arab eng_Latn devtest
21
+ metrics:
22
+ - name: BLEU
23
+ type: bleu
24
+ value: 31.48
25
+ - name: CHRF
26
+ type: chrf
27
+ value: 58.35
28
+ - name: COMET
29
+ type: comet
30
+ value: 84.25
31
+ ---
32
+
33
+
34
+ # `quickmt-ur-en` Neural Machine Translation Model
35
+
36
+ `quickmt-ur-en` is a reasonably fast and reasonably accurate neural machine translation model for translation from `ur` into `en`.
37
+
38
+
39
+ ## Model Information
40
+
41
+ * Trained using [`eole`](https://github.com/eole-nlp/eole)
42
+ * 195M parameter transformer 'big' with 8 encoder layers and 2 decoder layers
43
+ * 20k seperate Sentencepiece vocabs
44
+ * Expested for fast inference to [CTranslate2](https://github.com/OpenNMT/CTranslate2) format
45
+ * Training data: https://huggingface.co/datasets/quickmt/quickmt-train.ur-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-ur-en ./quickmt-ur-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-ur-en/", device="auto")
69
+
70
+ # Translate - set beam size to 1 for faster speed (but lower quality)
71
+ sample_text = 'ہالیفیکس، نووا اسکاٹیا کی ڈلہوزی یونیورسٹی میں طب کے پروفیسر اور کینیڈین ڈائبیٹک ایسوسی ایشن کے طبی و سائنسی ڈویژن کے صدر ڈاکٹر ایہود یوآر نے متنبہ کیا ہے کہ تحقیق ابھی تک اپنے ابتدائی مراحل میں ہے۔'
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 president of the Medical and Scientific Division of the Canadian Diabetes Association, warned that the research is still in its early stages.'
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 Uyer, professor of medicine at Dalhousie University in Halifax, Nova Scotia, president of the Medical and Science Division of the Canadian Dietetic Association, warned that research was still "a preliminary course" ahead.'
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) ("urd_Arab"->"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
+ | | bleu | chrf2 | comet22 | Time (s) |
93
+ |:---------------------------------|-------:|--------:|----------:|-----------:|
94
+ | quickmt/quickmt-ur-en | 31.48 | 58.35 | 84.25 | 1.28 |
95
+ | Helsinki-NLP/opus-mt-ur-en | 10.37 | 35.21 | 62.54 | 4.79 |
96
+ | facebook/nllb-200-distilled-600M | 33.02 | 60.04 | 86.21 | 21.2 |
97
+ | facebook/nllb-200-distilled-1.3B | 36.68 | 62.83 | 87.55 | 36.97 |
98
+ | facebook/m2m100_418M | 15.65 | 43.64 | 69.94 | 19.58 |
99
+ | facebook/m2m100_1.2B | 23.78 | 51.67 | 79.44 | 35.35 |
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: ur.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.ur-en/ur
22
+ path_tgt: hf://quickmt/quickmt-train.ur-en/en
23
+ path_sco: hf://quickmt/quickmt-train.ur-en/sco
24
+ valid:
25
+ path_src: valid.ur
26
+ path_tgt: valid.en
27
+
28
+ transforms: [sentencepiece, filtertoolong]
29
+ transforms_configs:
30
+ sentencepiece:
31
+ src_subword_model: "ur.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-ur-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
+ "valid_metrics": [
3
+ "BLEU"
4
+ ],
5
+ "transforms": [
6
+ "sentencepiece",
7
+ "filtertoolong"
8
+ ],
9
+ "report_every": 100,
10
+ "src_vocab_size": 20000,
11
+ "vocab_size_multiple": 8,
12
+ "tensorboard": true,
13
+ "tgt_vocab_size": 20000,
14
+ "overwrite": true,
15
+ "tensorboard_log_dir_dated": "tensorboard/Jun-17_13-39-10",
16
+ "save_data": "data",
17
+ "src_vocab": "ur.eole.vocab",
18
+ "seed": 1234,
19
+ "share_vocab": false,
20
+ "n_sample": 0,
21
+ "tgt_vocab": "en.eole.vocab",
22
+ "tensorboard_log_dir": "tensorboard",
23
+ "training": {
24
+ "dropout": [
25
+ 0.1
26
+ ],
27
+ "learning_rate": 2.0,
28
+ "batch_type": "tokens",
29
+ "normalization": "tokens",
30
+ "max_grad_norm": 0.0,
31
+ "accum_steps": [
32
+ 0
33
+ ],
34
+ "label_smoothing": 0.1,
35
+ "num_workers": 0,
36
+ "valid_steps": 5000,
37
+ "warmup_steps": 4000,
38
+ "bucket_size": 128000,
39
+ "average_decay": 0.0001,
40
+ "param_init_method": "xavier_uniform",
41
+ "keep_checkpoint": 4,
42
+ "save_checkpoint_steps": 5000,
43
+ "prefetch_factor": 32,
44
+ "adam_beta2": 0.998,
45
+ "batch_size_multiple": 8,
46
+ "batch_size": 8000,
47
+ "attention_dropout": [
48
+ 0.1
49
+ ],
50
+ "gpu_ranks": [
51
+ 0
52
+ ],
53
+ "dropout_steps": [
54
+ 0
55
+ ],
56
+ "accum_count": [
57
+ 10
58
+ ],
59
+ "valid_batch_size": 4096,
60
+ "optim": "adamw",
61
+ "compute_dtype": "torch.float16",
62
+ "decay_method": "noam",
63
+ "world_size": 1,
64
+ "train_steps": 100000,
65
+ "model_path": "quickmt-ur-en-eole-model"
66
+ },
67
+ "data": {
68
+ "corpus_1": {
69
+ "transforms": [
70
+ "sentencepiece",
71
+ "filtertoolong"
72
+ ],
73
+ "path_tgt": "train.en",
74
+ "path_align": null,
75
+ "path_src": "train.ur"
76
+ },
77
+ "valid": {
78
+ "transforms": [
79
+ "sentencepiece",
80
+ "filtertoolong"
81
+ ],
82
+ "path_tgt": "valid.en",
83
+ "path_align": null,
84
+ "path_src": "valid.ur"
85
+ }
86
+ },
87
+ "model": {
88
+ "hidden_size": 1024,
89
+ "share_decoder_embeddings": false,
90
+ "architecture": "transformer",
91
+ "position_encoding_type": "SinusoidalInterleaved",
92
+ "share_embeddings": false,
93
+ "heads": 8,
94
+ "transformer_ff": 4096,
95
+ "embeddings": {
96
+ "tgt_word_vec_size": 1024,
97
+ "src_word_vec_size": 1024,
98
+ "position_encoding_type": "SinusoidalInterleaved",
99
+ "word_vec_size": 1024
100
+ },
101
+ "decoder": {
102
+ "tgt_word_vec_size": 1024,
103
+ "hidden_size": 1024,
104
+ "n_positions": null,
105
+ "layers": 2,
106
+ "position_encoding_type": "SinusoidalInterleaved",
107
+ "decoder_type": "transformer",
108
+ "heads": 8,
109
+ "transformer_ff": 4096
110
+ },
111
+ "encoder": {
112
+ "hidden_size": 1024,
113
+ "encoder_type": "transformer",
114
+ "n_positions": null,
115
+ "layers": 8,
116
+ "src_word_vec_size": 1024,
117
+ "position_encoding_type": "SinusoidalInterleaved",
118
+ "heads": 8,
119
+ "transformer_ff": 4096
120
+ }
121
+ },
122
+ "transforms_configs": {
123
+ "sentencepiece": {
124
+ "tgt_subword_model": "${MODEL_PATH}/en.spm.model",
125
+ "src_subword_model": "${MODEL_PATH}/ur.spm.model"
126
+ },
127
+ "filtertoolong": {
128
+ "src_seq_length": 256,
129
+ "tgt_seq_length": 256
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:27f59c3dc803ba0fc30ac42666969bbf9ea2316c4e3bfc2ac9456127a0c745ee
3
+ size 587475
eole-model/model.00.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07da6e1c561b698f84976ccee82daadde8ab0fe3b6d7fd3d1a1d4bdab81623bf
3
+ size 823882912
eole-model/ur.spm.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a9592d23b51ae0fafbdd8b1ee171039731ebaa1689b31164384d17bc7d3af2d
3
+ size 624096
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:3276d2649bc9f5443751ecdf4dcfd9620c5490bae6904e2a318a539cdf14327b
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:5a9592d23b51ae0fafbdd8b1ee171039731ebaa1689b31164384d17bc7d3af2d
3
+ size 624096
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:27f59c3dc803ba0fc30ac42666969bbf9ea2316c4e3bfc2ac9456127a0c745ee
3
+ size 587475