add trace-dialog-lite-bidi-xlc-s1u
Browse files- trace-dialog-lite-bidi-xlc-s1u/best/config.json +19 -0
- trace-dialog-lite-bidi-xlc-s1u/best/model.safetensors +3 -0
- trace-dialog-lite-bidi-xlc-s1u/best/training_args.json +15 -0
- trace-dialog-lite-bidi-xlc-s1u/config.json +19 -0
- trace-dialog-lite-bidi-xlc-s1u/config.yaml +66 -0
- trace-dialog-lite-bidi-xlc-s1u/model.safetensors +3 -0
- trace-dialog-lite-bidi-xlc-s1u/training_args.json +15 -0
- trace-dialog-lite-bidi-xlc-s1u/trainlog.jsonl +8 -0
trace-dialog-lite-bidi-xlc-s1u/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": "bidirectional",
|
| 10 |
+
"use_speaker_embeddings": true,
|
| 11 |
+
"num_speakers": 4,
|
| 12 |
+
"layer_norm": true,
|
| 13 |
+
"ff_dim": 3072,
|
| 14 |
+
"activation": "gelu",
|
| 15 |
+
"output_residual": false,
|
| 16 |
+
"arch": "v2",
|
| 17 |
+
"head_mode": "tied_continuous",
|
| 18 |
+
"head_transform": true
|
| 19 |
+
}
|
trace-dialog-lite-bidi-xlc-s1u/best/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0ebd140780d3244b1ebd49d36dd46d3b56ecdf6f5c64914f5410be99700a2d13
|
| 3 |
+
size 179814312
|
trace-dialog-lite-bidi-xlc-s1u/best/training_args.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tag": "xlc-s1u",
|
| 3 |
+
"recipe": "lite",
|
| 4 |
+
"stage": "s1u",
|
| 5 |
+
"corpus": "ultrachat_dialogs.slim.pkl",
|
| 6 |
+
"n_train_turns": 11072595,
|
| 7 |
+
"init_from": "packages/trace-dialog/models/trace-dialog-lite-bidi-xlc-s1/best",
|
| 8 |
+
"n_layers": 6,
|
| 9 |
+
"n_heads": 8,
|
| 10 |
+
"lr": 0.0001,
|
| 11 |
+
"epoch": 6,
|
| 12 |
+
"train_loss": 1.43678,
|
| 13 |
+
"val_loss": 1.80021,
|
| 14 |
+
"epoch_sec": 1726.3
|
| 15 |
+
}
|
trace-dialog-lite-bidi-xlc-s1u/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": "bidirectional",
|
| 10 |
+
"use_speaker_embeddings": true,
|
| 11 |
+
"num_speakers": 4,
|
| 12 |
+
"layer_norm": true,
|
| 13 |
+
"ff_dim": 3072,
|
| 14 |
+
"activation": "gelu",
|
| 15 |
+
"output_residual": false,
|
| 16 |
+
"arch": "v2",
|
| 17 |
+
"head_mode": "tied_continuous",
|
| 18 |
+
"head_transform": true
|
| 19 |
+
}
|
trace-dialog-lite-bidi-xlc-s1u/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: bidirectional
|
| 10 |
+
use_speaker_embeddings: true
|
| 11 |
+
num_speakers: 4
|
| 12 |
+
layer_norm: true
|
| 13 |
+
ff_dim: 3072
|
| 14 |
+
activation: gelu
|
| 15 |
+
output_residual: false
|
| 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.0001
|
| 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
|
trace-dialog-lite-bidi-xlc-s1u/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d0dee320a919d60f2c84b9a05d0c5d0e8214c6b59b352323f896df4141f44e1a
|
| 3 |
+
size 179814312
|
trace-dialog-lite-bidi-xlc-s1u/training_args.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tag": "xlc-s1u",
|
| 3 |
+
"recipe": "lite",
|
| 4 |
+
"stage": "s1u",
|
| 5 |
+
"corpus": "ultrachat_dialogs.slim.pkl",
|
| 6 |
+
"n_train_turns": 11072595,
|
| 7 |
+
"init_from": "packages/trace-dialog/models/trace-dialog-lite-bidi-xlc-s1/best",
|
| 8 |
+
"n_layers": 6,
|
| 9 |
+
"n_heads": 8,
|
| 10 |
+
"lr": 0.0001,
|
| 11 |
+
"epoch": 8,
|
| 12 |
+
"train_loss": 1.31238,
|
| 13 |
+
"val_loss": 1.80067,
|
| 14 |
+
"epoch_sec": 1734.7
|
| 15 |
+
}
|
trace-dialog-lite-bidi-xlc-s1u/trainlog.jsonl
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"tag": "xlc-s1u", "recipe": "lite", "stage": "s1u", "corpus": "ultrachat_dialogs.slim.pkl", "n_train_turns": 11072595, "init_from": "packages/trace-dialog/models/trace-dialog-lite-bidi-xlc-s1/best", "n_layers": 6, "n_heads": 8, "lr": 0.0001, "epoch": 1, "train_loss": 2.38652, "val_loss": 2.07587, "epoch_sec": 1718.7}
|
| 2 |
+
{"tag": "xlc-s1u", "recipe": "lite", "stage": "s1u", "corpus": "ultrachat_dialogs.slim.pkl", "n_train_turns": 11072595, "init_from": "packages/trace-dialog/models/trace-dialog-lite-bidi-xlc-s1/best", "n_layers": 6, "n_heads": 8, "lr": 0.0001, "epoch": 2, "train_loss": 1.90032, "val_loss": 1.92406, "epoch_sec": 1747.6}
|
| 3 |
+
{"tag": "xlc-s1u", "recipe": "lite", "stage": "s1u", "corpus": "ultrachat_dialogs.slim.pkl", "n_train_turns": 11072595, "init_from": "packages/trace-dialog/models/trace-dialog-lite-bidi-xlc-s1/best", "n_layers": 6, "n_heads": 8, "lr": 0.0001, "epoch": 3, "train_loss": 1.72795, "val_loss": 1.85364, "epoch_sec": 1764.0}
|
| 4 |
+
{"tag": "xlc-s1u", "recipe": "lite", "stage": "s1u", "corpus": "ultrachat_dialogs.slim.pkl", "n_train_turns": 11072595, "init_from": "packages/trace-dialog/models/trace-dialog-lite-bidi-xlc-s1/best", "n_layers": 6, "n_heads": 8, "lr": 0.0001, "epoch": 4, "train_loss": 1.61319, "val_loss": 1.81903, "epoch_sec": 1730.0}
|
| 5 |
+
{"tag": "xlc-s1u", "recipe": "lite", "stage": "s1u", "corpus": "ultrachat_dialogs.slim.pkl", "n_train_turns": 11072595, "init_from": "packages/trace-dialog/models/trace-dialog-lite-bidi-xlc-s1/best", "n_layers": 6, "n_heads": 8, "lr": 0.0001, "epoch": 5, "train_loss": 1.51789, "val_loss": 1.80411, "epoch_sec": 1740.0}
|
| 6 |
+
{"tag": "xlc-s1u", "recipe": "lite", "stage": "s1u", "corpus": "ultrachat_dialogs.slim.pkl", "n_train_turns": 11072595, "init_from": "packages/trace-dialog/models/trace-dialog-lite-bidi-xlc-s1/best", "n_layers": 6, "n_heads": 8, "lr": 0.0001, "epoch": 6, "train_loss": 1.43678, "val_loss": 1.80021, "epoch_sec": 1726.3}
|
| 7 |
+
{"tag": "xlc-s1u", "recipe": "lite", "stage": "s1u", "corpus": "ultrachat_dialogs.slim.pkl", "n_train_turns": 11072595, "init_from": "packages/trace-dialog/models/trace-dialog-lite-bidi-xlc-s1/best", "n_layers": 6, "n_heads": 8, "lr": 0.0001, "epoch": 7, "train_loss": 1.36852, "val_loss": 1.80038, "epoch_sec": 1730.6}
|
| 8 |
+
{"tag": "xlc-s1u", "recipe": "lite", "stage": "s1u", "corpus": "ultrachat_dialogs.slim.pkl", "n_train_turns": 11072595, "init_from": "packages/trace-dialog/models/trace-dialog-lite-bidi-xlc-s1/best", "n_layers": 6, "n_heads": 8, "lr": 0.0001, "epoch": 8, "train_loss": 1.31238, "val_loss": 1.80067, "epoch_sec": 1734.7}
|