Upload LukeForSequenceClassification
Browse files- config.json +23 -40
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -1,27 +1,19 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
-
"
|
| 5 |
],
|
| 6 |
-
"
|
| 7 |
-
"
|
| 8 |
-
"
|
| 9 |
-
"
|
| 10 |
-
"
|
| 11 |
-
"
|
| 12 |
-
"
|
| 13 |
-
"classifier_pooling": "cls",
|
| 14 |
-
"cls_token_id": 6,
|
| 15 |
-
"decoder_bias": true,
|
| 16 |
-
"deterministic_flash_attn": false,
|
| 17 |
-
"embedding_dropout": 0.0,
|
| 18 |
"eos_token_id": 2,
|
| 19 |
-
"
|
| 20 |
-
"global_rope_theta": 160000.0,
|
| 21 |
-
"gradient_checkpointing": false,
|
| 22 |
-
"hidden_activation": "gelu",
|
| 23 |
"hidden_dropout_prob": 0.2,
|
| 24 |
-
"hidden_size":
|
| 25 |
"id2label": {
|
| 26 |
"0": "LABEL_0",
|
| 27 |
"1": "LABEL_1",
|
|
@@ -29,9 +21,8 @@
|
|
| 29 |
"3": "LABEL_3",
|
| 30 |
"4": "LABEL_4"
|
| 31 |
},
|
| 32 |
-
"initializer_cutoff_factor": 2.0,
|
| 33 |
"initializer_range": 0.02,
|
| 34 |
-
"intermediate_size":
|
| 35 |
"label2id": {
|
| 36 |
"LABEL_0": 0,
|
| 37 |
"LABEL_1": 1,
|
|
@@ -40,25 +31,17 @@
|
|
| 40 |
"LABEL_4": 4
|
| 41 |
},
|
| 42 |
"layer_norm_eps": 1e-05,
|
| 43 |
-
"
|
| 44 |
-
"
|
| 45 |
-
"
|
| 46 |
-
"
|
| 47 |
-
"
|
| 48 |
-
"
|
| 49 |
-
"norm_bias": false,
|
| 50 |
-
"norm_eps": 1e-05,
|
| 51 |
-
"num_attention_heads": 8,
|
| 52 |
-
"num_hidden_layers": 19,
|
| 53 |
-
"pad_token_id": 3,
|
| 54 |
-
"position_embedding_type": "rope",
|
| 55 |
"problem_type": "single_label_classification",
|
| 56 |
-
"reference_compile": false,
|
| 57 |
-
"repad_logits_with_grad": false,
|
| 58 |
-
"sep_token_id": 4,
|
| 59 |
-
"sparse_pred_ignore_index": -100,
|
| 60 |
-
"sparse_prediction": false,
|
| 61 |
"torch_dtype": "float32",
|
| 62 |
-
"transformers_version": "4.48.
|
| 63 |
-
"
|
|
|
|
|
|
|
|
|
|
| 64 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "studio-ousia/luke-japanese-large-lite",
|
| 3 |
"architectures": [
|
| 4 |
+
"LukeForSequenceClassification"
|
| 5 |
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.2,
|
| 7 |
+
"bert_model_name": "models/luke-japanese-large/hf_xlm_roberta",
|
| 8 |
+
"bos_token_id": 0,
|
| 9 |
+
"classifier_dropout": null,
|
| 10 |
+
"cls_entity_prediction": false,
|
| 11 |
+
"entity_emb_size": 256,
|
| 12 |
+
"entity_vocab_size": 4,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
"eos_token_id": 2,
|
| 14 |
+
"hidden_act": "gelu",
|
|
|
|
|
|
|
|
|
|
| 15 |
"hidden_dropout_prob": 0.2,
|
| 16 |
+
"hidden_size": 1024,
|
| 17 |
"id2label": {
|
| 18 |
"0": "LABEL_0",
|
| 19 |
"1": "LABEL_1",
|
|
|
|
| 21 |
"3": "LABEL_3",
|
| 22 |
"4": "LABEL_4"
|
| 23 |
},
|
|
|
|
| 24 |
"initializer_range": 0.02,
|
| 25 |
+
"intermediate_size": 4096,
|
| 26 |
"label2id": {
|
| 27 |
"LABEL_0": 0,
|
| 28 |
"LABEL_1": 1,
|
|
|
|
| 31 |
"LABEL_4": 4
|
| 32 |
},
|
| 33 |
"layer_norm_eps": 1e-05,
|
| 34 |
+
"max_position_embeddings": 514,
|
| 35 |
+
"model_type": "luke",
|
| 36 |
+
"num_attention_heads": 16,
|
| 37 |
+
"num_hidden_layers": 24,
|
| 38 |
+
"pad_token_id": 1,
|
| 39 |
+
"position_embedding_type": "absolute",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
"problem_type": "single_label_classification",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
"torch_dtype": "float32",
|
| 42 |
+
"transformers_version": "4.48.3",
|
| 43 |
+
"type_vocab_size": 1,
|
| 44 |
+
"use_cache": true,
|
| 45 |
+
"use_entity_aware_attention": true,
|
| 46 |
+
"vocab_size": 32772
|
| 47 |
}
|
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:d07776bbc41d1b0afc0c4fceb6dd9401eb42d5323ec71911f24775f897634c19
|
| 3 |
+
size 1655329220
|