Downloads · 30 days
3
23% of all-time downloads
ha-0/t5-small-custom
t5-small-custom is a machine learning model from ha-0. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
(boostcamp ai tech huggingface utilization task test upload)
Downloads · 30 days
3
23% of all-time downloads
All-time downloads
13
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
(boostcamp ai tech huggingface utilization task test upload)
This model is a fine-tuned version of t5-small-base for summarization tasks.
The model was trained on the CNN/Daily Mail dataset.
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("test_work3")
model = AutoModelForSeq2SeqLM.from_pretrained("test_work3")
input_text = "Your input text here"
inputs = tokenizer(input_text, return_tensors="pt", max_length=512, truncation=True)
outputs = model.generate(**inputs, max_length=100)
decoded_output = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(decoded_output)
This is the test model created for the assignment. 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.
This model is licensed under the MIT License.