worldmonitor icon indicating copy to clipboard operation
worldmonitor copied to clipboard

The browser loaded model T5 (Xenova/flan-t5-base) seems too sloppy and generates useless summaries randomly. More tests needed

Open DevShaded opened this issue 9 months ago • 16 comments

Variant

worldmonitor.app (Full / Geopolitical)

Affected area

News panels / RSS feeds

Bug description

I clicked the summerize button in the INTEL FEED and the AI tells me the Ukraine and Middle east war is over for some reason.

Steps to reproduce

Go to INTEL FEED Click on the Stars icon The summarize will show with wrong info

Expected behavior

Don't think the Ukraine war is over? I couldn't find any sources for that

Screenshots / Console errors

Image

Browser & OS

Chrome 144 (arm64) on MacOs Tahoe

DevShaded avatar Feb 16 '26 12:02 DevShaded

lmfao

Clexiav avatar Feb 16 '26 16:02 Clexiav

Image

koala73 avatar Feb 16 '26 20:02 koala73

The local browser model Browser T5 (Xenova/flan-t5-base) we're using is too sloppy to be reliable

koala73 avatar Feb 16 '26 20:02 koala73

is that vibe coded program also?

Clexiav avatar Feb 16 '26 20:02 Clexiav

No, it's not https://medium.com/@gagangupta_82781/understanding-the-t5-model-a-comprehensive-guide-b4d5c02c234b

koala73 avatar Feb 16 '26 20:02 koala73

what the hell is T5? some exotic AI or? it's so complicated, im not engineer, im for cybersecurity

Clexiav avatar Feb 16 '26 20:02 Clexiav

The app is loading a model in the browser and using it to summarize, so that we don't spend paid tokens. This is a usually good model for summarization, but i think we're stuffing it too much - it's breaking, will add tests to understand If you are using the desktop version, you can use openrouter key and you will never get something like this.

koala73 avatar Feb 16 '26 20:02 koala73

Image

I see, now i think almost everything is fixed.... but when i press 1 hour, some news are still uhh... delayed, like saying 14 or 17 hours, is it should be like that?

Clexiav avatar Feb 16 '26 20:02 Clexiav

Thanks for reporting this @DevShaded. This is a known limitation of the in-browser T5 model (Xenova/flan-t5-base) — it's a small model that can hallucinate or produce inaccurate summaries, especially when summarizing complex geopolitical topics. We're aware of the issue and looking into improvements (better prompting, model alternatives, or gating the feature when confidence is low).

SebastienMelki avatar Feb 17 '26 12:02 SebastienMelki

@SebastienMelki There should maybe be a warning under the generated text from the AI where it states that it might make mistakes or something like that.

DevShaded avatar Feb 17 '26 12:02 DevShaded

Can you allow an external model if the user chooses? I run a small LLM that's exposed over my local network anyway.

jkrilov avatar Feb 18 '26 22:02 jkrilov

I agree, Just let people withj Ollama or LM Studio use the server mode and choose which model they want and also, you are using BASE model for summarization ? This model is not even optimized for summarizations.

KotPrezesOfficial avatar Feb 19 '26 07:02 KotPrezesOfficial

100% , will add ollama support

koala73 avatar Feb 19 '26 08:02 koala73

https://github.com/koala73/worldmonitor/discussions/120

koala73 avatar Feb 19 '26 08:02 koala73

Resolved. The summarization system has been rearchitected — browser T5 is now a last-resort fallback only.

Primary path uses server-side LLMs with a multi-provider fallback chain (Ollama → Groq → OpenRouter), with Redis caching for cross-user deduplication, temperature=0.3 for consistency, and headline deduplication before summarization. Browser T5 only activates after all API providers fail.

SebastienMelki avatar Feb 23 '26 08:02 SebastienMelki

cc @DevShaded — this has been addressed ^

SebastienMelki avatar Feb 23 '26 08:02 SebastienMelki