Instructions to use CogComp/bart-faithful-summary-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CogComp/bart-faithful-summary-detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="CogComp/bart-faithful-summary-detector")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("CogComp/bart-faithful-summary-detector") model = AutoModelForSequenceClassification.from_pretrained("CogComp/bart-faithful-summary-detector", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
add model
9ee8dc5
-
Update README.md
Sihao Chen30f9723 -
Update README.md
Sihao Chencd27fa8 -
Update README.md
Sihao Chenec1a43e -
Update README.md
Sihao Chen81e86e3 -
Update README.md
Sihao Chen34da9a3 -
Update config.json
Sihao Chenaffb7bf -
Update config.json
Sihao Chen0747a30 -
Update config.json
Sihao Chenedec82f -
Update number of labels for the model
Sihao Chen93797c9 -
Update number of labels for the model
Sihao Chenafa3f84 -
Create README.md
Sihao Chene25ec19 -
adding model weights
schen14951c75bb -
initial commit
700a3fc