Upload model
Browse files- config.json +77 -0
- model.safetensors +3 -0
config.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture_type": "uni-encoder",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"GLiClassModel"
|
| 5 |
+
],
|
| 6 |
+
"bos_token_id": 1,
|
| 7 |
+
"class_token_index": 250102,
|
| 8 |
+
"class_token_pooling": "average",
|
| 9 |
+
"contrastive_loss_coef": 0.0,
|
| 10 |
+
"dropout": 0.3,
|
| 11 |
+
"dtype": "bfloat16",
|
| 12 |
+
"embed_class_token": true,
|
| 13 |
+
"encoder_config": {
|
| 14 |
+
"_name_or_path": "microsoft/mdeberta-v3-base",
|
| 15 |
+
"attention_probs_dropout_prob": 0.1,
|
| 16 |
+
"hidden_act": "gelu",
|
| 17 |
+
"hidden_dropout_prob": 0.1,
|
| 18 |
+
"hidden_size": 768,
|
| 19 |
+
"initializer_range": 0.02,
|
| 20 |
+
"intermediate_size": 3072,
|
| 21 |
+
"layer_norm_eps": 1e-07,
|
| 22 |
+
"legacy": true,
|
| 23 |
+
"max_position_embeddings": 512,
|
| 24 |
+
"max_relative_positions": -1,
|
| 25 |
+
"model_type": "deberta-v2",
|
| 26 |
+
"norm_rel_ebd": "layer_norm",
|
| 27 |
+
"num_attention_heads": 12,
|
| 28 |
+
"num_hidden_layers": 12,
|
| 29 |
+
"pooler_dropout": 0,
|
| 30 |
+
"pooler_hidden_act": "gelu",
|
| 31 |
+
"pooler_hidden_size": 768,
|
| 32 |
+
"pos_att_type": [
|
| 33 |
+
"p2c",
|
| 34 |
+
"c2p"
|
| 35 |
+
],
|
| 36 |
+
"position_biased_input": false,
|
| 37 |
+
"position_buckets": 256,
|
| 38 |
+
"relative_attention": true,
|
| 39 |
+
"share_att_key": true,
|
| 40 |
+
"type_vocab_size": 0,
|
| 41 |
+
"vocab_size": 250105
|
| 42 |
+
},
|
| 43 |
+
"encoder_layer_id": -1,
|
| 44 |
+
"encoder_model_name": "microsoft/mdeberta-v3-base",
|
| 45 |
+
"eos_token_id": 2,
|
| 46 |
+
"example_token_index": 250104,
|
| 47 |
+
"extract_text_features": true,
|
| 48 |
+
"focal_loss_alpha": -1,
|
| 49 |
+
"focal_loss_gamma": -1,
|
| 50 |
+
"focal_loss_reduction": "none",
|
| 51 |
+
"hidden_size": 768,
|
| 52 |
+
"ignore_index": -100,
|
| 53 |
+
"initializer_range": 0.03,
|
| 54 |
+
"label_model_config": null,
|
| 55 |
+
"label_model_name": null,
|
| 56 |
+
"layer_wise": false,
|
| 57 |
+
"logit_scale_init_value": 2.6592,
|
| 58 |
+
"max_num_classes": 25,
|
| 59 |
+
"model_type": "GLiClass",
|
| 60 |
+
"normalize_features": false,
|
| 61 |
+
"pad_token_id": 0,
|
| 62 |
+
"pooling_strategy": "pass",
|
| 63 |
+
"projector_hidden_act": "gelu",
|
| 64 |
+
"prompt_first": true,
|
| 65 |
+
"scorer_attn_dropout": 0.1,
|
| 66 |
+
"scorer_mlp_hidden_size": 768,
|
| 67 |
+
"scorer_num_heads": 8,
|
| 68 |
+
"scorer_type": "cross-attn",
|
| 69 |
+
"scorer_use_sequence_packing": true,
|
| 70 |
+
"shuffle_labels": true,
|
| 71 |
+
"squeeze_layers": false,
|
| 72 |
+
"text_token_index": 250103,
|
| 73 |
+
"transformers_version": "4.57.6",
|
| 74 |
+
"use_lstm": false,
|
| 75 |
+
"use_segment_embeddings": false,
|
| 76 |
+
"vocab_size": 250105
|
| 77 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:440d8f17603d3e6f7d13a4fe7ffa7e9ef2c5a2581cceccb2f643334b92c8aea8
|
| 3 |
+
size 567503348
|