Instructions to use MS-Go/autotrain-bart_normaldata-1976866012 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MS-Go/autotrain-bart_normaldata-1976866012 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="MS-Go/autotrain-bart_normaldata-1976866012")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("MS-Go/autotrain-bart_normaldata-1976866012", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Configuration Parsing Warning:Config file config.json cannot be fetched (too big)
Configuration Parsing Warning:Config file tokenizer_config.json cannot be fetched (too big)
Model Trained Using AutoTrain
- Problem type: Summarization
- Model ID: 1976866012
- CO2 Emissions (in grams): 41.1529
Validation Metrics
- Loss: 2.837
- Rouge1: 34.318
- Rouge2: 6.495
- RougeL: 18.460
- RougeLsum: 30.998
- Gen Len: 141.027
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/MS-Go/autotrain-bart_normaldata-1976866012
- Downloads last month
- 3