Instructions to use dippatel11/autotrain-bart-2332573622 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dippatel11/autotrain-bart-2332573622 with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("summarization", model="dippatel11/autotrain-bart-2332573622")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("dippatel11/autotrain-bart-2332573622", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Model Trained Using AutoTrain
- Problem type: Summarization
- Model ID: 2332573622
- CO2 Emissions (in grams): 17.3087
Validation Metrics
- Loss: 1.460
- Rouge1: 40.163
- Rouge2: 20.060
- RougeL: 30.916
- RougeLsum: 37.538
- Gen Len: 60.370
Usage
You can use cURL to access this model:
$ curl -X POST -H "Authorization: Bearer YOUR_HUGGINGFACE_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoTrain"}' https://api-inference.huggingface.co/dippatel11/autotrain-bart-2332573622
- Downloads last month
- 3