Upload PhiForTokenClassification
Browse files- config.json +21 -22
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,15 +1,13 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
-
"apply_residual_connection_post_layernorm": false,
|
4 |
"architectures": [
|
5 |
-
"
|
6 |
],
|
7 |
"attention_dropout": 0.0,
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
11 |
-
"
|
12 |
-
"hidden_dropout": 0.0,
|
13 |
"hidden_size": 2048,
|
14 |
"id2label": {
|
15 |
"0": "LABEL_0",
|
@@ -35626,6 +35624,7 @@
|
|
35626 |
"35611": "LABEL_35611"
|
35627 |
},
|
35628 |
"initializer_range": 0.02,
|
|
|
35629 |
"label2id": {
|
35630 |
"LABEL_0": 0,
|
35631 |
"LABEL_1": 1,
|
@@ -71240,14 +71239,14 @@
|
|
71240 |
"LABEL_9998": 9998,
|
71241 |
"LABEL_9999": 9999
|
71242 |
},
|
71243 |
-
"
|
71244 |
-
"
|
71245 |
-
"model_type": "
|
71246 |
-
"
|
71247 |
-
"
|
71248 |
-
"
|
71249 |
-
"
|
71250 |
-
"
|
71251 |
"quantization_config": {
|
71252 |
"_load_in_4bit": true,
|
71253 |
"_load_in_8bit": false,
|
@@ -71263,12 +71262,12 @@
|
|
71263 |
"load_in_8bit": false,
|
71264 |
"quant_method": "bitsandbytes"
|
71265 |
},
|
71266 |
-
"
|
71267 |
-
"
|
71268 |
-
"
|
71269 |
-
"
|
71270 |
"torch_dtype": "bfloat16",
|
71271 |
"transformers_version": "4.41.2",
|
71272 |
-
"use_cache":
|
71273 |
-
"vocab_size":
|
71274 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "microsoft/phi-1_5",
|
|
|
3 |
"architectures": [
|
4 |
+
"PhiForTokenClassification"
|
5 |
],
|
6 |
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": null,
|
8 |
+
"embd_pdrop": 0.0,
|
9 |
+
"eos_token_id": null,
|
10 |
+
"hidden_act": "gelu_new",
|
|
|
11 |
"hidden_size": 2048,
|
12 |
"id2label": {
|
13 |
"0": "LABEL_0",
|
|
|
35624 |
"35611": "LABEL_35611"
|
35625 |
},
|
35626 |
"initializer_range": 0.02,
|
35627 |
+
"intermediate_size": 8192,
|
35628 |
"label2id": {
|
35629 |
"LABEL_0": 0,
|
35630 |
"LABEL_1": 1,
|
|
|
71239 |
"LABEL_9998": 9998,
|
71240 |
"LABEL_9999": 9999
|
71241 |
},
|
71242 |
+
"layer_norm_eps": 1e-05,
|
71243 |
+
"max_position_embeddings": 2048,
|
71244 |
+
"model_type": "phi",
|
71245 |
+
"num_attention_heads": 32,
|
71246 |
+
"num_hidden_layers": 24,
|
71247 |
+
"num_key_value_heads": 32,
|
71248 |
+
"partial_rotary_factor": 0.5,
|
71249 |
+
"qk_layernorm": false,
|
71250 |
"quantization_config": {
|
71251 |
"_load_in_4bit": true,
|
71252 |
"_load_in_8bit": false,
|
|
|
71262 |
"load_in_8bit": false,
|
71263 |
"quant_method": "bitsandbytes"
|
71264 |
},
|
71265 |
+
"resid_pdrop": 0.0,
|
71266 |
+
"rope_scaling": null,
|
71267 |
+
"rope_theta": 10000.0,
|
71268 |
+
"tie_word_embeddings": false,
|
71269 |
"torch_dtype": "bfloat16",
|
71270 |
"transformers_version": "4.41.2",
|
71271 |
+
"use_cache": true,
|
71272 |
+
"vocab_size": 51200
|
71273 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0aeb2e58ee3d5449e1a78af3ff0ed3665599a7020758acae0cca556028a72a0a
|
3 |
+
size 1036329376
|