File size: 3,048 Bytes
ab5f062
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
  "architectures": [
    "BertForSequenceClassification"
  ],
  "attention_probs_dropout_prob": 0.1,
  "classifier_dropout": null,
  "hidden_act": "gelu",
  "hidden_dropout_prob": 0.1,
  "hidden_size": 768,
  "id2label": {
    "0": "agent_response",
    "1": "backchannel"
  },
  "initializer_range": 0.02,
  "intermediate_size": 3072,
  "label2id": {
    "agent_response": 0,
    "backchannel": 1
  },
  "layer_norm_eps": 1e-12,
  "max_position_embeddings": 512,
  "model_type": "bert",
  "num_attention_heads": 12,
  "num_hidden_layers": 12,
  "pad_token_id": 0,
  "position_embedding_type": "absolute",
  "problem_type": "single_label_classification",
  "torch_dtype": "float32",
  "transformers_version": "4.52.4",
  "type_vocab_size": 2,
  "use_cache": true,
  "vocab_size": 32000,
  "_metadata": {
    "model_name": "turn-detection-v2",
    "version": "1.0.0",
    "published_at": "2025-12-31",
    "author": "Fine-Tune Assistant",
    "license": "Apache-2.0",
    "huggingface_repo": "hayatiali/turn-detection-v2",
    "huggingface_url": "https://huggingface.co/hayatiali/turn-detection-v2"
  },
  "_context_aware": {
    "enabled": true,
    "input_format": "[bot] {bot_message} [sep] [user] {user_message}",
    "special_tokens": [
      "[bot]",
      "[sep]",
      "[user]"
    ],
    "example_input": "[bot] sunucuya katilmak icin ne yapmaliyim [sep] [user] ya davet kodu alabilir miyim",
    "fallback_behavior": "If no [bot] context provided, model uses user text only"
  },
  "_task": {
    "type": "text-classification",
    "name": "Turn Detection V2",
    "description": "Classifies text into 2 categories: agent_response, backchannel",
    "num_labels": 2
  },
  "_labels": {
    "num_labels": 2,
    "id2label": {
      "0": "agent_response",
      "1": "backchannel"
    },
    "label2id": {
      "agent_response": 0,
      "backchannel": 1
    },
    "label_descriptions": {
      "agent_response": "Category: agent_response",
      "backchannel": "Category: backchannel"
    }
  },
  "_domain": {
    "language": "Turkish (tr)",
    "domain": "General",
    "base_model": "dbmdz/bert-base-turkish-uncased"
  },
  "_training": {
    "dataset": {
      "name": "callcenter-turn-detection-classification",
      "total_samples": 65310,
      "train_samples": 52287,
      "test_samples": 13023,
      "label_distribution": {
        "agent_response": "35223 (67.4%)",
        "backchannel": "17064 (32.6%)"
      }
    },
    "hyperparameters": {
      "max_sequence_length": 128,
      "batch_size": 16,
      "learning_rate": 3e-05,
      "epochs": 4,
      "optimizer": "AdamW",
      "weight_decay": 0.01,
      "loss_function": "CrossEntropyLoss"
    },
    "hardware": "mps"
  },
  "_evaluation": {
    "metrics": {
      "macro_f1": 0.9769,
      "micro_f1": 0.9794,
      "mcc": 0.9544,
      "accuracy": 97.94
    },
    "per_class": {
      "agent_response": {
        "accuracy": 99.57,
        "samples": 8553
      },
      "backchannel": {
        "accuracy": 94.83,
        "samples": 4470
      }
    }
  }
}