Run this model with HF Jobs

Run google/flan-t5-large on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/google/flan-t5-large. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/google/flan-t5-large on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

How's T5 handling longer sequences?

#14
by kelvinspire - opened

I'm curious to know how T5 is handling longer sequences behind the scenes, does it chunk the inputs? Any ideas?

Don't trust on me on this, but I think it can handle up to 512 tokens (and truncates after that) but unfortunately cannot remember where I saw this information and cannot say if this is correct :) 512 tokens is roughly 400 words.

@juusohugs I will leave this https://github.com/google-research/FLAN/issues/36#issuecomment-1472282261 here. This thread has the answer to this question.

Sign up or log in to comment