Instructions to use awacke1/autotrain-livespeechrecognitiontrainingmodelforautotrain-1786761993 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use awacke1/autotrain-livespeechrecognitiontrainingmodelforautotrain-1786761993 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="awacke1/autotrain-livespeechrecognitiontrainingmodelforautotrain-1786761993")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("awacke1/autotrain-livespeechrecognitiontrainingmodelforautotrain-1786761993", 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: 1786761993
- CO2 Emissions (in grams): 2.5045
Validation Metrics
- Loss: 0.696
- Rouge1: 27.015
- Rouge2: 19.303
- RougeL: 25.245
- RougeLsum: 26.593
- Gen Len: 18.581
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/awacke1/autotrain-livespeechrecognitiontrainingmodelforautotrain-1786761993
- Downloads last month
- 11