Downloads · 30 days
2
17% of all-time downloads
Inseol/t5-small-custom
t5-small-custom is a machine learning model from Inseol. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
2
17% of all-time downloads
All-time downloads
12
Public
Parameters
60.5M
243 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors242 MB · 99%
From the Hugging Face model README
This model is fine-tuned version of t5-small Model for Text Summarization tasks.
The model was trained on the CNN/Daily mail that consist two type of data(article, highlights)
'''python from transformers import AutoModelForSeq2SeqLM, AutoTokenizer, pipeline tokenizer = AutoTokenizer.from_pretrained('t5-small') model = AutoModelForSeq2SeqLM.from_pretrained('t5-small') summarizer = pipeline("summarization", model = model, tokenizer = tokenizer)
text = "your sentences"
summary = summarizer(text, max_length = 150, min_length = 30, do_sample=False)
print(summary[0]['summary_text']) '''
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.