Instructions to use thunderboltc/marianmt-santali-sanlish-to-bangla_normalSplit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thunderboltc/marianmt-santali-sanlish-to-bangla_normalSplit with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("thunderboltc/marianmt-santali-sanlish-to-bangla_normalSplit") model = AutoModelForSeq2SeqLM.from_pretrained("thunderboltc/marianmt-santali-sanlish-to-bangla_normalSplit", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1, checkpoint
Browse files- last-checkpoint/config.json +56 -0
- last-checkpoint/generation_config.json +16 -0
- last-checkpoint/model.safetensors +3 -0
- last-checkpoint/optimizer.pt +3 -0
- last-checkpoint/rng_state.pth +3 -0
- last-checkpoint/scheduler.pt +3 -0
- last-checkpoint/source.spm +3 -0
- last-checkpoint/special_tokens_map.json +5 -0
- last-checkpoint/target.spm +3 -0
- last-checkpoint/tokenizer_config.json +38 -0
- last-checkpoint/trainer_state.json +96 -0
- last-checkpoint/training_args.bin +3 -0
- last-checkpoint/vocab.json +0 -0
last-checkpoint/config.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "Helsinki-NLP/opus-mt-en-mul",
|
| 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 |
+
"bos_token_id": 0,
|
| 12 |
+
"classif_dropout": 0.0,
|
| 13 |
+
"classifier_dropout": 0.0,
|
| 14 |
+
"d_model": 512,
|
| 15 |
+
"decoder_attention_heads": 8,
|
| 16 |
+
"decoder_ffn_dim": 2048,
|
| 17 |
+
"decoder_layerdrop": 0.0,
|
| 18 |
+
"decoder_layers": 6,
|
| 19 |
+
"decoder_start_token_id": 64109,
|
| 20 |
+
"decoder_vocab_size": 64110,
|
| 21 |
+
"dropout": 0.1,
|
| 22 |
+
"encoder_attention_heads": 8,
|
| 23 |
+
"encoder_ffn_dim": 2048,
|
| 24 |
+
"encoder_layerdrop": 0.0,
|
| 25 |
+
"encoder_layers": 6,
|
| 26 |
+
"eos_token_id": 0,
|
| 27 |
+
"extra_pos_embeddings": 64110,
|
| 28 |
+
"forced_eos_token_id": 0,
|
| 29 |
+
"id2label": {
|
| 30 |
+
"0": "LABEL_0",
|
| 31 |
+
"1": "LABEL_1",
|
| 32 |
+
"2": "LABEL_2"
|
| 33 |
+
},
|
| 34 |
+
"init_std": 0.02,
|
| 35 |
+
"is_encoder_decoder": true,
|
| 36 |
+
"label2id": {
|
| 37 |
+
"LABEL_0": 0,
|
| 38 |
+
"LABEL_1": 1,
|
| 39 |
+
"LABEL_2": 2
|
| 40 |
+
},
|
| 41 |
+
"max_length": null,
|
| 42 |
+
"max_position_embeddings": 512,
|
| 43 |
+
"model_type": "marian",
|
| 44 |
+
"normalize_before": false,
|
| 45 |
+
"normalize_embedding": false,
|
| 46 |
+
"num_beams": null,
|
| 47 |
+
"num_hidden_layers": 6,
|
| 48 |
+
"pad_token_id": 64109,
|
| 49 |
+
"scale_embedding": true,
|
| 50 |
+
"share_encoder_decoder_embeddings": true,
|
| 51 |
+
"static_position_embeddings": true,
|
| 52 |
+
"torch_dtype": "float32",
|
| 53 |
+
"transformers_version": "4.46.3",
|
| 54 |
+
"use_cache": true,
|
| 55 |
+
"vocab_size": 64110
|
| 56 |
+
}
|
last-checkpoint/generation_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bad_words_ids": [
|
| 3 |
+
[
|
| 4 |
+
64109
|
| 5 |
+
]
|
| 6 |
+
],
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"decoder_start_token_id": 64109,
|
| 9 |
+
"eos_token_id": 0,
|
| 10 |
+
"forced_eos_token_id": 0,
|
| 11 |
+
"max_length": 512,
|
| 12 |
+
"num_beams": 4,
|
| 13 |
+
"pad_token_id": 64109,
|
| 14 |
+
"renormalize_logits": true,
|
| 15 |
+
"transformers_version": "4.46.3"
|
| 16 |
+
}
|
last-checkpoint/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b72b6839175448b42b75cbd438db44b3e5d02930e0743702306c34f98ac0fa5f
|
| 3 |
+
size 308136760
|
last-checkpoint/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:539ce5476fb69655a06eb00a2f29e3969e68492bb697eea0f7435081a22fe382
|
| 3 |
+
size 615914507
|
last-checkpoint/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:831263f9ef5ec285b9e5d2658a1638c8c02e0ceaf7c1db5598c75929cd9476f8
|
| 3 |
+
size 14645
|
last-checkpoint/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b284c429fa62a5741342f8cb3659b3fe09612846a6822ac911645e81c7ecb6ec
|
| 3 |
+
size 1465
|
last-checkpoint/source.spm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9129bf81ef9d5fcc1797ea3061e789dc5f9e5602786b0490238d207d4219e0f5
|
| 3 |
+
size 790473
|
last-checkpoint/special_tokens_map.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"eos_token": "</s>",
|
| 3 |
+
"pad_token": "<pad>",
|
| 4 |
+
"unk_token": "<unk>"
|
| 5 |
+
}
|
last-checkpoint/target.spm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a0a52318dac3247455ec889eb3bd8da9bdf234974be8b9b0f99ad5378f474c9
|
| 3 |
+
size 706659
|
last-checkpoint/tokenizer_config.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "</s>",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"1": {
|
| 12 |
+
"content": "<unk>",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"64109": {
|
| 20 |
+
"content": "<pad>",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"clean_up_tokenization_spaces": false,
|
| 29 |
+
"eos_token": "</s>",
|
| 30 |
+
"model_max_length": 512,
|
| 31 |
+
"pad_token": "<pad>",
|
| 32 |
+
"separate_vocabs": false,
|
| 33 |
+
"source_lang": "eng",
|
| 34 |
+
"sp_model_kwargs": {},
|
| 35 |
+
"target_lang": "mul",
|
| 36 |
+
"tokenizer_class": "MarianTokenizer",
|
| 37 |
+
"unk_token": "<unk>"
|
| 38 |
+
}
|
last-checkpoint/trainer_state.json
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": 0.36743368487194655,
|
| 3 |
+
"best_model_checkpoint": "/content/marianmt-santali-sanlish-to-bangla/checkpoint-194",
|
| 4 |
+
"epoch": 1.0,
|
| 5 |
+
"eval_steps": 500,
|
| 6 |
+
"global_step": 194,
|
| 7 |
+
"is_hyper_param_search": false,
|
| 8 |
+
"is_local_process_zero": true,
|
| 9 |
+
"is_world_process_zero": true,
|
| 10 |
+
"log_history": [
|
| 11 |
+
{
|
| 12 |
+
"epoch": 0.15463917525773196,
|
| 13 |
+
"grad_norm": 42.4873046875,
|
| 14 |
+
"learning_rate": 1.0721649484536084e-06,
|
| 15 |
+
"loss": 8.0222,
|
| 16 |
+
"step": 30
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"epoch": 0.30927835051546393,
|
| 20 |
+
"grad_norm": 36.22905731201172,
|
| 21 |
+
"learning_rate": 2.309278350515464e-06,
|
| 22 |
+
"loss": 6.6412,
|
| 23 |
+
"step": 60
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"epoch": 0.4639175257731959,
|
| 27 |
+
"grad_norm": 16.503164291381836,
|
| 28 |
+
"learning_rate": 3.54639175257732e-06,
|
| 29 |
+
"loss": 4.5054,
|
| 30 |
+
"step": 90
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"epoch": 0.6185567010309279,
|
| 34 |
+
"grad_norm": 12.453246116638184,
|
| 35 |
+
"learning_rate": 4.783505154639176e-06,
|
| 36 |
+
"loss": 3.1932,
|
| 37 |
+
"step": 120
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"epoch": 0.7731958762886598,
|
| 41 |
+
"grad_norm": 12.397629737854004,
|
| 42 |
+
"learning_rate": 6.020618556701031e-06,
|
| 43 |
+
"loss": 2.9572,
|
| 44 |
+
"step": 150
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"epoch": 0.9278350515463918,
|
| 48 |
+
"grad_norm": 12.388405799865723,
|
| 49 |
+
"learning_rate": 7.257731958762887e-06,
|
| 50 |
+
"loss": 2.892,
|
| 51 |
+
"step": 180
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"epoch": 1.0,
|
| 55 |
+
"eval_bertscore": 0.713106596716945,
|
| 56 |
+
"eval_bleu": 0.36743368487194655,
|
| 57 |
+
"eval_chrf": 10.498730872940474,
|
| 58 |
+
"eval_loss": 2.5750420093536377,
|
| 59 |
+
"eval_meteor": 0.0286107362704522,
|
| 60 |
+
"eval_runtime": 34.3517,
|
| 61 |
+
"eval_samples_per_second": 5.618,
|
| 62 |
+
"eval_steps_per_second": 0.728,
|
| 63 |
+
"step": 194
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"logging_steps": 30,
|
| 67 |
+
"max_steps": 4850,
|
| 68 |
+
"num_input_tokens_seen": 0,
|
| 69 |
+
"num_train_epochs": 25,
|
| 70 |
+
"save_steps": 500,
|
| 71 |
+
"stateful_callbacks": {
|
| 72 |
+
"EarlyStoppingCallback": {
|
| 73 |
+
"args": {
|
| 74 |
+
"early_stopping_patience": 5,
|
| 75 |
+
"early_stopping_threshold": 0.0
|
| 76 |
+
},
|
| 77 |
+
"attributes": {
|
| 78 |
+
"early_stopping_patience_counter": 0
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
"TrainerControl": {
|
| 82 |
+
"args": {
|
| 83 |
+
"should_epoch_stop": false,
|
| 84 |
+
"should_evaluate": false,
|
| 85 |
+
"should_log": false,
|
| 86 |
+
"should_save": true,
|
| 87 |
+
"should_training_stop": false
|
| 88 |
+
},
|
| 89 |
+
"attributes": {}
|
| 90 |
+
}
|
| 91 |
+
},
|
| 92 |
+
"total_flos": 10531533422592.0,
|
| 93 |
+
"train_batch_size": 8,
|
| 94 |
+
"trial_name": null,
|
| 95 |
+
"trial_params": null
|
| 96 |
+
}
|
last-checkpoint/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e31c1c20d42437db55f916a392450dbc7427a0f4a051779e553f5d316c80bed
|
| 3 |
+
size 5969
|
last-checkpoint/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|