Upload fine-tuned model - BLEU: 0.1720
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +8 -0
- README.md +120 -0
- baseline_results.json +15 -0
- checkpoint-152/config.json +54 -0
- checkpoint-152/generation_config.json +17 -0
- checkpoint-152/model.safetensors +3 -0
- checkpoint-152/optimizer.pt +3 -0
- checkpoint-152/rng_state.pth +3 -0
- checkpoint-152/scaler.pt +3 -0
- checkpoint-152/scheduler.pt +3 -0
- checkpoint-152/source.spm +3 -0
- checkpoint-152/special_tokens_map.json +5 -0
- checkpoint-152/target.spm +3 -0
- checkpoint-152/tokenizer_config.json +39 -0
- checkpoint-152/trainer_state.json +64 -0
- checkpoint-152/training_args.bin +3 -0
- checkpoint-152/vocab.json +0 -0
- checkpoint-168/config.json +54 -0
- checkpoint-168/generation_config.json +17 -0
- checkpoint-168/model.safetensors +3 -0
- checkpoint-168/optimizer.pt +3 -0
- checkpoint-168/rng_state.pth +3 -0
- checkpoint-168/scaler.pt +3 -0
- checkpoint-168/scheduler.pt +3 -0
- checkpoint-168/source.spm +3 -0
- checkpoint-168/special_tokens_map.json +5 -0
- checkpoint-168/target.spm +3 -0
- checkpoint-168/tokenizer_config.json +39 -0
- checkpoint-168/trainer_state.json +64 -0
- checkpoint-168/training_args.bin +3 -0
- checkpoint-168/vocab.json +0 -0
- checkpoint-192/config.json +54 -0
- checkpoint-192/generation_config.json +17 -0
- checkpoint-192/model.safetensors +3 -0
- checkpoint-192/optimizer.pt +3 -0
- checkpoint-192/rng_state.pth +3 -0
- checkpoint-192/scaler.pt +3 -0
- checkpoint-192/scheduler.pt +3 -0
- checkpoint-192/source.spm +3 -0
- checkpoint-192/special_tokens_map.json +5 -0
- checkpoint-192/target.spm +3 -0
- checkpoint-192/tokenizer_config.json +39 -0
- checkpoint-192/trainer_state.json +64 -0
- checkpoint-192/training_args.bin +3 -0
- checkpoint-192/vocab.json +0 -0
- config.json +54 -0
- generation_config.json +17 -0
- model.safetensors +3 -0
- source.spm +3 -0
- special_tokens_map.json +5 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,11 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
checkpoint-152/source.spm filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
checkpoint-152/target.spm filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
checkpoint-168/source.spm filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
checkpoint-168/target.spm filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
checkpoint-192/source.spm filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
checkpoint-192/target.spm filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
source.spm filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
target.spm filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- sw
|
| 4 |
+
- en
|
| 5 |
+
license: apache-2.0
|
| 6 |
+
tags:
|
| 7 |
+
- translation
|
| 8 |
+
- swahili
|
| 9 |
+
- english
|
| 10 |
+
- opus-mt
|
| 11 |
+
- openchs
|
| 12 |
+
datasets:
|
| 13 |
+
- nllb
|
| 14 |
+
- ccaligned
|
| 15 |
+
metrics:
|
| 16 |
+
- bleu
|
| 17 |
+
- chrf
|
| 18 |
+
- comet
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# Swahili-English Translation Model for Child Helpline Services
|
| 22 |
+
|
| 23 |
+
## Model Description
|
| 24 |
+
|
| 25 |
+
This model is a fine-tuned version of `Helsinki-NLP/opus-mt-mul-en` for Swahili-to-English translation, specifically optimized for child helpline call transcriptions in East Africa (Tanzania, Uganda, Kenya).
|
| 26 |
+
|
| 27 |
+
**Developed by:** BITZ IT Consulting Ltd
|
| 28 |
+
**Project:** OpenCHS (Open Child Helpline System)
|
| 29 |
+
**Funded by:** UNICEF Venture Fund
|
| 30 |
+
**License:** Apache 2.0
|
| 31 |
+
|
| 32 |
+
## Training Data
|
| 33 |
+
|
| 34 |
+
The model was fine-tuned on a combination of:
|
| 35 |
+
- NLLB Swahili-English parallel corpus (high quality, weight: 1.0)
|
| 36 |
+
- CCAligned web-crawled parallel data (supplementary, weight: 0.7)
|
| 37 |
+
- Total training samples: Approximately 50,000+ sentence pairs
|
| 38 |
+
- Domain focus: Conversational Swahili from helpline contexts
|
| 39 |
+
|
| 40 |
+
## Performance
|
| 41 |
+
|
| 42 |
+
### Test Set (General Translation)
|
| 43 |
+
- **BLEU:** 0.1720
|
| 44 |
+
- **chrF:** 36.54
|
| 45 |
+
- **Improvement over baseline:** +0.0%
|
| 46 |
+
|
| 47 |
+
### Domain Evaluation (Call Transcriptions)
|
| 48 |
+
- **Domain BLEU:** 0.0000
|
| 49 |
+
- **Domain chrF:** 1.88
|
| 50 |
+
- **Domain COMET-QE:** 0.0000
|
| 51 |
+
|
| 52 |
+
*Domain metrics are evaluated on real 10-minute call transcriptions from child helplines.*
|
| 53 |
+
|
| 54 |
+
## Intended Use
|
| 55 |
+
|
| 56 |
+
**Primary Use Case:** Translating Swahili helpline call transcriptions to English for:
|
| 57 |
+
- Case documentation and reporting
|
| 58 |
+
- Quality assurance and supervision
|
| 59 |
+
- Cross-border case referrals
|
| 60 |
+
- Data analysis and insights
|
| 61 |
+
|
| 62 |
+
**Languages:** Swahili (source) → English (target)
|
| 63 |
+
|
| 64 |
+
**Limitations:**
|
| 65 |
+
- Optimized for conversational Swahili (East African dialects)
|
| 66 |
+
- May not perform well on formal/literary Swahili
|
| 67 |
+
- Best for text lengths under 512 tokens
|
| 68 |
+
- Requires post-editing for critical use cases
|
| 69 |
+
|
| 70 |
+
## Usage
|
| 71 |
+
|
| 72 |
+
```python
|
| 73 |
+
from transformers import MarianTokenizer, MarianMTModel
|
| 74 |
+
|
| 75 |
+
model_name = "YOUR_USERNAME/brendaogutu/sw-en-translation-v1"
|
| 76 |
+
tokenizer = MarianTokenizer.from_pretrained(model_name)
|
| 77 |
+
model = MarianMTModel.from_pretrained(model_name)
|
| 78 |
+
|
| 79 |
+
# Translate
|
| 80 |
+
swahili_text = "Habari za asubuhi. Ninaitwa Amina na nina miaka 14."
|
| 81 |
+
inputs = tokenizer(swahili_text, return_tensors="pt", padding=True)
|
| 82 |
+
outputs = model.generate(**inputs, num_beams=5, max_length=256)
|
| 83 |
+
translation = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
| 84 |
+
print(translation)
|
| 85 |
+
```
|
| 86 |
+
|
| 87 |
+
## Training Details
|
| 88 |
+
|
| 89 |
+
**Base Model:** Helsinki-NLP/opus-mt-mul-en
|
| 90 |
+
**Training Epochs:** 8
|
| 91 |
+
**Batch Size:** 330 (effective: 330)
|
| 92 |
+
**Learning Rate:** 3e-05
|
| 93 |
+
**Optimizer:** AdamW
|
| 94 |
+
**Hardware:** NVIDIA GPU with FP16 mixed precision
|
| 95 |
+
|
| 96 |
+
## Evaluation Methodology
|
| 97 |
+
|
| 98 |
+
1. **Test Set:** Random 5% split from training distribution
|
| 99 |
+
2. **Domain Evaluation:** Held-out set of real helpline call transcriptions (10-min calls)
|
| 100 |
+
3. **Metrics:** BLEU, chrF, COMET-QE (quality estimation)
|
| 101 |
+
|
| 102 |
+
## Citation
|
| 103 |
+
|
| 104 |
+
```bibtex
|
| 105 |
+
@software{openchs_translation_2025,
|
| 106 |
+
author = {BITZ IT Consulting Ltd},
|
| 107 |
+
title = {Swahili-English Translation Model for OpenCHS},
|
| 108 |
+
year = {2025},
|
| 109 |
+
publisher = {HuggingFace},
|
| 110 |
+
url = {https://huggingface.co/YOUR_USERNAME/brendaogutu/sw-en-translation-v1}
|
| 111 |
+
}
|
| 112 |
+
```
|
| 113 |
+
|
| 114 |
+
## Contact
|
| 115 |
+
|
| 116 |
+
For questions or issues, please contact: brenda@openchs.org
|
| 117 |
+
|
| 118 |
+
---
|
| 119 |
+
|
| 120 |
+
*This model is part of the OpenCHS project supporting child helpline services across East Africa.*
|
baseline_results.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"eval_loss": 18.69961166381836,
|
| 3 |
+
"eval_model_preparation_time": 0.0024,
|
| 4 |
+
"eval_bleu": 0.03199810773966101,
|
| 5 |
+
"eval_chrf": 20.095068987858355,
|
| 6 |
+
"eval_runtime": 18.3575,
|
| 7 |
+
"eval_samples_per_second": 19.611,
|
| 8 |
+
"eval_steps_per_second": 0.109,
|
| 9 |
+
"eval_comet": 0.0341746505332392,
|
| 10 |
+
"eval_comet_std": 0.1127765594779826,
|
| 11 |
+
"baseline_domain_bleu": 0.0,
|
| 12 |
+
"baseline_domain_chrf": 1.0286747889121217,
|
| 13 |
+
"baseline_domain_comet": 4.2171095265075566e-05,
|
| 14 |
+
"baseline_domain_comet_std": 1.8201333160462296e-07
|
| 15 |
+
}
|
checkpoint-152/config.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_dropout": 0.0,
|
| 3 |
+
"activation_function": "swish",
|
| 4 |
+
"add_bias_logits": false,
|
| 5 |
+
"add_final_layer_norm": false,
|
| 6 |
+
"architectures": [
|
| 7 |
+
"MarianMTModel"
|
| 8 |
+
],
|
| 9 |
+
"attention_dropout": 0.0,
|
| 10 |
+
"classif_dropout": 0.0,
|
| 11 |
+
"classifier_dropout": 0.0,
|
| 12 |
+
"d_model": 512,
|
| 13 |
+
"decoder_attention_heads": 8,
|
| 14 |
+
"decoder_ffn_dim": 2048,
|
| 15 |
+
"decoder_layerdrop": 0.0,
|
| 16 |
+
"decoder_layers": 6,
|
| 17 |
+
"decoder_start_token_id": 64171,
|
| 18 |
+
"decoder_vocab_size": 64172,
|
| 19 |
+
"dropout": 0.1,
|
| 20 |
+
"dtype": "float32",
|
| 21 |
+
"encoder_attention_heads": 8,
|
| 22 |
+
"encoder_ffn_dim": 2048,
|
| 23 |
+
"encoder_layerdrop": 0.0,
|
| 24 |
+
"encoder_layers": 6,
|
| 25 |
+
"eos_token_id": 0,
|
| 26 |
+
"extra_pos_embeddings": 64172,
|
| 27 |
+
"forced_eos_token_id": 0,
|
| 28 |
+
"id2label": {
|
| 29 |
+
"0": "LABEL_0",
|
| 30 |
+
"1": "LABEL_1",
|
| 31 |
+
"2": "LABEL_2"
|
| 32 |
+
},
|
| 33 |
+
"init_std": 0.02,
|
| 34 |
+
"is_encoder_decoder": true,
|
| 35 |
+
"label2id": {
|
| 36 |
+
"LABEL_0": 0,
|
| 37 |
+
"LABEL_1": 1,
|
| 38 |
+
"LABEL_2": 2
|
| 39 |
+
},
|
| 40 |
+
"max_length": null,
|
| 41 |
+
"max_position_embeddings": 512,
|
| 42 |
+
"model_type": "marian",
|
| 43 |
+
"normalize_before": false,
|
| 44 |
+
"normalize_embedding": false,
|
| 45 |
+
"num_beams": null,
|
| 46 |
+
"num_hidden_layers": 6,
|
| 47 |
+
"pad_token_id": 64171,
|
| 48 |
+
"scale_embedding": true,
|
| 49 |
+
"share_encoder_decoder_embeddings": true,
|
| 50 |
+
"static_position_embeddings": true,
|
| 51 |
+
"transformers_version": "4.57.1",
|
| 52 |
+
"use_cache": true,
|
| 53 |
+
"vocab_size": 64172
|
| 54 |
+
}
|
checkpoint-152/generation_config.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bad_words_ids": [
|
| 3 |
+
[
|
| 4 |
+
64171
|
| 5 |
+
]
|
| 6 |
+
],
|
| 7 |
+
"decoder_start_token_id": 64171,
|
| 8 |
+
"eos_token_id": [
|
| 9 |
+
0
|
| 10 |
+
],
|
| 11 |
+
"forced_eos_token_id": 0,
|
| 12 |
+
"max_length": 512,
|
| 13 |
+
"num_beams": 6,
|
| 14 |
+
"pad_token_id": 64171,
|
| 15 |
+
"renormalize_logits": true,
|
| 16 |
+
"transformers_version": "4.57.1"
|
| 17 |
+
}
|
checkpoint-152/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3d90c9b028acf77d356fb498689d67e8dd01efda8fa45b4a52202dbce37f7951
|
| 3 |
+
size 308263984
|
checkpoint-152/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:efa3fbb0e2f24d9dc12c6ff99b99f5ec2070e436c3d88afd720642d551e90f8a
|
| 3 |
+
size 616171979
|
checkpoint-152/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:44c582f53e45d3dd0b0468a21e55067ed03185392436ddbc3222317fbe93b19d
|
| 3 |
+
size 14645
|
checkpoint-152/scaler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:442f2c3e0c6643979ee217f675a17b62b4da04acaf618dae60f841791e71fbc5
|
| 3 |
+
size 1383
|
checkpoint-152/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2ecfed674202433c3ba86814b5950af3638e3f10c2debedc3aa94709ed01cdbe
|
| 3 |
+
size 1465
|
checkpoint-152/source.spm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c4a99ea3602b29fbf901ade8b93a45efa3d7c64eab8fc5fa812383efa327a87d
|
| 3 |
+
size 706917
|
checkpoint-152/special_tokens_map.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"eos_token": "</s>",
|
| 3 |
+
"pad_token": "<pad>",
|
| 4 |
+
"unk_token": "<unk>"
|
| 5 |
+
}
|
checkpoint-152/target.spm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c6dce5fa58fcd7dde9e81e279b8c075bf42ee558278f73d6fb48e342029d7f19
|
| 3 |
+
size 791194
|
checkpoint-152/tokenizer_config.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
"64171": {
|
| 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 |
+
"extra_special_tokens": {},
|
| 31 |
+
"model_max_length": 512,
|
| 32 |
+
"pad_token": "<pad>",
|
| 33 |
+
"separate_vocabs": false,
|
| 34 |
+
"source_lang": "mul",
|
| 35 |
+
"sp_model_kwargs": {},
|
| 36 |
+
"target_lang": "eng",
|
| 37 |
+
"tokenizer_class": "MarianTokenizer",
|
| 38 |
+
"unk_token": "<unk>"
|
| 39 |
+
}
|
checkpoint-152/trainer_state.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 8.0,
|
| 6 |
+
"eval_steps": 1000,
|
| 7 |
+
"global_step": 152,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 2.6315789473684212,
|
| 14 |
+
"grad_norm": 2.806515693664551,
|
| 15 |
+
"learning_rate": 2.584876209978105e-05,
|
| 16 |
+
"loss": 6.7909,
|
| 17 |
+
"step": 50
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 5.2631578947368425,
|
| 21 |
+
"grad_norm": 2.533644914627075,
|
| 22 |
+
"learning_rate": 9.905892790250079e-06,
|
| 23 |
+
"loss": 3.4474,
|
| 24 |
+
"step": 100
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 7.894736842105263,
|
| 28 |
+
"grad_norm": 2.563660144805908,
|
| 29 |
+
"learning_rate": 3.6004094044246314e-08,
|
| 30 |
+
"loss": 3.2179,
|
| 31 |
+
"step": 150
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"logging_steps": 50,
|
| 35 |
+
"max_steps": 152,
|
| 36 |
+
"num_input_tokens_seen": 0,
|
| 37 |
+
"num_train_epochs": 8,
|
| 38 |
+
"save_steps": 1000,
|
| 39 |
+
"stateful_callbacks": {
|
| 40 |
+
"EarlyStoppingCallback": {
|
| 41 |
+
"args": {
|
| 42 |
+
"early_stopping_patience": 5,
|
| 43 |
+
"early_stopping_threshold": 0.001
|
| 44 |
+
},
|
| 45 |
+
"attributes": {
|
| 46 |
+
"early_stopping_patience_counter": 0
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"TrainerControl": {
|
| 50 |
+
"args": {
|
| 51 |
+
"should_epoch_stop": false,
|
| 52 |
+
"should_evaluate": false,
|
| 53 |
+
"should_log": false,
|
| 54 |
+
"should_save": true,
|
| 55 |
+
"should_training_stop": true
|
| 56 |
+
},
|
| 57 |
+
"attributes": {}
|
| 58 |
+
}
|
| 59 |
+
},
|
| 60 |
+
"total_flos": 1138408789377024.0,
|
| 61 |
+
"train_batch_size": 330,
|
| 62 |
+
"trial_name": null,
|
| 63 |
+
"trial_params": null
|
| 64 |
+
}
|
checkpoint-152/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eaf461ec2530d2bc87154a757b8eee105da2d899e5550831a3cb068345247e5a
|
| 3 |
+
size 5969
|
checkpoint-152/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-168/config.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_dropout": 0.0,
|
| 3 |
+
"activation_function": "swish",
|
| 4 |
+
"add_bias_logits": false,
|
| 5 |
+
"add_final_layer_norm": false,
|
| 6 |
+
"architectures": [
|
| 7 |
+
"MarianMTModel"
|
| 8 |
+
],
|
| 9 |
+
"attention_dropout": 0.0,
|
| 10 |
+
"classif_dropout": 0.0,
|
| 11 |
+
"classifier_dropout": 0.0,
|
| 12 |
+
"d_model": 512,
|
| 13 |
+
"decoder_attention_heads": 8,
|
| 14 |
+
"decoder_ffn_dim": 2048,
|
| 15 |
+
"decoder_layerdrop": 0.0,
|
| 16 |
+
"decoder_layers": 6,
|
| 17 |
+
"decoder_start_token_id": 64171,
|
| 18 |
+
"decoder_vocab_size": 64172,
|
| 19 |
+
"dropout": 0.1,
|
| 20 |
+
"dtype": "float32",
|
| 21 |
+
"encoder_attention_heads": 8,
|
| 22 |
+
"encoder_ffn_dim": 2048,
|
| 23 |
+
"encoder_layerdrop": 0.0,
|
| 24 |
+
"encoder_layers": 6,
|
| 25 |
+
"eos_token_id": 0,
|
| 26 |
+
"extra_pos_embeddings": 64172,
|
| 27 |
+
"forced_eos_token_id": 0,
|
| 28 |
+
"id2label": {
|
| 29 |
+
"0": "LABEL_0",
|
| 30 |
+
"1": "LABEL_1",
|
| 31 |
+
"2": "LABEL_2"
|
| 32 |
+
},
|
| 33 |
+
"init_std": 0.02,
|
| 34 |
+
"is_encoder_decoder": true,
|
| 35 |
+
"label2id": {
|
| 36 |
+
"LABEL_0": 0,
|
| 37 |
+
"LABEL_1": 1,
|
| 38 |
+
"LABEL_2": 2
|
| 39 |
+
},
|
| 40 |
+
"max_length": null,
|
| 41 |
+
"max_position_embeddings": 512,
|
| 42 |
+
"model_type": "marian",
|
| 43 |
+
"normalize_before": false,
|
| 44 |
+
"normalize_embedding": false,
|
| 45 |
+
"num_beams": null,
|
| 46 |
+
"num_hidden_layers": 6,
|
| 47 |
+
"pad_token_id": 64171,
|
| 48 |
+
"scale_embedding": true,
|
| 49 |
+
"share_encoder_decoder_embeddings": true,
|
| 50 |
+
"static_position_embeddings": true,
|
| 51 |
+
"transformers_version": "4.57.1",
|
| 52 |
+
"use_cache": true,
|
| 53 |
+
"vocab_size": 64172
|
| 54 |
+
}
|
checkpoint-168/generation_config.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bad_words_ids": [
|
| 3 |
+
[
|
| 4 |
+
64171
|
| 5 |
+
]
|
| 6 |
+
],
|
| 7 |
+
"decoder_start_token_id": 64171,
|
| 8 |
+
"eos_token_id": [
|
| 9 |
+
0
|
| 10 |
+
],
|
| 11 |
+
"forced_eos_token_id": 0,
|
| 12 |
+
"max_length": 512,
|
| 13 |
+
"num_beams": 6,
|
| 14 |
+
"pad_token_id": 64171,
|
| 15 |
+
"renormalize_logits": true,
|
| 16 |
+
"transformers_version": "4.57.1"
|
| 17 |
+
}
|
checkpoint-168/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f963e0d09b97f61f283bb3eab49a67e2529bd1a07b16c991d4ec340c3054c5f
|
| 3 |
+
size 308263984
|
checkpoint-168/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:16d42873865177bd456f9e32244fff31f720603aa14852b2f93703a3a25af3a4
|
| 3 |
+
size 616171979
|
checkpoint-168/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a24a8728b3b6d13b379536b172d3cc1ad232be65a4814cb20bd4b45a2ebec203
|
| 3 |
+
size 14645
|
checkpoint-168/scaler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ae7ac90dbc48d9822977b941f6c115d423a0663b7a92d188998f39c9e271603c
|
| 3 |
+
size 1383
|
checkpoint-168/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb5472e35524a51eecbe54812628f2cd61b41eea270286889a70c444ec421fff
|
| 3 |
+
size 1465
|
checkpoint-168/source.spm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c4a99ea3602b29fbf901ade8b93a45efa3d7c64eab8fc5fa812383efa327a87d
|
| 3 |
+
size 706917
|
checkpoint-168/special_tokens_map.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"eos_token": "</s>",
|
| 3 |
+
"pad_token": "<pad>",
|
| 4 |
+
"unk_token": "<unk>"
|
| 5 |
+
}
|
checkpoint-168/target.spm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c6dce5fa58fcd7dde9e81e279b8c075bf42ee558278f73d6fb48e342029d7f19
|
| 3 |
+
size 791194
|
checkpoint-168/tokenizer_config.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
"64171": {
|
| 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 |
+
"extra_special_tokens": {},
|
| 31 |
+
"model_max_length": 512,
|
| 32 |
+
"pad_token": "<pad>",
|
| 33 |
+
"separate_vocabs": false,
|
| 34 |
+
"source_lang": "mul",
|
| 35 |
+
"sp_model_kwargs": {},
|
| 36 |
+
"target_lang": "eng",
|
| 37 |
+
"tokenizer_class": "MarianTokenizer",
|
| 38 |
+
"unk_token": "<unk>"
|
| 39 |
+
}
|
checkpoint-168/trainer_state.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 8.0,
|
| 6 |
+
"eval_steps": 1000,
|
| 7 |
+
"global_step": 168,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 2.380952380952381,
|
| 14 |
+
"grad_norm": 2.927729606628418,
|
| 15 |
+
"learning_rate": 2.6796639964643306e-05,
|
| 16 |
+
"loss": 6.8435,
|
| 17 |
+
"step": 50
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 4.761904761904762,
|
| 21 |
+
"grad_norm": 2.7953412532806396,
|
| 22 |
+
"learning_rate": 1.2977665530323568e-05,
|
| 23 |
+
"loss": 3.4512,
|
| 24 |
+
"step": 100
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 7.142857142857143,
|
| 28 |
+
"grad_norm": 2.604569911956787,
|
| 29 |
+
"learning_rate": 1.1567822802585436e-06,
|
| 30 |
+
"loss": 3.1858,
|
| 31 |
+
"step": 150
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"logging_steps": 50,
|
| 35 |
+
"max_steps": 168,
|
| 36 |
+
"num_input_tokens_seen": 0,
|
| 37 |
+
"num_train_epochs": 8,
|
| 38 |
+
"save_steps": 1000,
|
| 39 |
+
"stateful_callbacks": {
|
| 40 |
+
"EarlyStoppingCallback": {
|
| 41 |
+
"args": {
|
| 42 |
+
"early_stopping_patience": 5,
|
| 43 |
+
"early_stopping_threshold": 0.001
|
| 44 |
+
},
|
| 45 |
+
"attributes": {
|
| 46 |
+
"early_stopping_patience_counter": 0
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"TrainerControl": {
|
| 50 |
+
"args": {
|
| 51 |
+
"should_epoch_stop": false,
|
| 52 |
+
"should_evaluate": false,
|
| 53 |
+
"should_log": false,
|
| 54 |
+
"should_save": true,
|
| 55 |
+
"should_training_stop": true
|
| 56 |
+
},
|
| 57 |
+
"attributes": {}
|
| 58 |
+
}
|
| 59 |
+
},
|
| 60 |
+
"total_flos": 1138408789377024.0,
|
| 61 |
+
"train_batch_size": 300,
|
| 62 |
+
"trial_name": null,
|
| 63 |
+
"trial_params": null
|
| 64 |
+
}
|
checkpoint-168/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a8888b7222ef60700b6629d267ff729b6e9f9f8ef70396af3579d5adff82a45e
|
| 3 |
+
size 5969
|
checkpoint-168/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-192/config.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_dropout": 0.0,
|
| 3 |
+
"activation_function": "swish",
|
| 4 |
+
"add_bias_logits": false,
|
| 5 |
+
"add_final_layer_norm": false,
|
| 6 |
+
"architectures": [
|
| 7 |
+
"MarianMTModel"
|
| 8 |
+
],
|
| 9 |
+
"attention_dropout": 0.0,
|
| 10 |
+
"classif_dropout": 0.0,
|
| 11 |
+
"classifier_dropout": 0.0,
|
| 12 |
+
"d_model": 512,
|
| 13 |
+
"decoder_attention_heads": 8,
|
| 14 |
+
"decoder_ffn_dim": 2048,
|
| 15 |
+
"decoder_layerdrop": 0.0,
|
| 16 |
+
"decoder_layers": 6,
|
| 17 |
+
"decoder_start_token_id": 64171,
|
| 18 |
+
"decoder_vocab_size": 64172,
|
| 19 |
+
"dropout": 0.1,
|
| 20 |
+
"dtype": "float32",
|
| 21 |
+
"encoder_attention_heads": 8,
|
| 22 |
+
"encoder_ffn_dim": 2048,
|
| 23 |
+
"encoder_layerdrop": 0.0,
|
| 24 |
+
"encoder_layers": 6,
|
| 25 |
+
"eos_token_id": 0,
|
| 26 |
+
"extra_pos_embeddings": 64172,
|
| 27 |
+
"forced_eos_token_id": 0,
|
| 28 |
+
"id2label": {
|
| 29 |
+
"0": "LABEL_0",
|
| 30 |
+
"1": "LABEL_1",
|
| 31 |
+
"2": "LABEL_2"
|
| 32 |
+
},
|
| 33 |
+
"init_std": 0.02,
|
| 34 |
+
"is_encoder_decoder": true,
|
| 35 |
+
"label2id": {
|
| 36 |
+
"LABEL_0": 0,
|
| 37 |
+
"LABEL_1": 1,
|
| 38 |
+
"LABEL_2": 2
|
| 39 |
+
},
|
| 40 |
+
"max_length": null,
|
| 41 |
+
"max_position_embeddings": 512,
|
| 42 |
+
"model_type": "marian",
|
| 43 |
+
"normalize_before": false,
|
| 44 |
+
"normalize_embedding": false,
|
| 45 |
+
"num_beams": null,
|
| 46 |
+
"num_hidden_layers": 6,
|
| 47 |
+
"pad_token_id": 64171,
|
| 48 |
+
"scale_embedding": true,
|
| 49 |
+
"share_encoder_decoder_embeddings": true,
|
| 50 |
+
"static_position_embeddings": true,
|
| 51 |
+
"transformers_version": "4.57.1",
|
| 52 |
+
"use_cache": true,
|
| 53 |
+
"vocab_size": 64172
|
| 54 |
+
}
|
checkpoint-192/generation_config.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bad_words_ids": [
|
| 3 |
+
[
|
| 4 |
+
64171
|
| 5 |
+
]
|
| 6 |
+
],
|
| 7 |
+
"decoder_start_token_id": 64171,
|
| 8 |
+
"eos_token_id": [
|
| 9 |
+
0
|
| 10 |
+
],
|
| 11 |
+
"forced_eos_token_id": 0,
|
| 12 |
+
"max_length": 512,
|
| 13 |
+
"num_beams": 6,
|
| 14 |
+
"pad_token_id": 64171,
|
| 15 |
+
"renormalize_logits": true,
|
| 16 |
+
"transformers_version": "4.57.1"
|
| 17 |
+
}
|
checkpoint-192/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5234c5bab073fec0655ec089639f5f1b3d5f282b31a368101aa00e5d640cb415
|
| 3 |
+
size 308263984
|
checkpoint-192/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:63e8ba946ad09cd70b8ba7767e18552048c5f7b11351d287405f4b43e4a134e3
|
| 3 |
+
size 616171979
|
checkpoint-192/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a23abc4d187d7721fa288f2eae5efa0bd13ff0d80c43eb2578b4f04c0747017
|
| 3 |
+
size 14645
|
checkpoint-192/scaler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cecd44a397927870b6da9d29a983d61c051035d0cdb4ce26ca28a1b4531ad7c2
|
| 3 |
+
size 1383
|
checkpoint-192/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e58a2bbcd622aedd411dbce4ac9f21322d7e653d654ce4953c6c4a795539571
|
| 3 |
+
size 1465
|
checkpoint-192/source.spm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c4a99ea3602b29fbf901ade8b93a45efa3d7c64eab8fc5fa812383efa327a87d
|
| 3 |
+
size 706917
|
checkpoint-192/special_tokens_map.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"eos_token": "</s>",
|
| 3 |
+
"pad_token": "<pad>",
|
| 4 |
+
"unk_token": "<unk>"
|
| 5 |
+
}
|
checkpoint-192/target.spm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c6dce5fa58fcd7dde9e81e279b8c075bf42ee558278f73d6fb48e342029d7f19
|
| 3 |
+
size 791194
|
checkpoint-192/tokenizer_config.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
"64171": {
|
| 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 |
+
"extra_special_tokens": {},
|
| 31 |
+
"model_max_length": 512,
|
| 32 |
+
"pad_token": "<pad>",
|
| 33 |
+
"separate_vocabs": false,
|
| 34 |
+
"source_lang": "mul",
|
| 35 |
+
"sp_model_kwargs": {},
|
| 36 |
+
"target_lang": "eng",
|
| 37 |
+
"tokenizer_class": "MarianTokenizer",
|
| 38 |
+
"unk_token": "<unk>"
|
| 39 |
+
}
|
checkpoint-192/trainer_state.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 8.0,
|
| 6 |
+
"eval_steps": 1000,
|
| 7 |
+
"global_step": 192,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 2.0833333333333335,
|
| 14 |
+
"grad_norm": 3.1876933574676514,
|
| 15 |
+
"learning_rate": 2.794447789131517e-05,
|
| 16 |
+
"loss": 6.9797,
|
| 17 |
+
"step": 50
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 4.166666666666667,
|
| 21 |
+
"grad_norm": 3.0499606132507324,
|
| 22 |
+
"learning_rate": 1.691261184798162e-05,
|
| 23 |
+
"loss": 3.4736,
|
| 24 |
+
"step": 100
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 6.25,
|
| 28 |
+
"grad_norm": 2.7588396072387695,
|
| 29 |
+
"learning_rate": 4.393398282201788e-06,
|
| 30 |
+
"loss": 3.1606,
|
| 31 |
+
"step": 150
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"logging_steps": 50,
|
| 35 |
+
"max_steps": 192,
|
| 36 |
+
"num_input_tokens_seen": 0,
|
| 37 |
+
"num_train_epochs": 8,
|
| 38 |
+
"save_steps": 1000,
|
| 39 |
+
"stateful_callbacks": {
|
| 40 |
+
"EarlyStoppingCallback": {
|
| 41 |
+
"args": {
|
| 42 |
+
"early_stopping_patience": 5,
|
| 43 |
+
"early_stopping_threshold": 0.001
|
| 44 |
+
},
|
| 45 |
+
"attributes": {
|
| 46 |
+
"early_stopping_patience_counter": 0
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"TrainerControl": {
|
| 50 |
+
"args": {
|
| 51 |
+
"should_epoch_stop": false,
|
| 52 |
+
"should_evaluate": false,
|
| 53 |
+
"should_log": false,
|
| 54 |
+
"should_save": true,
|
| 55 |
+
"should_training_stop": true
|
| 56 |
+
},
|
| 57 |
+
"attributes": {}
|
| 58 |
+
}
|
| 59 |
+
},
|
| 60 |
+
"total_flos": 1138408789377024.0,
|
| 61 |
+
"train_batch_size": 256,
|
| 62 |
+
"trial_name": null,
|
| 63 |
+
"trial_params": null
|
| 64 |
+
}
|
checkpoint-192/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:752a837b68c2b1da408cae5fbaeab528fc263386b57a2456402bc012c8c6aabf
|
| 3 |
+
size 5969
|
checkpoint-192/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
config.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_dropout": 0.0,
|
| 3 |
+
"activation_function": "swish",
|
| 4 |
+
"add_bias_logits": false,
|
| 5 |
+
"add_final_layer_norm": false,
|
| 6 |
+
"architectures": [
|
| 7 |
+
"MarianMTModel"
|
| 8 |
+
],
|
| 9 |
+
"attention_dropout": 0.0,
|
| 10 |
+
"classif_dropout": 0.0,
|
| 11 |
+
"classifier_dropout": 0.0,
|
| 12 |
+
"d_model": 512,
|
| 13 |
+
"decoder_attention_heads": 8,
|
| 14 |
+
"decoder_ffn_dim": 2048,
|
| 15 |
+
"decoder_layerdrop": 0.0,
|
| 16 |
+
"decoder_layers": 6,
|
| 17 |
+
"decoder_start_token_id": 64171,
|
| 18 |
+
"decoder_vocab_size": 64172,
|
| 19 |
+
"dropout": 0.1,
|
| 20 |
+
"dtype": "float32",
|
| 21 |
+
"encoder_attention_heads": 8,
|
| 22 |
+
"encoder_ffn_dim": 2048,
|
| 23 |
+
"encoder_layerdrop": 0.0,
|
| 24 |
+
"encoder_layers": 6,
|
| 25 |
+
"eos_token_id": 0,
|
| 26 |
+
"extra_pos_embeddings": 64172,
|
| 27 |
+
"forced_eos_token_id": 0,
|
| 28 |
+
"id2label": {
|
| 29 |
+
"0": "LABEL_0",
|
| 30 |
+
"1": "LABEL_1",
|
| 31 |
+
"2": "LABEL_2"
|
| 32 |
+
},
|
| 33 |
+
"init_std": 0.02,
|
| 34 |
+
"is_encoder_decoder": true,
|
| 35 |
+
"label2id": {
|
| 36 |
+
"LABEL_0": 0,
|
| 37 |
+
"LABEL_1": 1,
|
| 38 |
+
"LABEL_2": 2
|
| 39 |
+
},
|
| 40 |
+
"max_length": null,
|
| 41 |
+
"max_position_embeddings": 512,
|
| 42 |
+
"model_type": "marian",
|
| 43 |
+
"normalize_before": false,
|
| 44 |
+
"normalize_embedding": false,
|
| 45 |
+
"num_beams": null,
|
| 46 |
+
"num_hidden_layers": 6,
|
| 47 |
+
"pad_token_id": 64171,
|
| 48 |
+
"scale_embedding": true,
|
| 49 |
+
"share_encoder_decoder_embeddings": true,
|
| 50 |
+
"static_position_embeddings": true,
|
| 51 |
+
"transformers_version": "4.57.1",
|
| 52 |
+
"use_cache": true,
|
| 53 |
+
"vocab_size": 64172
|
| 54 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bad_words_ids": [
|
| 3 |
+
[
|
| 4 |
+
64171
|
| 5 |
+
]
|
| 6 |
+
],
|
| 7 |
+
"decoder_start_token_id": 64171,
|
| 8 |
+
"eos_token_id": [
|
| 9 |
+
0
|
| 10 |
+
],
|
| 11 |
+
"forced_eos_token_id": 0,
|
| 12 |
+
"max_length": 512,
|
| 13 |
+
"num_beams": 6,
|
| 14 |
+
"pad_token_id": 64171,
|
| 15 |
+
"renormalize_logits": true,
|
| 16 |
+
"transformers_version": "4.57.1"
|
| 17 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3d90c9b028acf77d356fb498689d67e8dd01efda8fa45b4a52202dbce37f7951
|
| 3 |
+
size 308263984
|
source.spm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c4a99ea3602b29fbf901ade8b93a45efa3d7c64eab8fc5fa812383efa327a87d
|
| 3 |
+
size 706917
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"eos_token": "</s>",
|
| 3 |
+
"pad_token": "<pad>",
|
| 4 |
+
"unk_token": "<unk>"
|
| 5 |
+
}
|