Instructions to use CEIA-Ultimatum/ultimatum-ner-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CEIA-Ultimatum/ultimatum-ner-models with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("CEIA-Ultimatum/ultimatum-ner-models", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload model
Browse files- config.json +1 -1
- model.safetensors +1 -1
- tokenizer.json +16 -2
- tokenizer_config.json +1 -1
config.json
CHANGED
|
@@ -246,7 +246,7 @@
|
|
| 246 |
"marker_max_length": 128,
|
| 247 |
"max_next_context": null,
|
| 248 |
"max_prev_context": null,
|
| 249 |
-
"model_max_length":
|
| 250 |
"model_max_length_default": 512,
|
| 251 |
"model_type": "span-marker",
|
| 252 |
"span_marker_version": "1.8.1",
|
|
|
|
| 246 |
"marker_max_length": 128,
|
| 247 |
"max_next_context": null,
|
| 248 |
"max_prev_context": null,
|
| 249 |
+
"model_max_length": 384,
|
| 250 |
"model_max_length_default": 512,
|
| 251 |
"model_type": "span-marker",
|
| 252 |
"span_marker_version": "1.8.1",
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1337814132
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a8d5a07fc0047dc1e381379373d86dfb49ca4336ab998cdb9f4f0d46cb6e1ab
|
| 3 |
size 1337814132
|
tokenizer.json
CHANGED
|
@@ -1,7 +1,21 @@
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
-
"truncation":
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
"added_tokens": [
|
| 6 |
{
|
| 7 |
"id": 0,
|
|
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
+
"truncation": {
|
| 4 |
+
"direction": "Right",
|
| 5 |
+
"max_length": 384,
|
| 6 |
+
"strategy": "LongestFirst",
|
| 7 |
+
"stride": 0
|
| 8 |
+
},
|
| 9 |
+
"padding": {
|
| 10 |
+
"strategy": {
|
| 11 |
+
"Fixed": 384
|
| 12 |
+
},
|
| 13 |
+
"direction": "Right",
|
| 14 |
+
"pad_to_multiple_of": null,
|
| 15 |
+
"pad_id": 0,
|
| 16 |
+
"pad_type_id": 0,
|
| 17 |
+
"pad_token": "[PAD]"
|
| 18 |
+
},
|
| 19 |
"added_tokens": [
|
| 20 |
{
|
| 21 |
"id": 0,
|
tokenizer_config.json
CHANGED
|
@@ -65,7 +65,7 @@
|
|
| 65 |
"entity_max_length": 30,
|
| 66 |
"extra_special_tokens": {},
|
| 67 |
"mask_token": "[MASK]",
|
| 68 |
-
"model_max_length":
|
| 69 |
"never_split": null,
|
| 70 |
"pad_token": "[PAD]",
|
| 71 |
"sep_token": "[SEP]",
|
|
|
|
| 65 |
"entity_max_length": 30,
|
| 66 |
"extra_special_tokens": {},
|
| 67 |
"mask_token": "[MASK]",
|
| 68 |
+
"model_max_length": 384,
|
| 69 |
"never_split": null,
|
| 70 |
"pad_token": "[PAD]",
|
| 71 |
"sep_token": "[SEP]",
|