Upload folder using huggingface_hub
Browse files- .gitattributes +2 -0
- part1/moe-top2/config.json +62 -0
- part1/moe-top2/metrics.jsonl +0 -0
- part1/moe-top2/model.pt +3 -0
- part1/moe-top2/results.json +14 -0
- part1/moe-top2/routing-heatmap.pdf +0 -0
- part1/moe-top2/routing-heatmap.png +3 -0
- part1/moe-top2/translations.jsonl +3 -0
.gitattributes
CHANGED
|
@@ -38,3 +38,5 @@ part1/moe-shared/routing-heatmap.png filter=lfs diff=lfs merge=lfs -text
|
|
| 38 |
part1/moe-shared/translations.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 39 |
part1/moe-top1/routing-heatmap.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
part1/moe-top1/translations.jsonl filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 38 |
part1/moe-shared/translations.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 39 |
part1/moe-top1/routing-heatmap.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
part1/moe-top1/translations.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
part1/moe-top2/routing-heatmap.png filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
part1/moe-top2/translations.jsonl filter=lfs diff=lfs merge=lfs -text
|
part1/moe-top2/config.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": {
|
| 3 |
+
"d_model": 512,
|
| 4 |
+
"n_layers": 6,
|
| 5 |
+
"n_heads": 8,
|
| 6 |
+
"n_ctx": 256,
|
| 7 |
+
"d_ff": 1536,
|
| 8 |
+
"dropout": 0.0,
|
| 9 |
+
"use_moe": true,
|
| 10 |
+
"n_experts": 4,
|
| 11 |
+
"top_k": 2,
|
| 12 |
+
"n_shared": 0,
|
| 13 |
+
"d_expert": 384
|
| 14 |
+
},
|
| 15 |
+
"seed": 0,
|
| 16 |
+
"data": {
|
| 17 |
+
"name": "belumind/en-vi-ja-curated-500k-triplets",
|
| 18 |
+
"splits": {
|
| 19 |
+
"train": "train",
|
| 20 |
+
"val": "validation",
|
| 21 |
+
"test": "test"
|
| 22 |
+
},
|
| 23 |
+
"columns": {
|
| 24 |
+
"en": "en",
|
| 25 |
+
"vi": "vi",
|
| 26 |
+
"ja": "ja"
|
| 27 |
+
},
|
| 28 |
+
"seed": 0,
|
| 29 |
+
"limit": null
|
| 30 |
+
},
|
| 31 |
+
"tokenizer": {
|
| 32 |
+
"file": "unigram-16k.json",
|
| 33 |
+
"vocab_size": 16000,
|
| 34 |
+
"sample_triplets": 200000
|
| 35 |
+
},
|
| 36 |
+
"train": {
|
| 37 |
+
"max_tokens": 60000000,
|
| 38 |
+
"batch_size": 128,
|
| 39 |
+
"lr": 0.001,
|
| 40 |
+
"betas": [
|
| 41 |
+
0.9,
|
| 42 |
+
0.98
|
| 43 |
+
],
|
| 44 |
+
"weight_decay": 0.1,
|
| 45 |
+
"grad_clip": 1.0,
|
| 46 |
+
"warmup_fraction": 0.05,
|
| 47 |
+
"min_lr_ratio": 0.1,
|
| 48 |
+
"eval_every_fraction": 0.1,
|
| 49 |
+
"log_every": 50
|
| 50 |
+
},
|
| 51 |
+
"evaluate": {
|
| 52 |
+
"batch_size": 128,
|
| 53 |
+
"val_pairs": 4000,
|
| 54 |
+
"max_new_tokens": 128,
|
| 55 |
+
"bleu_limit": null
|
| 56 |
+
},
|
| 57 |
+
"wandb": {
|
| 58 |
+
"enabled": true,
|
| 59 |
+
"project": "anlp-assignment-2"
|
| 60 |
+
},
|
| 61 |
+
"name": "moe-top2"
|
| 62 |
+
}
|
part1/moe-top2/metrics.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
part1/moe-top2/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:254dd1330f78254f2eb2bd82533948c27085f9fbe683703048fcb4deeca3cb56
|
| 3 |
+
size 147439711
|
part1/moe-top2/results.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "moe-top2",
|
| 3 |
+
"parameters": {
|
| 4 |
+
"total": 36850176,
|
| 5 |
+
"active": 29772288
|
| 6 |
+
},
|
| 7 |
+
"complete": true,
|
| 8 |
+
"test_loss": 1.3488332055230736,
|
| 9 |
+
"test_perplexity": 3.8529273326392515,
|
| 10 |
+
"bleu_vi": 42.716839237328806,
|
| 11 |
+
"bleu_ja": 34.223923777649865,
|
| 12 |
+
"bleu": 38.56568762958229,
|
| 13 |
+
"bleu_pairs": 49583
|
| 14 |
+
}
|
part1/moe-top2/routing-heatmap.pdf
ADDED
|
Binary file (17.3 kB). View file
|
|
|
part1/moe-top2/routing-heatmap.png
ADDED
|
Git LFS Details
|
part1/moe-top2/translations.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa204af835b2b7ae169ada4a7a8936a2e27da0fe4a2cf2faf47f104d36b9c9eb
|
| 3 |
+
size 16628131
|