generated_from_keras_callback

<!-- This model card has been generated automatically according to the information Keras had access to. You should probably proofread and complete it, then remove this comment. -->

What does model do and how to use it

Just provide an title to the model and it will generate a whole article about it.

# Install transformers library
!pip install transformers
# Load tokenizer and model
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, TFAutoModelForSeq2SeqLM
model_name = "Seungjun/articleGeneratorV1.0"
tokenizer = AutoTokenizer.from_pretrained("t5-small")
model = TFAutoModelForSeq2SeqLM.from_pretrained(model_name)
# Get the article for a given title
from transformers import pipeline
summarizer = pipeline("summarization", model=model, tokenizer=tokenizer, framework="tf")
summarizer(
    "Steve Jobs", # title
    min_length=500,
    max_length=1024,
)

Result:

Current limitation of the model

It generate aot of lies. 99% of the word generated by this model is not true.

articleGeneratorV1.0

This model is a fine-tuned version of t5-small on an unknown dataset. It achieves the following results on the evaluation set:

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

Training results

Train Loss Validation Loss Train Rougel Epoch
4.9218 4.0315 tf.Tensor(0.08038119, shape=(), dtype=float32) 0
4.2887 3.8366 tf.Tensor(0.08103053, shape=(), dtype=float32) 1
4.1269 3.7328 tf.Tensor(0.081041485, shape=(), dtype=float32) 2
4.0276 3.6614 tf.Tensor(0.081364945, shape=(), dtype=float32) 3
3.9568 3.6096 tf.Tensor(0.08172019, shape=(), dtype=float32) 4

Framework versions