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")# 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
File size: 1,515 Bytes
1dca94b 283ff44 6f36abe fe3f1fa 283ff44 ad8ba16 1dca94b 283ff44 39035d5 283ff44 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | ---
language: pt
widget:
- text: >-
Paciente vem a este serviço em busca de renovação de receita. Em uso de sertralina + fluoxetina.
- text: >-
Tentativa de suicídio há 2 semanas, porém agora nega ideação suicida.
- text: >-
EEM: Calmo, fala normal, sem alterações de pensamento. Relata insônia
inicial.
metrics:
- accuracy 0.65
tags:
- medical
pipeline_tag: token-classification
---
# Portuguese Clinical NER - Psychiatric Specialized
This model is the first clinical psychiatric specialized model for the portuguese language.
We annotated 9 categories from admission notes of an emergency specialized hospital of psychiatry in Brazil.
The article: [PsyBERTpt: A Clinical Entity Recognition Model
for Psychiatric Narratives](https://), is waiting to be published.
## NER Categories:
- Self-Destructive Behavior
- Diagnosis
- Drug
- Pharmaceutical
- Psychic Function
- Family History
- Patient History
- Observation
- Symptom and Psychological Complaint
## Acknowledgements
this model can only be developed thanks to the fantastic work of committed people, who are part of the following institutions:
- Universidade Estadual Paulista Júlio de Mesquita Filho - UNESP
- Faculdade de Medicina de São José do Rio Preto - FAMERP
- Pontífica Universidade Católica do Paraná - PUCPR
- Hospital Dr. Adolfo Bezerra de Menezes - HABM
## Citation
```
Waiting to be published
```
## Questions?
Post a Github issue on the [psyBERTpt repo](https://github.com/luizniero/psyBERTpt). |