Instructions to use urisoo/distilbert-base-uncased-tokenclassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use urisoo/distilbert-base-uncased-tokenclassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="urisoo/distilbert-base-uncased-tokenclassification")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("urisoo/distilbert-base-uncased-tokenclassification") model = AutoModelForTokenClassification.from_pretrained("urisoo/distilbert-base-uncased-tokenclassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse files- adapter_config.json +16 -8
- adapter_model.safetensors +2 -2
- config.json +20 -24
- model.safetensors +2 -2
- runs/Jan17_16-27-12_pjt20230003-aer2024010004-dp-5d9c8bc8b6-8b5n8/events.out.tfevents.1705476433.pjt20230003-aer2024010004-dp-5d9c8bc8b6-8b5n8.12848.1 +2 -2
- runs/Jan17_16-41-18_pjt20230003-aer2024010004-dp-5d9c8bc8b6-8b5n8/events.out.tfevents.1705477278.pjt20230003-aer2024010004-dp-5d9c8bc8b6-8b5n8.13081.0 +3 -0
- runs/Jan17_16-42-32_pjt20230003-aer2024010004-dp-5d9c8bc8b6-8b5n8/events.out.tfevents.1705477353.pjt20230003-aer2024010004-dp-5d9c8bc8b6-8b5n8.13081.1 +3 -0
- training_args.bin +1 -1
adapter_config.json
CHANGED
|
@@ -1,19 +1,27 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"auto_mapping": null,
|
| 3 |
"base_model_name_or_path": "distilbert-base-uncased",
|
|
|
|
| 4 |
"fan_in_fan_out": false,
|
| 5 |
-
"feedforward_modules": [
|
| 6 |
-
"out_lin"
|
| 7 |
-
],
|
| 8 |
"inference_mode": true,
|
| 9 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
"modules_to_save": null,
|
| 11 |
-
"peft_type": "
|
|
|
|
|
|
|
| 12 |
"revision": null,
|
| 13 |
"target_modules": [
|
| 14 |
"v_lin",
|
| 15 |
-
"q_lin"
|
| 16 |
-
"out_lin"
|
| 17 |
],
|
| 18 |
-
"task_type": "TOKEN_CLS"
|
|
|
|
| 19 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
"auto_mapping": null,
|
| 4 |
"base_model_name_or_path": "distilbert-base-uncased",
|
| 5 |
+
"bias": "all",
|
| 6 |
"fan_in_fan_out": false,
|
|
|
|
|
|
|
|
|
|
| 7 |
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"layers_pattern": null,
|
| 10 |
+
"layers_to_transform": null,
|
| 11 |
+
"loftq_config": {},
|
| 12 |
+
"lora_alpha": 16,
|
| 13 |
+
"lora_dropout": 0.1,
|
| 14 |
+
"megatron_config": null,
|
| 15 |
+
"megatron_core": "megatron.core",
|
| 16 |
"modules_to_save": null,
|
| 17 |
+
"peft_type": "LORA",
|
| 18 |
+
"r": 16,
|
| 19 |
+
"rank_pattern": {},
|
| 20 |
"revision": null,
|
| 21 |
"target_modules": [
|
| 22 |
"v_lin",
|
| 23 |
+
"q_lin"
|
|
|
|
| 24 |
],
|
| 25 |
+
"task_type": "TOKEN_CLS",
|
| 26 |
+
"use_rslora": false
|
| 27 |
}
|
adapter_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:d68dad84631996c22b5e2b809c7ddeb8bde801d89e4140f7ee71ef42512dc2a9
|
| 3 |
+
size 1429836
|
config.json
CHANGED
|
@@ -10,33 +10,29 @@
|
|
| 10 |
"hidden_dim": 3072,
|
| 11 |
"id2label": {
|
| 12 |
"0": "O",
|
| 13 |
-
"1": "B-
|
| 14 |
-
"2": "I-
|
| 15 |
-
"3": "B-
|
| 16 |
-
"4": "I-
|
| 17 |
-
"5": "B-
|
| 18 |
-
"6": "I-
|
| 19 |
-
"7": "B-
|
| 20 |
-
"8": "I-
|
| 21 |
-
"9": "B-
|
| 22 |
-
"10": "I-
|
| 23 |
-
"11": "B-product",
|
| 24 |
-
"12": "I-product"
|
| 25 |
},
|
| 26 |
"initializer_range": 0.02,
|
| 27 |
"label2id": {
|
| 28 |
-
"B-
|
| 29 |
-
"B-
|
| 30 |
-
"B-
|
| 31 |
-
"B-
|
| 32 |
-
"B-
|
| 33 |
-
"
|
| 34 |
-
"I-
|
| 35 |
-
"I-
|
| 36 |
-
"I-
|
| 37 |
-
"I-
|
| 38 |
-
"I-person": 10,
|
| 39 |
-
"I-product": 12,
|
| 40 |
"O": 0
|
| 41 |
},
|
| 42 |
"max_position_embeddings": 512,
|
|
|
|
| 10 |
"hidden_dim": 3072,
|
| 11 |
"id2label": {
|
| 12 |
"0": "O",
|
| 13 |
+
"1": "B-DNA",
|
| 14 |
+
"2": "I-DNA",
|
| 15 |
+
"3": "B-protein",
|
| 16 |
+
"4": "I-protein",
|
| 17 |
+
"5": "B-cell_type",
|
| 18 |
+
"6": "I-cell_type",
|
| 19 |
+
"7": "B-cell_line",
|
| 20 |
+
"8": "I-cell_line",
|
| 21 |
+
"9": "B-RNA",
|
| 22 |
+
"10": "I-RNA"
|
|
|
|
|
|
|
| 23 |
},
|
| 24 |
"initializer_range": 0.02,
|
| 25 |
"label2id": {
|
| 26 |
+
"B-DNA": 1,
|
| 27 |
+
"B-RNA": 9,
|
| 28 |
+
"B-cell_line": 7,
|
| 29 |
+
"B-cell_type": 5,
|
| 30 |
+
"B-protein": 3,
|
| 31 |
+
"I-DNA": 2,
|
| 32 |
+
"I-RNA": 10,
|
| 33 |
+
"I-cell_line": 8,
|
| 34 |
+
"I-cell_type": 6,
|
| 35 |
+
"I-protein": 4,
|
|
|
|
|
|
|
| 36 |
"O": 0
|
| 37 |
},
|
| 38 |
"max_position_embeddings": 512,
|
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:b25826ff9aa3a2c447768a1d38948425de24ef32e2af126cd060f0a9708c75aa
|
| 3 |
+
size 265497700
|
runs/Jan17_16-27-12_pjt20230003-aer2024010004-dp-5d9c8bc8b6-8b5n8/events.out.tfevents.1705476433.pjt20230003-aer2024010004-dp-5d9c8bc8b6-8b5n8.12848.1
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:31abee0d377e735a5bb45d2276721e1c0587b04770956f01a981c83e00c201d7
|
| 3 |
+
size 10616
|
runs/Jan17_16-41-18_pjt20230003-aer2024010004-dp-5d9c8bc8b6-8b5n8/events.out.tfevents.1705477278.pjt20230003-aer2024010004-dp-5d9c8bc8b6-8b5n8.13081.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b71100fbfca1a60d3967a423f75fda482f65307c483bdf0be15e2f71241ffc6
|
| 3 |
+
size 5563
|
runs/Jan17_16-42-32_pjt20230003-aer2024010004-dp-5d9c8bc8b6-8b5n8/events.out.tfevents.1705477353.pjt20230003-aer2024010004-dp-5d9c8bc8b6-8b5n8.13081.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb7c8e2ca3427ccca10531a13a535f6fe7dd6e3ce31fac19f09a60a3606a5007
|
| 3 |
+
size 5563
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4347
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:268a6dae77915c8b5c98a54157d56a8710ea0039946c38b01473f002de0f72da
|
| 3 |
size 4347
|