Summarization
Transformers
PyTorch
Enawené-Nawé
longt5
text2text-generation
Trained with AutoTrain
Eval Results (legacy)
Instructions to use Jacobsith/autotrain-Hello_there-1209845735 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Jacobsith/autotrain-Hello_there-1209845735 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="Jacobsith/autotrain-Hello_there-1209845735")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Jacobsith/autotrain-Hello_there-1209845735") model = AutoModelForSeq2SeqLM.from_pretrained("Jacobsith/autotrain-Hello_there-1209845735") - Notebooks
- Google Colab
- Kaggle
Model Trained Using AutoTrain
- Problem type: Summarization
- Model ID: 1209845735
- CO2 Emissions (in grams): 3602.3174
Validation Metrics
- Loss: 2.484
- Rouge1: 38.448
- Rouge2: 10.900
- RougeL: 22.080
- RougeLsum: 33.458
- Gen Len: 115.982
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://huggingface.co/static-proxy/api-inference.huggingface.co/Jacobsith/autotrain-Hello_there-1209845735
- Downloads last month
- 7
Evaluation results
- ROUGE-1 on Blaise-g/SumPubmedtest set self-reported38.208
- ROUGE-2 on Blaise-g/SumPubmedtest set self-reported12.474
- ROUGE-L on Blaise-g/SumPubmedtest set self-reported21.554
- ROUGE-LSUM on Blaise-g/SumPubmedtest set self-reported34.229
- loss on Blaise-g/SumPubmedtest set self-reported2.095
- gen_len on Blaise-g/SumPubmedtest set self-reported126.300