license: apache-2.0 | |
tags: | |
- medical | |
- text-classification | |
- cancer-detection | |
# Cancer Abstract Classifier | |
Fine-tuned [BiomedBERT](https://huggingface.co/microsoft/BiomedNLP-BiomedBERT-base-uncased-abstract) model for classifying medical abstracts as Cancer Vs Non-Cancer. | |
## Usage | |
```python | |
from transformers import pipeline | |
classifier = pipeline("text-classification", model="user1729/BiomedBERT-cancer-classifier-v1.0") | |
classifier("Breast cancer is a disease where cells in the breast tissue grow out of control, forming tumors. It's the most common cancer in women, and while less common in men, it can occur in both sexes.") | |
``` | |