Rawsand/NT_model_2
Browse files
README.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: peft
|
| 3 |
+
license: cc-by-4.0
|
| 4 |
+
base_model: Helsinki-NLP/opus-mt-zh-en
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
metrics:
|
| 8 |
+
- bleu
|
| 9 |
+
model-index:
|
| 10 |
+
- name: opus-mt-zh-en
|
| 11 |
+
results: []
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 15 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 16 |
+
|
| 17 |
+
# opus-mt-zh-en
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [Helsinki-NLP/opus-mt-zh-en](https://huggingface.co/Helsinki-NLP/opus-mt-zh-en) on the None dataset.
|
| 20 |
+
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 2.8613
|
| 22 |
+
- Bleu: 13.0199
|
| 23 |
+
- Gen Len: 49.2694
|
| 24 |
+
|
| 25 |
+
## Model description
|
| 26 |
+
|
| 27 |
+
More information needed
|
| 28 |
+
|
| 29 |
+
## Intended uses & limitations
|
| 30 |
+
|
| 31 |
+
More information needed
|
| 32 |
+
|
| 33 |
+
## Training and evaluation data
|
| 34 |
+
|
| 35 |
+
More information needed
|
| 36 |
+
|
| 37 |
+
## Training procedure
|
| 38 |
+
|
| 39 |
+
### Training hyperparameters
|
| 40 |
+
|
| 41 |
+
The following hyperparameters were used during training:
|
| 42 |
+
- learning_rate: 0.002
|
| 43 |
+
- train_batch_size: 16
|
| 44 |
+
- eval_batch_size: 16
|
| 45 |
+
- seed: 42
|
| 46 |
+
- gradient_accumulation_steps: 2
|
| 47 |
+
- total_train_batch_size: 32
|
| 48 |
+
- optimizer: Use paged_adamw_8bit with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 49 |
+
- lr_scheduler_type: linear
|
| 50 |
+
- num_epochs: 10
|
| 51 |
+
|
| 52 |
+
### Training results
|
| 53 |
+
|
| 54 |
+
| Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
|
| 55 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|
|
| 56 |
+
| No log | 1.0 | 216 | 3.1562 | 9.7872 | 49.7879 |
|
| 57 |
+
| No log | 2.0 | 432 | 3.0605 | 10.6493 | 49.7439 |
|
| 58 |
+
| 3.6494 | 3.0 | 648 | 3.0039 | 11.4679 | 50.5029 |
|
| 59 |
+
| 3.6494 | 4.0 | 864 | 2.9570 | 11.6395 | 48.376 |
|
| 60 |
+
| 3.2441 | 5.0 | 1080 | 2.9336 | 12.1975 | 49.7039 |
|
| 61 |
+
| 3.2441 | 6.0 | 1296 | 2.9141 | 12.6291 | 50.3876 |
|
| 62 |
+
| 3.0929 | 7.0 | 1512 | 2.8906 | 12.5445 | 48.6929 |
|
| 63 |
+
| 3.0929 | 8.0 | 1728 | 2.8789 | 12.7907 | 48.8441 |
|
| 64 |
+
| 3.0929 | 9.0 | 1944 | 2.8535 | 13.0215 | 49.3418 |
|
| 65 |
+
| 2.9838 | 10.0 | 2160 | 2.8613 | 13.0199 | 49.2694 |
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
### Framework versions
|
| 69 |
+
|
| 70 |
+
- PEFT 0.14.0
|
| 71 |
+
- Transformers 4.47.0
|
| 72 |
+
- Pytorch 2.5.1+cu121
|
| 73 |
+
- Datasets 3.2.0
|
| 74 |
+
- Tokenizers 0.21.0
|
adapter_config.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "Helsinki-NLP/opus-mt-zh-en",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"eva_config": null,
|
| 7 |
+
"exclude_modules": null,
|
| 8 |
+
"fan_in_fan_out": false,
|
| 9 |
+
"inference_mode": true,
|
| 10 |
+
"init_lora_weights": true,
|
| 11 |
+
"layer_replication": null,
|
| 12 |
+
"layers_pattern": null,
|
| 13 |
+
"layers_to_transform": null,
|
| 14 |
+
"loftq_config": {},
|
| 15 |
+
"lora_alpha": 32,
|
| 16 |
+
"lora_bias": false,
|
| 17 |
+
"lora_dropout": 0.05,
|
| 18 |
+
"megatron_config": null,
|
| 19 |
+
"megatron_core": "megatron.core",
|
| 20 |
+
"modules_to_save": null,
|
| 21 |
+
"peft_type": "LORA",
|
| 22 |
+
"r": 8,
|
| 23 |
+
"rank_pattern": {},
|
| 24 |
+
"revision": null,
|
| 25 |
+
"target_modules": [
|
| 26 |
+
"q_proj",
|
| 27 |
+
"k_proj",
|
| 28 |
+
"v_proj"
|
| 29 |
+
],
|
| 30 |
+
"task_type": "SEQ_2_SEQ_LM",
|
| 31 |
+
"use_dora": false,
|
| 32 |
+
"use_rslora": false
|
| 33 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9dc4674383e9574513f6468bbf0d5b4edbff9ee0769dd74a28e878c57357df7a
|
| 3 |
+
size 1784384
|
runs/Dec20_08-03-03_d03aeb2b5ad9/events.out.tfevents.1734681784.d03aeb2b5ad9.733.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:86d7846721df3c660d1a9859aa1d5d3a39e765d903eedcdb8544bfe2fe2e1a94
|
| 3 |
+
size 11351
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc9d6a037fcb6e8efc4d6caef92679416349e953cac92d15b865f9d5379776dd
|
| 3 |
+
size 5496
|