Token Classification
Transformers
PyTorch
TensorBoard
bert
Generated from Trainer
Eval Results (legacy)
Instructions to use cfilt/HiNER-collapsed-muril-base-cased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cfilt/HiNER-collapsed-muril-base-cased with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="cfilt/HiNER-collapsed-muril-base-cased")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("cfilt/HiNER-collapsed-muril-base-cased") model = AutoModelForTokenClassification.from_pretrained("cfilt/HiNER-collapsed-muril-base-cased", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
5a3ff8c
1
Parent(s): 04bfa15
End of training
Browse files- .gitignore +1 -0
- GOAT +1 -0
- config.json +44 -0
- dev_predictions.txt +0 -0
- dev_results.txt +7 -0
- pytorch_model.bin +3 -0
- runs/Apr29_13-41-57_cccxc514/events.out.tfevents.1651254951.cccxc514.3173784.0 +3 -0
- test_predictions.txt +0 -0
- test_results.txt +7 -0
- training_args.bin +3 -0
.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
checkpoint-*/
|
GOAT
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
Subproject commit 04bfa1516ef460402045d4b83a8fd3078d673dcf
|
config.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "../cfilt_collpased-muril-base-cased_ner_16_5e-05_10_1/checkpoint-2500/",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForTokenClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"classifier_dropout": null,
|
| 8 |
+
"embedding_size": 768,
|
| 9 |
+
"hidden_act": "gelu",
|
| 10 |
+
"hidden_dropout_prob": 0.1,
|
| 11 |
+
"hidden_size": 768,
|
| 12 |
+
"id2label": {
|
| 13 |
+
"0": "B-LOCATION",
|
| 14 |
+
"1": "B-ORGANIZATION",
|
| 15 |
+
"2": "B-PERSON",
|
| 16 |
+
"3": "I-LOCATION",
|
| 17 |
+
"4": "I-ORGANIZATION",
|
| 18 |
+
"5": "I-PERSON",
|
| 19 |
+
"6": "O"
|
| 20 |
+
},
|
| 21 |
+
"initializer_range": 0.02,
|
| 22 |
+
"intermediate_size": 3072,
|
| 23 |
+
"label2id": {
|
| 24 |
+
"B-LOCATION": 0,
|
| 25 |
+
"B-ORGANIZATION": 1,
|
| 26 |
+
"B-PERSON": 2,
|
| 27 |
+
"I-LOCATION": 3,
|
| 28 |
+
"I-ORGANIZATION": 4,
|
| 29 |
+
"I-PERSON": 5,
|
| 30 |
+
"O": 6
|
| 31 |
+
},
|
| 32 |
+
"layer_norm_eps": 1e-12,
|
| 33 |
+
"max_position_embeddings": 512,
|
| 34 |
+
"model_type": "bert",
|
| 35 |
+
"num_attention_heads": 12,
|
| 36 |
+
"num_hidden_layers": 12,
|
| 37 |
+
"pad_token_id": 0,
|
| 38 |
+
"position_embedding_type": "absolute",
|
| 39 |
+
"torch_dtype": "float32",
|
| 40 |
+
"transformers_version": "4.14.0",
|
| 41 |
+
"type_vocab_size": 2,
|
| 42 |
+
"use_cache": true,
|
| 43 |
+
"vocab_size": 197285
|
| 44 |
+
}
|
dev_predictions.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
dev_results.txt
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
test_loss = 0.07428672164678574
|
| 2 |
+
test_precision = 0.9049101352603298
|
| 3 |
+
test_recall = 0.9209156735555891
|
| 4 |
+
test_f1 = 0.9128427506027924
|
| 5 |
+
test_runtime = 126.6688
|
| 6 |
+
test_samples_per_second = 86.17
|
| 7 |
+
test_steps_per_second = 10.776
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7312bc248e787cb1ed478408714b9a5f859effce541d91a91476fd5ef14e5676
|
| 3 |
+
size 947967473
|
runs/Apr29_13-41-57_cccxc514/events.out.tfevents.1651254951.cccxc514.3173784.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3132b97776b4bd74561387c11f87d321abf3292747a77d489d8c36375b1445a4
|
| 3 |
+
size 389
|
test_predictions.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
test_results.txt
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
test_loss = 0.07429463416337967
|
| 2 |
+
test_precision = 0.9024971371578442
|
| 3 |
+
test_recall = 0.9207793920892456
|
| 4 |
+
test_f1 = 0.9115466052290386
|
| 5 |
+
test_runtime = 249.8536
|
| 6 |
+
test_samples_per_second = 87.371
|
| 7 |
+
test_steps_per_second = 10.922
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:366c6f4712ddb2d140450a174cbd0b5c3d9e09484208803769d9bb5336e78420
|
| 3 |
+
size 3055
|