Downloads · 30 days
6
8% of all-time downloads
jun0217/t5-small-custom
t5-small-custom is a machine learning model from jun0217. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model is a fine-tuned version of t5small on the CNN/Daily Mail dataset for summarization tasks.
Downloads · 30 days
6
8% of all-time downloads
All-time downloads
80
Public
Repo size
—
Likes
0
Public
Click a slice to open those files.
.json1 MB · 69%
From the Hugging Face model README
This model is a fine-tuned version of t5_small on the CNN/Daily Mail dataset for summarization tasks.
The model was trained on the CNN/Daily Mail dataset.
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("hskang/cnn_dailymail_t5_small")
model = AutoModelForSeq2SeqLM.from_pretrained("hskang/cnn_dailymail_t5_small")
input_text = "upstage tutorial text summarization code"
inputs = tokenizer.encode(input_text, return_tensors="pt")
outputs = model.generate(inputs)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
The model may generate biased or inappropriate content due to the nature of the training data. It is recommended to use the model with caution and apply necessary filters.
Bias: The model may inherit biases present in the training data. Misuse: The model can be misused to generate misleading or harmful content. Copyright and License This model is licensed under the MIT License.