codelion commited on
Commit
4b9b0ed
1 Parent(s): b1d45ff

Upload model

Browse files
Files changed (2) hide show
  1. config.json +16 -20
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,13 +1,20 @@
1
  {
2
- "_name_or_path": "google-bert/bert-large-uncased",
3
  "architectures": [
4
- "BertForSequenceClassification"
5
  ],
6
- "attention_probs_dropout_prob": 0.1,
7
- "classifier_dropout": null,
8
- "gradient_checkpointing": false,
9
- "hidden_act": "gelu",
10
- "hidden_dropout_prob": 0.1,
 
 
 
 
 
 
 
 
11
  "hidden_size": 1024,
12
  "id2label": {
13
  "0": "LABEL_0",
@@ -24,8 +31,6 @@
24
  "11": "LABEL_11",
25
  "12": "LABEL_12"
26
  },
27
- "initializer_range": 0.02,
28
- "intermediate_size": 4096,
29
  "label2id": {
30
  "LABEL_0": 0,
31
  "LABEL_1": 1,
@@ -41,16 +46,7 @@
41
  "LABEL_8": 8,
42
  "LABEL_9": 9
43
  },
44
- "layer_norm_eps": 1e-12,
45
- "max_position_embeddings": 512,
46
- "model_type": "bert",
47
- "num_attention_heads": 16,
48
- "num_hidden_layers": 24,
49
- "pad_token_id": 0,
50
- "position_embedding_type": "absolute",
51
  "torch_dtype": "float32",
52
- "transformers_version": "4.44.2",
53
- "type_vocab_size": 2,
54
- "use_cache": true,
55
- "vocab_size": 30522
56
  }
 
1
  {
 
2
  "architectures": [
3
+ "OptILMPreTrainedModel"
4
  ],
5
+ "base_model_config": {
6
+ "_name_or_path": "google-bert/bert-large-uncased",
7
+ "architectures": [
8
+ "BertForMaskedLM"
9
+ ],
10
+ "gradient_checkpointing": false,
11
+ "hidden_size": 1024,
12
+ "intermediate_size": 4096,
13
+ "model_type": "bert",
14
+ "num_attention_heads": 16,
15
+ "num_hidden_layers": 24
16
+ },
17
+ "base_model_name": "google-bert/bert-large-uncased",
18
  "hidden_size": 1024,
19
  "id2label": {
20
  "0": "LABEL_0",
 
31
  "11": "LABEL_11",
32
  "12": "LABEL_12"
33
  },
 
 
34
  "label2id": {
35
  "LABEL_0": 0,
36
  "LABEL_1": 1,
 
46
  "LABEL_8": 8,
47
  "LABEL_9": 9
48
  },
49
+ "model_type": "optillm",
 
 
 
 
 
 
50
  "torch_dtype": "float32",
51
+ "transformers_version": "4.44.2"
 
 
 
52
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a9c2f1a2d09f4f2b934bbed85b126dd03a2434506593b63974101b71e58d0cec
3
- size 1340691036
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b82179e3e256e7aa033527825ba93e69881453bad96c45f51905e6126b2e31b
3
+ size 1340691068