ntanta03 commited on
Commit
4d2c6ad
·
1 Parent(s): e763ece

Upload 14 files

Browse files
.model_score.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ [0.41641438007354736, 0.3831499218940735, 0.3736233115196228, 0.3348974287509918, 0.3122231960296631]
best_model_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e11e8d61f86d4dd1d661487616331c0c3cdc0dcec407ef0613c5a05b5ca6ce3e
3
+ size 326009981
best_model_1.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f9deaed5862d9bbd3aba40717b0f57eefaabc3abd78afba5a065a965a14d6f2
3
+ size 326009981
best_model_2.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f9deaed5862d9bbd3aba40717b0f57eefaabc3abd78afba5a065a965a14d6f2
3
+ size 326009981
best_model_3.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f9deaed5862d9bbd3aba40717b0f57eefaabc3abd78afba5a065a965a14d6f2
3
+ size 326009981
best_model_4.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f9deaed5862d9bbd3aba40717b0f57eefaabc3abd78afba5a065a965a14d6f2
3
+ size 326009981
bilingual_prototype.yml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # data location and config section
2
+ data:
3
+ train_data_location: laos-vn/Train/train2023
4
+ eval_data_location: laos-vn/Dev/dev2023
5
+ src_lang: .lo
6
+ trg_lang: .vi
7
+ log_file_models: 'model.log'
8
+ lowercase: false
9
+ build_vocab_kwargs: # additional arguments for build_vocab. See torchtext.vocab.Vocab for mode details
10
+ # max_size: 50000
11
+ min_freq: 5
12
+ # model parameters section
13
+ device: cuda
14
+ d_model: 512
15
+ n_layers: 6
16
+ heads: 8
17
+ # inference section
18
+ eval_batch_size: 8
19
+ decode_strategy: BeamSearch
20
+ decode_strategy_kwargs:
21
+ beam_size: 4 # beam search size
22
+ length_normalize: 0.6 # recalculate beam position by length. Currently only work in default BeamSearch
23
+ replace_unk: # tuple of layer/head attention to replace unknown words
24
+ - 0 # layer
25
+ - 0 # head
26
+ input_max_length: 200 # input longer than this value will be trimmed in inference. Note that this values are to be used during cached PE, hence, validation set with more than this much tokens will call a warning for the trimming.
27
+ max_length: 160 # only perform up to this much timestep during inference
28
+ train_max_length: 50 # training samples with this much length in src/trg will be discarded
29
+ # optimizer and learning arguments section
30
+ lr: 0.4
31
+ optimizer: Adam
32
+ optimizer_params:
33
+ betas:
34
+ - 0.9 # beta1
35
+ - 0.98 # beta2
36
+ eps: !!float 1e-9
37
+ n_warmup_steps: 8000
38
+ label_smoothing: 0.1
39
+ dropout: 0.1
40
+ # training config, evaluation, save & load section
41
+ batch_size: 64
42
+ epochs: 20
43
+ printevery: 200
44
+ save_checkpoint_epochs: 1
45
+ maximum_saved_model_eval: 5
46
+ maximum_saved_model_train: 5
model_16.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d01208fa9253a13f84f2d2b2e5327c94055a411a9032db5a19dc07e0cea02cb6
3
+ size 326008477
model_17.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:826fadb03f8167f62f6bcc04c331f87f9de8a1838482d19106cde4c049b0d4f6
3
+ size 326008477
model_18.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3f7a5b773b1c2fcedcfae9fea0b088631472ed239f138c36e89470b6c942bd8
3
+ size 326008477
model_19.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6ad274c91bba1f3e15782b0da7fe08d85991fd97f7bb7a761f5577eabe1e578
3
+ size 326008477
model_20.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a192ef31e27ab3654a27da59e6af52a0041caa6efecd620b05aea985cf6da4a
3
+ size 326008477
vocab.lo.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c06b7c68f8b3d008e65a71b19dd0f7303da667a9ff24dcb7fd1313f00976a79
3
+ size 1317394
vocab.vi.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3dbd3a98cf885e510dbfed80bcdfcb3d4f25c11116d2d26b2a01fa9f14651400
3
+ size 1456341