Duplicate from urchade/gliner_large_bio-v0.1
Browse filesCo-authored-by: Urchade Zaratiana <[email protected]>
- .gitattributes +35 -0
- README.md +16 -0
- gliner_config.json +22 -0
- pytorch_model.bin +3 -0
.gitattributes
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
pipeline_tag: token-classification
|
4 |
+
tags:
|
5 |
+
- biology
|
6 |
+
- medical
|
7 |
+
language:
|
8 |
+
- en
|
9 |
+
library_name: gliner
|
10 |
+
datasets:
|
11 |
+
- urchade/pubmed-ner-mistral-v0.1
|
12 |
+
---
|
13 |
+
|
14 |
+
This version is trained with "urchade/pubmed-ner-mistral-v0.1" which is commercially permissible.
|
15 |
+
|
16 |
+
This version can work for many domains, but better than other GLiNER models in the biomedical domain. Use with threshold=0.3 for better performance.
|
gliner_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"size_sup": -1,
|
3 |
+
"max_types": 25,
|
4 |
+
"shuffle_types": true,
|
5 |
+
"random_drop": true,
|
6 |
+
"max_neg_type_ratio": 1,
|
7 |
+
"max_len": 300,
|
8 |
+
"lr_encoder": "1e-5",
|
9 |
+
"lr_others": "5e-5",
|
10 |
+
"num_steps": 30000,
|
11 |
+
"warmup_ratio": 3000,
|
12 |
+
"train_batch_size": 8,
|
13 |
+
"eval_every": 5000,
|
14 |
+
"max_width": 12,
|
15 |
+
"model_name": "microsoft/deberta-v3-large",
|
16 |
+
"fine_tune": true,
|
17 |
+
"subtoken_pooling": "first",
|
18 |
+
"hidden_size": 512,
|
19 |
+
"span_mode": "markerV0",
|
20 |
+
"dropout": 0.4,
|
21 |
+
"name": "correct"
|
22 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4d02a80b241b8ec990e754ab7c6efaaf05c66dc4ffd18f5cf3badb5e262601f4
|
3 |
+
size 1782044554
|