Instructions to use psybertpt/psyBERTpt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use psybertpt/psyBERTpt with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="psybertpt/psyBERTpt")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("psybertpt/psyBERTpt") model = AutoModelForTokenClassification.from_pretrained("psybertpt/psyBERTpt", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,6 +10,11 @@ widget:
|
|
| 10 |
inicial.
|
| 11 |
thumbnail: >-
|
| 12 |
https://raw.githubusercontent.com/HAILab-PUCPR/BioBERTpt/master/images/logo-biobertpr1.png
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
|
|
|
|
| 10 |
inicial.
|
| 11 |
thumbnail: >-
|
| 12 |
https://raw.githubusercontent.com/HAILab-PUCPR/BioBERTpt/master/images/logo-biobertpr1.png
|
| 13 |
+
metrics:
|
| 14 |
+
- accuracy 0.65
|
| 15 |
+
tags:
|
| 16 |
+
- medical
|
| 17 |
+
pipeline_tag: token-classification
|
| 18 |
---
|
| 19 |
|
| 20 |
|