Instructions to use kgorman4/Clinical-Longformer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kgorman4/Clinical-Longformer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="kgorman4/Clinical-Longformer")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("kgorman4/Clinical-Longformer") model = AutoModelForSequenceClassification.from_pretrained("kgorman4/Clinical-Longformer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
README.md exists but content is empty.
- Downloads last month
- 5