File size: 3,541 Bytes
f7b715f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
  "model_type": "marks",
  "architectures": [
    "MarksMultiHead"
  ],
  "auto_map": {
    "AutoConfig": "configuration_marks.MarksConfig",
    "AutoModel": "modeling_marks.MarksMultiHead"
  },
  "encoder_name_or_path": "answerdotai/ModernBERT-large",
  "encoder_config": {
    "transformers_version": "5.6.2",
    "architectures": [
      "ModernBertForMaskedLM"
    ],
    "output_hidden_states": false,
    "return_dict": true,
    "dtype": "float32",
    "chunk_size_feed_forward": 0,
    "is_encoder_decoder": false,
    "id2label": {
      "0": "LABEL_0",
      "1": "LABEL_1"
    },
    "label2id": {
      "LABEL_0": 0,
      "LABEL_1": 1
    },
    "problem_type": null,
    "vocab_size": 50368,
    "hidden_size": 1024,
    "intermediate_size": 2624,
    "num_hidden_layers": 28,
    "num_attention_heads": 16,
    "hidden_activation": "gelu",
    "max_position_embeddings": 8192,
    "initializer_range": 0.02,
    "initializer_cutoff_factor": 2.0,
    "norm_eps": 1e-05,
    "norm_bias": false,
    "pad_token_id": 50283,
    "eos_token_id": 50282,
    "bos_token_id": 50281,
    "cls_token_id": 50281,
    "sep_token_id": 50282,
    "attention_bias": false,
    "attention_dropout": 0.0,
    "layer_types": [
      "full_attention",
      "sliding_attention",
      "sliding_attention",
      "full_attention",
      "sliding_attention",
      "sliding_attention",
      "full_attention",
      "sliding_attention",
      "sliding_attention",
      "full_attention",
      "sliding_attention",
      "sliding_attention",
      "full_attention",
      "sliding_attention",
      "sliding_attention",
      "full_attention",
      "sliding_attention",
      "sliding_attention",
      "full_attention",
      "sliding_attention",
      "sliding_attention",
      "full_attention",
      "sliding_attention",
      "sliding_attention",
      "full_attention",
      "sliding_attention",
      "sliding_attention",
      "full_attention"
    ],
    "rope_parameters": {
      "sliding_attention": {
        "rope_type": "default",
        "rope_theta": 10000.0
      },
      "full_attention": {
        "rope_type": "default",
        "rope_theta": 160000.0
      }
    },
    "local_attention": 128,
    "embedding_dropout": 0.0,
    "mlp_bias": false,
    "mlp_dropout": 0.0,
    "decoder_bias": true,
    "classifier_pooling": "mean",
    "classifier_dropout": 0.0,
    "classifier_bias": false,
    "classifier_activation": "gelu",
    "deterministic_flash_attn": false,
    "sparse_prediction": false,
    "sparse_pred_ignore_index": -100,
    "tie_word_embeddings": true,
    "_name_or_path": "answerdotai/ModernBERT-large",
    "global_attn_every_n_layers": 3,
    "gradient_checkpointing": false,
    "layer_norm_eps": 1e-05,
    "model_type": "modernbert",
    "position_embedding_type": "absolute",
    "output_attentions": false
  },
  "max_position_embeddings": 16384,
  "marks_rope_strategy": "yarn",
  "original_max_position": 8192,
  "head_dim_ratio": 4,
  "dropout": 0.1,
  "topic_score_range": [
    -2.0,
    2.0
  ],
  "tone_score_range": [
    1.0,
    5.0
  ],
  "topics": [
    "guidance",
    "revenue_growth",
    "margins",
    "demand",
    "buybacks",
    "dividends",
    "m_and_a",
    "headcount",
    "macro_exposure",
    "competition"
  ],
  "tones": [
    "mgmt_confidence",
    "mgmt_defensiveness",
    "analyst_skepticism"
  ],
  "loss_weights": {
    "topic_mentioned": 0.5,
    "topic_score": 1.0,
    "tone_scores": 0.5
  },
  "torch_dtype": "float32",
  "transformers_version": "5.6.2"
}