Token Classification
Transformers
Safetensors
English
Spanish
xlm-roberta
digital-humanities
art-history
exhibition-catalogues
complexhibit
Instructions to use Complexhibit-Project/complexhibit-nivel1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Complexhibit-Project/complexhibit-nivel1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Complexhibit-Project/complexhibit-nivel1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Complexhibit-Project/complexhibit-nivel1") model = AutoModelForTokenClassification.from_pretrained("Complexhibit-Project/complexhibit-nivel1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
v1.1: segmentación del texto sin usar la anotación, igual en entrenamiento, evaluación y uso real
Browse files- config.json +1 -1
- metricas.json +86 -13
- model.safetensors +1 -1
- tokenizer_config.json +1 -5
config.json
CHANGED
|
@@ -37,7 +37,7 @@
|
|
| 37 |
"pad_token_id": 1,
|
| 38 |
"position_embedding_type": "absolute",
|
| 39 |
"tie_word_embeddings": true,
|
| 40 |
-
"transformers_version": "5.
|
| 41 |
"type_vocab_size": 1,
|
| 42 |
"use_cache": false,
|
| 43 |
"vocab_size": 250002
|
|
|
|
| 37 |
"pad_token_id": 1,
|
| 38 |
"position_embedding_type": "absolute",
|
| 39 |
"tie_word_embeddings": true,
|
| 40 |
+
"transformers_version": "5.23.0",
|
| 41 |
"type_vocab_size": 1,
|
| 42 |
"use_cache": false,
|
| 43 |
"vocab_size": 250002
|
metricas.json
CHANGED
|
@@ -1,17 +1,90 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
"
|
| 4 |
-
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
},
|
| 7 |
-
"
|
| 8 |
-
"
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
}
|
| 17 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"test": {
|
| 3 |
+
"ITEM": {
|
| 4 |
+
"n_oro": 254,
|
| 5 |
+
"n_pred": 371,
|
| 6 |
+
"exacta": {
|
| 7 |
+
"precision": 0.515,
|
| 8 |
+
"recall": 0.752,
|
| 9 |
+
"f1": 0.611
|
| 10 |
+
},
|
| 11 |
+
"solapamiento_50": {
|
| 12 |
+
"precision": 0.601,
|
| 13 |
+
"recall": 0.878,
|
| 14 |
+
"f1": 0.714
|
| 15 |
+
}
|
| 16 |
+
},
|
| 17 |
+
"EXHIB": {
|
| 18 |
+
"n_oro": 28,
|
| 19 |
+
"n_pred": 71,
|
| 20 |
+
"exacta": {
|
| 21 |
+
"precision": 0.07,
|
| 22 |
+
"recall": 0.179,
|
| 23 |
+
"f1": 0.101
|
| 24 |
+
},
|
| 25 |
+
"solapamiento_50": {
|
| 26 |
+
"precision": 0.211,
|
| 27 |
+
"recall": 0.536,
|
| 28 |
+
"f1": 0.303
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"total": {
|
| 32 |
+
"n_oro": 282,
|
| 33 |
+
"n_pred": 442,
|
| 34 |
+
"exacta": {
|
| 35 |
+
"precision": 0.443,
|
| 36 |
+
"recall": 0.695,
|
| 37 |
+
"f1": 0.541
|
| 38 |
+
},
|
| 39 |
+
"solapamiento_50": {
|
| 40 |
+
"precision": 0.538,
|
| 41 |
+
"recall": 0.844,
|
| 42 |
+
"f1": 0.657
|
| 43 |
+
}
|
| 44 |
+
}
|
| 45 |
},
|
| 46 |
+
"validation": {
|
| 47 |
+
"ITEM": {
|
| 48 |
+
"n_oro": 234,
|
| 49 |
+
"n_pred": 255,
|
| 50 |
+
"exacta": {
|
| 51 |
+
"precision": 0.702,
|
| 52 |
+
"recall": 0.765,
|
| 53 |
+
"f1": 0.732
|
| 54 |
+
},
|
| 55 |
+
"solapamiento_50": {
|
| 56 |
+
"precision": 0.898,
|
| 57 |
+
"recall": 0.979,
|
| 58 |
+
"f1": 0.937
|
| 59 |
+
}
|
| 60 |
+
},
|
| 61 |
+
"EXHIB": {
|
| 62 |
+
"n_oro": 77,
|
| 63 |
+
"n_pred": 77,
|
| 64 |
+
"exacta": {
|
| 65 |
+
"precision": 0.143,
|
| 66 |
+
"recall": 0.143,
|
| 67 |
+
"f1": 0.143
|
| 68 |
+
},
|
| 69 |
+
"solapamiento_50": {
|
| 70 |
+
"precision": 0.286,
|
| 71 |
+
"recall": 0.286,
|
| 72 |
+
"f1": 0.286
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"total": {
|
| 76 |
+
"n_oro": 311,
|
| 77 |
+
"n_pred": 332,
|
| 78 |
+
"exacta": {
|
| 79 |
+
"precision": 0.572,
|
| 80 |
+
"recall": 0.611,
|
| 81 |
+
"f1": 0.591
|
| 82 |
+
},
|
| 83 |
+
"solapamiento_50": {
|
| 84 |
+
"precision": 0.756,
|
| 85 |
+
"recall": 0.807,
|
| 86 |
+
"f1": 0.781
|
| 87 |
+
}
|
| 88 |
+
}
|
| 89 |
}
|
| 90 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1117739810
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:636af3d648907c353a002a6862eacf13e9ff115959b98597dfc93617e96dc0ed
|
| 3 |
size 1117739810
|
tokenizer_config.json
CHANGED
|
@@ -4,16 +4,12 @@
|
|
| 4 |
"bos_token": "<s>",
|
| 5 |
"cls_token": "<s>",
|
| 6 |
"eos_token": "</s>",
|
| 7 |
-
"is_local":
|
| 8 |
"local_files_only": false,
|
| 9 |
"mask_token": "<mask>",
|
| 10 |
-
"max_length": 512,
|
| 11 |
"model_max_length": 512,
|
| 12 |
"pad_token": "<pad>",
|
| 13 |
"sep_token": "</s>",
|
| 14 |
-
"stride": 0,
|
| 15 |
"tokenizer_class": "XLMRobertaTokenizer",
|
| 16 |
-
"truncation_side": "right",
|
| 17 |
-
"truncation_strategy": "longest_first",
|
| 18 |
"unk_token": "<unk>"
|
| 19 |
}
|
|
|
|
| 4 |
"bos_token": "<s>",
|
| 5 |
"cls_token": "<s>",
|
| 6 |
"eos_token": "</s>",
|
| 7 |
+
"is_local": false,
|
| 8 |
"local_files_only": false,
|
| 9 |
"mask_token": "<mask>",
|
|
|
|
| 10 |
"model_max_length": 512,
|
| 11 |
"pad_token": "<pad>",
|
| 12 |
"sep_token": "</s>",
|
|
|
|
| 13 |
"tokenizer_class": "XLMRobertaTokenizer",
|
|
|
|
|
|
|
| 14 |
"unk_token": "<unk>"
|
| 15 |
}
|