model documentation
Browse files
README.md
CHANGED
@@ -1,15 +1,179 @@
|
|
1 |
---
|
2 |
-
language:
|
3 |
license: apache-2.0
|
4 |
tags:
|
5 |
- token-classification
|
6 |
- NER
|
7 |
- Biomedical
|
8 |
- Genetics
|
|
|
9 |
datasets:
|
10 |
- JNLPBA
|
11 |
- BC2GM
|
12 |
---
|
13 |
-
BioBERT model fine-tuned in NER task with JNLPBA and BC2GM corpus for genetic class entities.
|
14 |
|
15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
language: en
|
3 |
license: apache-2.0
|
4 |
tags:
|
5 |
- token-classification
|
6 |
- NER
|
7 |
- Biomedical
|
8 |
- Genetics
|
9 |
+
|
10 |
datasets:
|
11 |
- JNLPBA
|
12 |
- BC2GM
|
13 |
---
|
|
|
14 |
|
15 |
+
|
16 |
+
# Model Card for biobert_genetic_ner
|
17 |
+
|
18 |
+
# Model Details
|
19 |
+
|
20 |
+
## Model Description
|
21 |
+
|
22 |
+
BioBERT model fine-tuned in NER task with JNLPBA and BC2GM corpus for genetic class entities.
|
23 |
+
This was fine-tuned in order to use it in a BioNER/BioNEN system which is available at [GitHub Repo](https://github.com/librairy/bio-ner)
|
24 |
+
|
25 |
+
- **Developed by:** librAIry
|
26 |
+
- **Shared by [Optional]:** Alvaro A
|
27 |
+
- **Model type:** Token Classification
|
28 |
+
- **Language(s) (NLP):** English
|
29 |
+
- **License:** Apache 2.0
|
30 |
+
- **Parent Model:** BERT
|
31 |
+
- **Resources for more information:**
|
32 |
+
- [GitHub Repo](https://github.com/librairy/bio-ner)
|
33 |
+
- [Associated Paper](https://oa.upm.es/67933/)
|
34 |
+
|
35 |
+
|
36 |
+
|
37 |
+
# Uses
|
38 |
+
|
39 |
+
|
40 |
+
## Direct Use
|
41 |
+
This model can be used for the task of token classification
|
42 |
+
|
43 |
+
## Downstream Use [Optional]
|
44 |
+
|
45 |
+
More information needed.
|
46 |
+
|
47 |
+
## Out-of-Scope Use
|
48 |
+
|
49 |
+
The model should not be used to intentionally create hostile or alienating environments for people.
|
50 |
+
|
51 |
+
# Bias, Risks, and Limitations
|
52 |
+
|
53 |
+
|
54 |
+
Significant research has explored bias and fairness issues with language models (see, e.g., [Sheng et al. (2021)](https://aclanthology.org/2021.acl-long.330.pdf) and [Bender et al. (2021)](https://dl.acm.org/doi/pdf/10.1145/3442188.3445922)). Predictions generated by the model may include disturbing and harmful stereotypes across protected classes; identity characteristics; and sensitive, social, and occupational groups.
|
55 |
+
|
56 |
+
|
57 |
+
|
58 |
+
## Recommendations
|
59 |
+
|
60 |
+
|
61 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
62 |
+
|
63 |
+
# Training Details
|
64 |
+
|
65 |
+
## Training Data
|
66 |
+
|
67 |
+
Datasets:
|
68 |
+
- JNLPBA
|
69 |
+
- BC2GM
|
70 |
+
|
71 |
+
## Training Procedure
|
72 |
+
|
73 |
+
|
74 |
+
### Preprocessing
|
75 |
+
|
76 |
+
More information needed
|
77 |
+
|
78 |
+
|
79 |
+
### Speeds, Sizes, Times
|
80 |
+
More information needed
|
81 |
+
|
82 |
+
|
83 |
+
# Evaluation
|
84 |
+
|
85 |
+
|
86 |
+
## Testing Data, Factors & Metrics
|
87 |
+
|
88 |
+
### Testing Data
|
89 |
+
|
90 |
+
More information needed
|
91 |
+
|
92 |
+
|
93 |
+
### Factors
|
94 |
+
More information needed
|
95 |
+
|
96 |
+
### Metrics
|
97 |
+
|
98 |
+
More information needed
|
99 |
+
|
100 |
+
|
101 |
+
## Results
|
102 |
+
|
103 |
+
More information needed
|
104 |
+
|
105 |
+
|
106 |
+
# Model Examination
|
107 |
+
|
108 |
+
More information needed
|
109 |
+
|
110 |
+
# Environmental Impact
|
111 |
+
|
112 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
113 |
+
|
114 |
+
- **Hardware Type:** More information needed
|
115 |
+
- **Hours used:** More information needed
|
116 |
+
- **Cloud Provider:** More information needed
|
117 |
+
- **Compute Region:** More information needed
|
118 |
+
- **Carbon Emitted:** More information needed
|
119 |
+
|
120 |
+
# Technical Specifications [optional]
|
121 |
+
|
122 |
+
## Model Architecture and Objective
|
123 |
+
|
124 |
+
More information needed
|
125 |
+
|
126 |
+
## Compute Infrastructure
|
127 |
+
|
128 |
+
More information needed
|
129 |
+
|
130 |
+
### Hardware
|
131 |
+
|
132 |
+
|
133 |
+
More information needed
|
134 |
+
|
135 |
+
### Software
|
136 |
+
|
137 |
+
More information needed.
|
138 |
+
|
139 |
+
# Citation
|
140 |
+
|
141 |
+
|
142 |
+
**BibTeX:**
|
143 |
+
|
144 |
+
More information needed.
|
145 |
+
|
146 |
+
|
147 |
+
|
148 |
+
|
149 |
+
# Glossary [optional]
|
150 |
+
More information needed
|
151 |
+
|
152 |
+
# More Information [optional]
|
153 |
+
More information needed
|
154 |
+
|
155 |
+
|
156 |
+
# Model Card Authors [optional]
|
157 |
+
|
158 |
+
Alvaro A in collaboration with Ezi Ozoani and the Hugging Face team
|
159 |
+
|
160 |
+
|
161 |
+
# Model Card Contact
|
162 |
+
|
163 |
+
More information needed
|
164 |
+
|
165 |
+
# How to Get Started with the Model
|
166 |
+
|
167 |
+
Use the code below to get started with the model.
|
168 |
+
|
169 |
+
<details>
|
170 |
+
<summary> Click to expand </summary>
|
171 |
+
|
172 |
+
```python
|
173 |
+
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
174 |
+
|
175 |
+
tokenizer = AutoTokenizer.from_pretrained("alvaroalon2/biobert_genetic_ner")
|
176 |
+
|
177 |
+
model = AutoModelForTokenClassification.from_pretrained("alvaroalon2/biobert_genetic_ner")
|
178 |
+
```
|
179 |
+
</details>
|