TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Algorithm for searching text with similar meaning

1 pointsby delduca11 months ago
For example, I have a long text that says, &quot;I have to change the screw number 1234,&quot; and a short one that says, &quot;screw number 1234 changed.&quot;<p>Both were inserted by different people, referring to the same thing.<p>I thought of using an LLM (GPT-4), however, my dataset is too large (millions of entries) and it would be expensive.<p>Is there any other better or good enough way?<p>Thank you.

1 comment

PaulHoule11 months ago
Try <a href="https:&#x2F;&#x2F;www.sbert.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.sbert.net&#x2F;</a><p>These models are self-hosted and cheap to run. Much smaller than GPT 3 or 4 but trained especially for this purpose.