Run this model with HF Jobs
Run VEG3/TLDR-Vegan-Studies on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/VEG3/TLDR-Vegan-Studies. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/VEG3/TLDR-Vegan-Studies on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use VEG3/TLDR-Vegan-Studies with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use VEG3/TLDR-Vegan-Studies 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="VEG3/TLDR-Vegan-Studies")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("VEG3/TLDR-Vegan-Studies", 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)
About This Model
This model has been trained to take abstracts of scientific studies about veganism & animal rights and turn them into single-sentence takeaways for vegan businesses and animal activists to apply to their activism. The dataset was curated by scraping TLDRs and abstracts from Semantic Scholar and having vegan activists and marketing professionals from VEG3 review the usefulness of a random sample of the dataset to ensure their relevance to vegan businesses and animal activists.
Model Trained Using AutoTrain
- Problem type: Summarization
- Model ID: 1923365100
- CO2 Emissions (in grams): 57.7798
Validation Metrics
- Loss: 0.711
- Rouge1: 44.317
- Rouge2: 30.335
- RougeL: 41.369
- RougeLsum: 41.198
- Gen Len: 17.855
Usage
You can use cURL to access this model:
curl https://api-inference.huggingface.co/models/VEG3/TLDR-Vegan-Studies \
-X POST \
-d '{"inputs":"ABSTRACT"}' \
-H "Authorization: Bearer YOURAPIKEY"
- Downloads last month
- 109