Skip to main content
100%

using-pretrained-abstract-to-tweet-model.ipynb

✓ Published0🌍 Public
CCliffordAnderson
Last edited Jun 30, 2025
Created on Jun 30, 2025

This example shows how a pre-trained transformer model converts academic abstracts into concise, tweet-sized summaries, demonstrating a text-to-text generation workflow. It loads a Hugging Face `AutoModelForSeq2SeqLM` and `AutoTokenizer` from the `andersoncliffb/abstracts_to_tweet_model` repository, then creates a `text2text-generation` pipeline to produce the output. The notebook’s code uses the Transformers library’s pipeline API, with the model and tokenizer specified directly. It does not include a data visualization, instead focusing on the model’s generative output from input text.

AI-generated description

Similar vizzes