Instructions to use YtBig/html-bart-78.8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use YtBig/html-bart-78.8 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="YtBig/html-bart-78.8")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("YtBig/html-bart-78.8") model = AutoModelForSeq2SeqLM.from_pretrained("YtBig/html-bart-78.8", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model Trained Using AutoTrain
- Problem type: Summarization
- Model ID: 1670059180
- CO2 Emissions (in grams): 4721.3335
Validation Metrics
- Loss: 0.201
- Rouge1: 78.850
- Rouge2: 73.326
- RougeL: 78.683
- RougeLsum: 78.683
- Gen Len: 17.217
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"}'
- Downloads last month
- 7