TLDRocket
Sign in
Latest Yelp can now call on your behalf to check wait times at a restaurant — TechCrunch Otter.ai raises $320 million from General Catalyst’s growth fund for i... — TechCrunch OpenAI races to lock in $30B at a $1.4T valuation before Anthropic’s I... — Tech Funding News Silent sailing, noisy generators: Hydrogen startups PowerUP and H2Boat... — Tech.eu Nvidia invests in four German startups as part of $10BN European inves... — Tech.eu Town raises $108M at $1B valuation as AI assistants learn to work acro... — Tech Funding News Blackwall hits $2.2B valuation with $100M Series C just weeks after jo... — Tech.eu Zuckerberg spent years building on Apple’s terms. His $100 billion-plu... — Fortune

The AI intelligence platform

Every AI story that matters — and the intelligence behind it.

TLDRocket reads all relevant sources, removes duplicate coverage, and publishes a short neutral summary of every story, linking back to the original. Free, no spam, unsubscribe anytime.

Add to Slack

Every story also updates live profiles event timelines weekly rankings the AI Market Index

Friday, 11 March 2022

Guiding Text Generation with Constrained Beam Search in 🤗 Transformers

Hugging Face 4 years ago 19

Hugging Face's Transformers library now supports constrained beam search, which allows users to force specific words or phrases into generated text outputs during the decoding process. The feature uses a "bank" system that organizes candidate sequences by their progress toward fulfilling constraints, then selects from these banks in round-robin fashion to balance constraint satisfaction with output quality. This enables applications like machine translation where certain words must appear in the output, or where users can specify alternative word forms that should appear at least once.

The daily briefing

Every AI story that matters, in your inbox by 8am.

TLDRocket reads all relevant sources, removes duplicate coverage, and summarises the day in two minutes. Follow companies and topics for alerts, or get the briefing in Slack. Free, no spam, unsubscribe anytime.