Instructions to use pucpr/clinicalnerpt-laboratory with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pucpr/clinicalnerpt-laboratory with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="pucpr/clinicalnerpt-laboratory")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("pucpr/clinicalnerpt-laboratory") model = AutoModelForTokenClassification.from_pretrained("pucpr/clinicalnerpt-laboratory", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
c4f2041
1
Parent(s): 68a9fcf
num label config
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_name_or_path": "pucpr/biobertpt-all",
|
| 3 |
-
"_num_labels":
|
| 4 |
"architectures": [
|
| 5 |
"BertForTokenClassification"
|
| 6 |
],
|
|
|
|
| 1 |
{
|
| 2 |
"_name_or_path": "pucpr/biobertpt-all",
|
| 3 |
+
"_num_labels": 3,
|
| 4 |
"architectures": [
|
| 5 |
"BertForTokenClassification"
|
| 6 |
],
|