Text Classification
Transformers
PyTorch
TensorBoard
English
megatron-bert
Generated from Trainer
medical
Instructions to use AshtonIsNotHere/GatorTron-OG-bc-ctr-nli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AshtonIsNotHere/GatorTron-OG-bc-ctr-nli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AshtonIsNotHere/GatorTron-OG-bc-ctr-nli")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AshtonIsNotHere/GatorTron-OG-bc-ctr-nli") model = AutoModelForSequenceClassification.from_pretrained("AshtonIsNotHere/GatorTron-OG-bc-ctr-nli") - Notebooks
- Google Colab
- Kaggle
GatorTron-OG-bc-ctr-nli
Model description
GatorTron model domain adapted on breast cancer studies and fine-tuned for SemEval-2023 Task7: NLI4CT, Subtask 1. Takes hypothesis and premise statements as input and outputs the entailment relationship (entailment or contradiction).
Framework versions
- Transformers 4.24.0
- Pytorch 1.13.1
- Datasets 2.8.0
- Tokenizers 0.11.0
- Downloads last month
- 5