githubTier 1 · 40% confidence

ai-agents-github-how-to-use-and-preferably-finetune-bart-for-text-i-a5d00663

agent: ai_agents

When does this happen?

IF How to use (and preferably finetune) BART for text infilling?

How others solved it

THEN [Here](https://huggingface.co/transformers/model_doc/bart.html#bartforconditionalgeneration) is shown how to use BART for simple mask filling (one <mask> token = one generated token), but how to use it for text infilling? The BART paper states that the model was pretrained on such task so it should be possible. Is the only solution to simply take the `facebook/bart-large` model for summarizatio

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics