backup contextual-turn-encoder-base-todbert-lite-ar-1m
Browse files- contextual-turn-encoder-base-todbert-lite-ar-1m/best/config.json +19 -0
- contextual-turn-encoder-base-todbert-lite-ar-1m/best/model.safetensors +3 -0
- contextual-turn-encoder-base-todbert-lite-ar-1m/best/training_args.json +15 -0
- contextual-turn-encoder-base-todbert-lite-ar-1m/config.json +19 -0
- contextual-turn-encoder-base-todbert-lite-ar-1m/config.yaml +66 -0
- contextual-turn-encoder-base-todbert-lite-ar-1m/model.safetensors +3 -0
- contextual-turn-encoder-base-todbert-lite-ar-1m/training_args.json +15 -0
- contextual-turn-encoder-base-todbert-lite-ar-1m/trainlog.jsonl +8 -0
contextual-turn-encoder-base-todbert-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": 6,
|
| 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-todbert-lite-ar-1m/best/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eff1ecfa69eedec9c5947a45c208fa4322ea28c1173c65b7492980c6c576fdc9
|
| 3 |
+
size 179808064
|
contextual-turn-encoder-base-todbert-lite-ar-1m/best/training_args.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tag": "todbert",
|
| 3 |
+
"arch": "v2",
|
| 4 |
+
"recipe": "v1",
|
| 5 |
+
"base": "todbert",
|
| 6 |
+
"scale": "1m",
|
| 7 |
+
"n_layers": 6,
|
| 8 |
+
"n_heads": 8,
|
| 9 |
+
"lr": 0.0002,
|
| 10 |
+
"mode": "autoregressive",
|
| 11 |
+
"epoch": 8,
|
| 12 |
+
"train_loss": 3.20293,
|
| 13 |
+
"val_loss": 4.5075,
|
| 14 |
+
"epoch_sec": 549.9
|
| 15 |
+
}
|
contextual-turn-encoder-base-todbert-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": 6,
|
| 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-todbert-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: 6
|
| 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: 8
|
| 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-todbert-lite-ar-1m/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eff1ecfa69eedec9c5947a45c208fa4322ea28c1173c65b7492980c6c576fdc9
|
| 3 |
+
size 179808064
|
contextual-turn-encoder-base-todbert-lite-ar-1m/training_args.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tag": "todbert",
|
| 3 |
+
"arch": "v2",
|
| 4 |
+
"recipe": "v1",
|
| 5 |
+
"base": "todbert",
|
| 6 |
+
"scale": "1m",
|
| 7 |
+
"n_layers": 6,
|
| 8 |
+
"n_heads": 8,
|
| 9 |
+
"lr": 0.0002,
|
| 10 |
+
"mode": "autoregressive",
|
| 11 |
+
"epoch": 8,
|
| 12 |
+
"train_loss": 3.20293,
|
| 13 |
+
"val_loss": 4.5075,
|
| 14 |
+
"epoch_sec": 549.9
|
| 15 |
+
}
|
contextual-turn-encoder-base-todbert-lite-ar-1m/trainlog.jsonl
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"tag": "todbert", "arch": "v2", "recipe": "v1", "base": "todbert", "scale": "1m", "n_layers": 6, "n_heads": 8, "lr": 0.0002, "mode": "autoregressive", "epoch": 1, "train_loss": 4.75493, "val_loss": 4.87236, "epoch_sec": 451.8}
|
| 2 |
+
{"tag": "todbert", "arch": "v2", "recipe": "v1", "base": "todbert", "scale": "1m", "n_layers": 6, "n_heads": 8, "lr": 0.0002, "mode": "autoregressive", "epoch": 2, "train_loss": 4.08244, "val_loss": 4.70925, "epoch_sec": 463.5}
|
| 3 |
+
{"tag": "todbert", "arch": "v2", "recipe": "v1", "base": "todbert", "scale": "1m", "n_layers": 6, "n_heads": 8, "lr": 0.0002, "mode": "autoregressive", "epoch": 3, "train_loss": 3.89786, "val_loss": 4.63303, "epoch_sec": 449.6}
|
| 4 |
+
{"tag": "todbert", "arch": "v2", "recipe": "v1", "base": "todbert", "scale": "1m", "n_layers": 6, "n_heads": 8, "lr": 0.0002, "mode": "autoregressive", "epoch": 4, "train_loss": 3.7431, "val_loss": 4.58999, "epoch_sec": 458.1}
|
| 5 |
+
{"tag": "todbert", "arch": "v2", "recipe": "v1", "base": "todbert", "scale": "1m", "n_layers": 6, "n_heads": 8, "lr": 0.0002, "mode": "autoregressive", "epoch": 5, "train_loss": 3.58774, "val_loss": 4.54786, "epoch_sec": 463.1}
|
| 6 |
+
{"tag": "todbert", "arch": "v2", "recipe": "v1", "base": "todbert", "scale": "1m", "n_layers": 6, "n_heads": 8, "lr": 0.0002, "mode": "autoregressive", "epoch": 6, "train_loss": 3.43398, "val_loss": 4.53797, "epoch_sec": 454.2}
|
| 7 |
+
{"tag": "todbert", "arch": "v2", "recipe": "v1", "base": "todbert", "scale": "1m", "n_layers": 6, "n_heads": 8, "lr": 0.0002, "mode": "autoregressive", "epoch": 7, "train_loss": 3.29978, "val_loss": 4.5232, "epoch_sec": 519.9}
|
| 8 |
+
{"tag": "todbert", "arch": "v2", "recipe": "v1", "base": "todbert", "scale": "1m", "n_layers": 6, "n_heads": 8, "lr": 0.0002, "mode": "autoregressive", "epoch": 8, "train_loss": 3.20293, "val_loss": 4.5075, "epoch_sec": 549.9}
|