Instructions to use dexay/f_ner_rober with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dexay/f_ner_rober with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="dexay/f_ner_rober")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("dexay/f_ner_rober") model = AutoModelForTokenClassification.from_pretrained("dexay/f_ner_rober") - Notebooks
- Google Colab
- Kaggle
Create new file
Browse files- labels.txt +10 -0
labels.txt
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
['O',
|
| 2 |
+
'I-CANCER',
|
| 3 |
+
'B-EDC',
|
| 4 |
+
'B-HORMONE',
|
| 5 |
+
'I-EDC',
|
| 6 |
+
'I-RECEPTOR',
|
| 7 |
+
'B-RECEPTOR',
|
| 8 |
+
'B-EXP_PER',
|
| 9 |
+
'B-CANCER',
|
| 10 |
+
'I-HORMONE']
|