Instructions to use pucpr/biobertpt-clin with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pucpr/biobertpt-clin with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="pucpr/biobertpt-clin")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("pucpr/biobertpt-clin") model = AutoModelForMaskedLM.from_pretrained("pucpr/biobertpt-clin", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
| 1 |
---
|
| 2 |
language: "pt"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
thumbnail: "https://raw.githubusercontent.com/HAILab-PUCPR/BioBERTpt/master/logo-biobertpr1.png"
|
| 4 |
---
|
| 5 |
|
|
|
|
| 1 |
---
|
| 2 |
language: "pt"
|
| 3 |
+
widget:
|
| 4 |
+
- text: "O paciente recebeu [MASK] do hospital."
|
| 5 |
+
- text: "O médico receitou a medicação para controlar a [MASK]."
|
| 6 |
+
|
| 7 |
+
datasets:
|
| 8 |
+
- biomedical literature from Scielo and Pubmed
|
| 9 |
thumbnail: "https://raw.githubusercontent.com/HAILab-PUCPR/BioBERTpt/master/logo-biobertpr1.png"
|
| 10 |
---
|
| 11 |
|