Token Classification
Transformers.js
ONNX
English
bert
slot-filling
ner
quantized
Eval Results (legacy)
Instructions to use jottypro/notes-slots with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use jottypro/notes-slots with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('token-classification', 'jottypro/notes-slots');
Upload folder using huggingface_hub
Browse files- config.json +3 -2
- manifest.json +36 -43
- onnx/model_quantized.onnx +2 -2
- special_tokens_map.json +35 -5
- tokenizer.json +0 -0
- tokenizer_config.json +4 -4
config.json
CHANGED
|
@@ -5,6 +5,7 @@
|
|
| 5 |
"attention_probs_dropout_prob": 0.1,
|
| 6 |
"classifier_dropout": null,
|
| 7 |
"dtype": "float32",
|
|
|
|
| 8 |
"gradient_checkpointing": false,
|
| 9 |
"hidden_act": "gelu",
|
| 10 |
"hidden_dropout_prob": 0.1,
|
|
@@ -34,7 +35,7 @@
|
|
| 34 |
"O": 0
|
| 35 |
},
|
| 36 |
"layer_norm_eps": 1e-12,
|
| 37 |
-
"max_position_embeddings":
|
| 38 |
"model_type": "bert",
|
| 39 |
"num_attention_heads": 8,
|
| 40 |
"num_hidden_layers": 6,
|
|
@@ -43,5 +44,5 @@
|
|
| 43 |
"transformers_version": "4.57.6",
|
| 44 |
"type_vocab_size": 2,
|
| 45 |
"use_cache": true,
|
| 46 |
-
"vocab_size":
|
| 47 |
}
|
|
|
|
| 5 |
"attention_probs_dropout_prob": 0.1,
|
| 6 |
"classifier_dropout": null,
|
| 7 |
"dtype": "float32",
|
| 8 |
+
"embedding_rank": 78,
|
| 9 |
"gradient_checkpointing": false,
|
| 10 |
"hidden_act": "gelu",
|
| 11 |
"hidden_dropout_prob": 0.1,
|
|
|
|
| 35 |
"O": 0
|
| 36 |
},
|
| 37 |
"layer_norm_eps": 1e-12,
|
| 38 |
+
"max_position_embeddings": 128,
|
| 39 |
"model_type": "bert",
|
| 40 |
"num_attention_heads": 8,
|
| 41 |
"num_hidden_layers": 6,
|
|
|
|
| 44 |
"transformers_version": "4.57.6",
|
| 45 |
"type_vocab_size": 2,
|
| 46 |
"use_cache": true,
|
| 47 |
+
"vocab_size": 30522
|
| 48 |
}
|
manifest.json
CHANGED
|
@@ -1,41 +1,34 @@
|
|
| 1 |
{
|
| 2 |
"base_model": "microsoft/xtremedistil-l6-h256-uncased",
|
| 3 |
-
"bundle_size_mb": 7.
|
| 4 |
-
"created_at": "2026-
|
| 5 |
"files": {
|
| 6 |
"README.md": "ede592ed1d31ed2ac4bb9e4dd78247026dbe9ac6691f16edef06ccb5e9c68e85",
|
| 7 |
-
"config.json": "
|
| 8 |
-
"onnx/model_quantized.onnx": "
|
| 9 |
-
"special_tokens_map.json": "
|
| 10 |
-
"tokenizer.json": "
|
| 11 |
-
"tokenizer_config.json": "
|
| 12 |
-
"transitions.json": "9dd9aa03bfc8f48b21a7a721575222c160be335da3bacd6a2ffe3aa84559f9d4"
|
| 13 |
-
"vocab.txt": "4acb268433bb4d9ee9e7721bc6d91251604d0bee0571a4d776024844528ce5da"
|
| 14 |
},
|
| 15 |
-
"model_version": "0.
|
| 16 |
"quantization": {
|
| 17 |
-
"
|
| 18 |
-
|
| 19 |
-
"
|
| 20 |
-
"
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
"
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
},
|
| 26 |
"quantized_source": "model_quantized.onnx",
|
| 27 |
-
"quantized_test_metrics":
|
| 28 |
-
"DATETIME_f1": 0.7925270403146509,
|
| 29 |
-
"PARTICIPANT_f1": 0.9330855018587361,
|
| 30 |
-
"PRIORITY_f1": 0.673469387755102,
|
| 31 |
-
"RECURRENCE_f1": 0.8650793650793651,
|
| 32 |
-
"accuracy": 0.9443720930232559,
|
| 33 |
-
"f1": 0.8277583624563155,
|
| 34 |
-
"n_examples": 559,
|
| 35 |
-
"precision": 0.7925430210325047,
|
| 36 |
-
"quantization_method": "dynamic",
|
| 37 |
-
"recall": 0.8662486938349008
|
| 38 |
-
},
|
| 39 |
"runtime": {
|
| 40 |
"device": "wasm",
|
| 41 |
"dtype": "q8",
|
|
@@ -46,18 +39,18 @@
|
|
| 46 |
"test_metrics": {
|
| 47 |
"base_model": "microsoft/xtremedistil-l6-h256-uncased",
|
| 48 |
"epoch": 10.0,
|
| 49 |
-
"seed":
|
| 50 |
-
"test_DATETIME_f1": 0.
|
| 51 |
-
"test_PARTICIPANT_f1": 0.
|
| 52 |
-
"test_PRIORITY_f1": 0.
|
| 53 |
-
"test_RECURRENCE_f1": 0.
|
| 54 |
-
"test_accuracy": 0.
|
| 55 |
-
"test_f1": 0.
|
| 56 |
-
"test_loss": 0.
|
| 57 |
-
"test_precision": 0.
|
| 58 |
-
"test_recall": 0.
|
| 59 |
-
"test_runtime": 0.
|
| 60 |
-
"test_samples_per_second":
|
| 61 |
-
"test_steps_per_second":
|
| 62 |
}
|
| 63 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"base_model": "microsoft/xtremedistil-l6-h256-uncased",
|
| 3 |
+
"bundle_size_mb": 7.901,
|
| 4 |
+
"created_at": "2026-10-16T12:11:23.517381+00:00",
|
| 5 |
"files": {
|
| 6 |
"README.md": "ede592ed1d31ed2ac4bb9e4dd78247026dbe9ac6691f16edef06ccb5e9c68e85",
|
| 7 |
+
"config.json": "cbab2800829f5065f79cf9bb5bf126d6bc6800c5f04b49e19ea2b7f1eeedd994",
|
| 8 |
+
"onnx/model_quantized.onnx": "c92ba1590c3b370c112b8356ff2695809784b979b8fb68a7fe8ef79b2f45db45",
|
| 9 |
+
"special_tokens_map.json": "5d5b662e421ea9fac075174bb0688ee0d9431699900b90662acd44b2a350503a",
|
| 10 |
+
"tokenizer.json": "79ea220416a57ca8acdf069d71875d5d2ddadef66021aeb6c120a7c546c04344",
|
| 11 |
+
"tokenizer_config.json": "e711904cac23112776b678356ccf702cf934babaa01125f698ac43bf9ad38e73",
|
| 12 |
+
"transitions.json": "9dd9aa03bfc8f48b21a7a721575222c160be335da3bacd6a2ffe3aa84559f9d4"
|
|
|
|
| 13 |
},
|
| 14 |
+
"model_version": "0.3.0-f@3",
|
| 15 |
"quantization": {
|
| 16 |
+
"gather": {
|
| 17 |
+
"method": "dynamic",
|
| 18 |
+
"per_channel": true,
|
| 19 |
+
"reduce_range": true,
|
| 20 |
+
"weight_type": "QInt8"
|
| 21 |
+
},
|
| 22 |
+
"matmul": {
|
| 23 |
+
"bits": 8,
|
| 24 |
+
"block_size": 128,
|
| 25 |
+
"op": "MatMulNBits",
|
| 26 |
+
"symmetric": true
|
| 27 |
+
},
|
| 28 |
+
"method": "weight_only_int8"
|
| 29 |
},
|
| 30 |
"quantized_source": "model_quantized.onnx",
|
| 31 |
+
"quantized_test_metrics": null,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
"runtime": {
|
| 33 |
"device": "wasm",
|
| 34 |
"dtype": "q8",
|
|
|
|
| 39 |
"test_metrics": {
|
| 40 |
"base_model": "microsoft/xtremedistil-l6-h256-uncased",
|
| 41 |
"epoch": 10.0,
|
| 42 |
+
"seed": 3,
|
| 43 |
+
"test_DATETIME_f1": 0.797427652733119,
|
| 44 |
+
"test_PARTICIPANT_f1": 0.9360146252285192,
|
| 45 |
+
"test_PRIORITY_f1": 0.7567567567567567,
|
| 46 |
+
"test_RECURRENCE_f1": 0.8320610687022901,
|
| 47 |
+
"test_accuracy": 0.9548474576271186,
|
| 48 |
+
"test_f1": 0.8375713544369486,
|
| 49 |
+
"test_loss": 0.43450918793678284,
|
| 50 |
+
"test_precision": 0.8217922606924644,
|
| 51 |
+
"test_recall": 0.8539682539682539,
|
| 52 |
+
"test_runtime": 0.3133,
|
| 53 |
+
"test_samples_per_second": 2195.663,
|
| 54 |
+
"test_steps_per_second": 35.105
|
| 55 |
}
|
| 56 |
}
|
onnx/model_quantized.onnx
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:c92ba1590c3b370c112b8356ff2695809784b979b8fb68a7fe8ef79b2f45db45
|
| 3 |
+
size 7561219
|
special_tokens_map.json
CHANGED
|
@@ -1,7 +1,37 @@
|
|
| 1 |
{
|
| 2 |
-
"cls_token":
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"cls_token": {
|
| 3 |
+
"content": "[CLS]",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"mask_token": {
|
| 10 |
+
"content": "[MASK]",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": {
|
| 17 |
+
"content": "[PAD]",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
},
|
| 23 |
+
"sep_token": {
|
| 24 |
+
"content": "[SEP]",
|
| 25 |
+
"lstrip": false,
|
| 26 |
+
"normalized": false,
|
| 27 |
+
"rstrip": false,
|
| 28 |
+
"single_word": false
|
| 29 |
+
},
|
| 30 |
+
"unk_token": {
|
| 31 |
+
"content": "[UNK]",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": false,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false
|
| 36 |
+
}
|
| 37 |
}
|
tokenizer.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
| 8 |
"single_word": false,
|
| 9 |
"special": true
|
| 10 |
},
|
| 11 |
-
"
|
| 12 |
"content": "[UNK]",
|
| 13 |
"lstrip": false,
|
| 14 |
"normalized": false,
|
|
@@ -16,7 +16,7 @@
|
|
| 16 |
"single_word": false,
|
| 17 |
"special": true
|
| 18 |
},
|
| 19 |
-
"
|
| 20 |
"content": "[CLS]",
|
| 21 |
"lstrip": false,
|
| 22 |
"normalized": false,
|
|
@@ -24,7 +24,7 @@
|
|
| 24 |
"single_word": false,
|
| 25 |
"special": true
|
| 26 |
},
|
| 27 |
-
"
|
| 28 |
"content": "[SEP]",
|
| 29 |
"lstrip": false,
|
| 30 |
"normalized": false,
|
|
@@ -32,7 +32,7 @@
|
|
| 32 |
"single_word": false,
|
| 33 |
"special": true
|
| 34 |
},
|
| 35 |
-
"
|
| 36 |
"content": "[MASK]",
|
| 37 |
"lstrip": false,
|
| 38 |
"normalized": false,
|
|
|
|
| 8 |
"single_word": false,
|
| 9 |
"special": true
|
| 10 |
},
|
| 11 |
+
"100": {
|
| 12 |
"content": "[UNK]",
|
| 13 |
"lstrip": false,
|
| 14 |
"normalized": false,
|
|
|
|
| 16 |
"single_word": false,
|
| 17 |
"special": true
|
| 18 |
},
|
| 19 |
+
"101": {
|
| 20 |
"content": "[CLS]",
|
| 21 |
"lstrip": false,
|
| 22 |
"normalized": false,
|
|
|
|
| 24 |
"single_word": false,
|
| 25 |
"special": true
|
| 26 |
},
|
| 27 |
+
"102": {
|
| 28 |
"content": "[SEP]",
|
| 29 |
"lstrip": false,
|
| 30 |
"normalized": false,
|
|
|
|
| 32 |
"single_word": false,
|
| 33 |
"special": true
|
| 34 |
},
|
| 35 |
+
"103": {
|
| 36 |
"content": "[MASK]",
|
| 37 |
"lstrip": false,
|
| 38 |
"normalized": false,
|