question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Even T5 example is not running

See original GitHub issue

When I’m copying and paste the t5 example from documentation

first, it raises the eval_df error then is raising this error

AssertionError: text input must of type "str" (single example), "List[str]" (batch or single pretokenized example) or "List[List[str]]" (batch of pretokenized examples).

Any suggestion on how to solve this?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
overlookcurlcommented, Mar 31, 2021

Yeah, I am facing the same issue

0reactions
stale[bot]commented, Jul 8, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Example for T5 model from doc is not working. #7358 - GitHub
Model I am using T5 (TFT5) and following the documentation: The problem arises when using: the official example scripts: (give details below) ...
Read more >
T5 — transformers 3.0.2 documentation - Hugging Face
Retrieves sequence ids from a token list that has no special tokens added. This method is called when adding special tokens using the...
Read more >
HuggingFace T5 transformer model - how to prep a custom ...
HF provide an example of fine-tuning with custom data but this is for distilbert model, not the T5 model I want to use....
Read more >
A Full Guide to Finetuning T5 for Text2Text and Building a ...
In this article, we see a complete example of fine-tuning of T5 for generating candidate titles for articles.
Read more >
Solved: FlexCAN IP example not running in normal mode on S...
I have tried you simple configuration example in main.c that you posted in other thread you listed and I still can't make work....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found