jumafernandez commited on
Commit
bd312c4
·
verified ·
1 Parent(s): 977c455

backup contextual-turn-encoder-base-lite-ar-1m

Browse files
contextual-turn-encoder-base-lite-ar-1m/best/config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "input_dim": 768,
3
+ "hidden_dim": 768,
4
+ "output_dim": 768,
5
+ "num_layers": 4,
6
+ "num_heads": 8,
7
+ "dropout": 0.1,
8
+ "max_turns": 64,
9
+ "attention_mode": "autoregressive",
10
+ "use_speaker_embeddings": true,
11
+ "num_speakers": 4,
12
+ "layer_norm": true,
13
+ "ff_dim": 3072,
14
+ "activation": "gelu",
15
+ "output_residual": true,
16
+ "arch": "v2",
17
+ "head_mode": "tied_continuous",
18
+ "head_transform": true
19
+ }
contextual-turn-encoder-base-lite-ar-1m/best/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1826f8f0dec4636db46f8bd511fec770fd4f557c53bc7e09fe1d4605cb03397
3
+ size 123101328
contextual-turn-encoder-base-lite-ar-1m/best/training_args.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "arch": "v2",
3
+ "mode": "autoregressive",
4
+ "epoch": 10,
5
+ "train_loss": 1.89073,
6
+ "val_loss": 4.4073,
7
+ "epoch_sec": 263.8
8
+ }
contextual-turn-encoder-base-lite-ar-1m/config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "input_dim": 768,
3
+ "hidden_dim": 768,
4
+ "output_dim": 768,
5
+ "num_layers": 4,
6
+ "num_heads": 8,
7
+ "dropout": 0.1,
8
+ "max_turns": 64,
9
+ "attention_mode": "autoregressive",
10
+ "use_speaker_embeddings": true,
11
+ "num_speakers": 4,
12
+ "layer_norm": true,
13
+ "ff_dim": 3072,
14
+ "activation": "gelu",
15
+ "output_residual": true,
16
+ "arch": "v2",
17
+ "head_mode": "tied_continuous",
18
+ "head_transform": true
19
+ }
contextual-turn-encoder-base-lite-ar-1m/config.yaml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model:
2
+ input_dim: 768
3
+ hidden_dim: 768
4
+ output_dim: 768
5
+ num_layers: 4
6
+ num_heads: 8
7
+ dropout: 0.1
8
+ max_turns: 64
9
+ attention_mode: autoregressive
10
+ use_speaker_embeddings: true
11
+ num_speakers: 4
12
+ layer_norm: true
13
+ ff_dim: 3072
14
+ activation: gelu
15
+ output_residual: true
16
+ arch: v2
17
+ head_mode: tied_continuous
18
+ head_transform: true
19
+ losses:
20
+ masked_reconstruction:
21
+ enabled: null
22
+ mask_prob: 0.15
23
+ weight: 1.0
24
+ next_turn_prediction:
25
+ enabled: null
26
+ weight: 1.0
27
+ embedding_retrieval:
28
+ enabled: true
29
+ weight: 1.0
30
+ temperature: 0.07
31
+ normalize: true
32
+ candidate_mode: in_batch
33
+ target: auto
34
+ lambda_cosine: 1.0
35
+ training:
36
+ seed: 42
37
+ batch_size: 128
38
+ epochs: 10
39
+ learning_rate: 0.0002
40
+ weight_decay: 0.01
41
+ warmup_ratio: 0.05
42
+ gradient_clip_norm: 1.0
43
+ device: mps
44
+ mixed_precision: false
45
+ num_workers: 0
46
+ log_interval: 100
47
+ output_dir: models/contextual-turn-encoder-base
48
+ data:
49
+ path: null
50
+ max_turns: 64
51
+ window: truncate
52
+ stride: 32
53
+ dialogue_id_col: dialogue_id
54
+ turn_id_col: turn_id
55
+ utterance_col: utterance
56
+ speaker_col: speaker
57
+ embedding_col: embedding
58
+ speaker_map: null
59
+ base_encoder:
60
+ model_name: sergioburdisso/dialog2flow-joint-bert-base
61
+ backend: sentence_transformers
62
+ batch_size: 64
63
+ normalize: false
64
+ freeze: true
65
+ device: auto
66
+ cache_dir: null
contextual-turn-encoder-base-lite-ar-1m/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1826f8f0dec4636db46f8bd511fec770fd4f557c53bc7e09fe1d4605cb03397
3
+ size 123101328
contextual-turn-encoder-base-lite-ar-1m/training_args.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "arch": "v2",
3
+ "mode": "autoregressive",
4
+ "epoch": 10,
5
+ "train_loss": 1.89073,
6
+ "val_loss": 4.4073,
7
+ "epoch_sec": 263.8
8
+ }
contextual-turn-encoder-base-lite-ar-1m/trainlog.jsonl ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {"arch": "v2", "mode": "autoregressive", "epoch": 1, "train_loss": 4.53824, "val_loss": 4.79324, "epoch_sec": 285.4}
2
+ {"arch": "v2", "mode": "autoregressive", "epoch": 2, "train_loss": 3.5848, "val_loss": 4.57696, "epoch_sec": 273.6}
3
+ {"arch": "v2", "mode": "autoregressive", "epoch": 3, "train_loss": 3.31053, "val_loss": 4.47773, "epoch_sec": 268.0}
4
+ {"arch": "v2", "mode": "autoregressive", "epoch": 4, "train_loss": 3.06479, "val_loss": 4.43022, "epoch_sec": 264.7}
5
+ {"arch": "v2", "mode": "autoregressive", "epoch": 5, "train_loss": 2.78972, "val_loss": 4.42681, "epoch_sec": 282.1}
6
+ {"arch": "v2", "mode": "autoregressive", "epoch": 6, "train_loss": 2.53113, "val_loss": 4.42761, "epoch_sec": 266.2}
7
+ {"arch": "v2", "mode": "autoregressive", "epoch": 7, "train_loss": 2.30905, "val_loss": 4.43798, "epoch_sec": 269.8}
8
+ {"arch": "v2", "mode": "autoregressive", "epoch": 8, "train_loss": 2.1279, "val_loss": 4.45396, "epoch_sec": 265.3}
9
+ {"arch": "v2", "mode": "autoregressive", "epoch": 9, "train_loss": 1.9868, "val_loss": 4.43622, "epoch_sec": 263.1}
10
+ {"arch": "v2", "mode": "autoregressive", "epoch": 10, "train_loss": 1.89073, "val_loss": 4.4073, "epoch_sec": 263.8}