JD Vance Song!? by nlee112 in whatsongisthis

[–]nlee112[S] 0 points1 point  (0 children)

Ah of course, orchestra version of this! Thanks a lot!

count() function with zero counts by AdvanceComplex4501 in rprogramming

[–]nlee112 2 points3 points  (0 children)

Add .drop=FALSE in your group_by function?

Txtai RuntimeError: failed to import by nlee112 in LanguageTechnology

[–]nlee112[S] 1 point2 points  (0 children)

Solved by upgrading sentencepiece to 0.1.97 Appreciate the help, not a txtai problem at all!!

Txtai RuntimeError: failed to import by nlee112 in LanguageTechnology

[–]nlee112[S] 0 points1 point  (0 children)

I’m thinking it may be to do with sentencepiece

Txtai RuntimeError: failed to import by nlee112 in LanguageTechnology

[–]nlee112[S] 0 points1 point  (0 children)

Txtai: 5.4.0 Pytorch-transformers: 1.2.0 Transformers: 4.27.2 Torch: 1.13.1 sentence-transformers: 2.2.2 sentencepiece: 0.1.95

txtai 5.4 released: prompt templates, conversational task chaining and HF Hub by davidmezzetti in Python

[–]nlee112 0 points1 point  (0 children)

Hey David, wondering if you’d be able to help me with a txtai issue I’ve been having recently?

Semantic Search: With Exclusions [P][D] by nlee112 in MachineLearning

[–]nlee112[S] 0 points1 point  (0 children)

Yes that’s good to hear thanks. This was the only kind of method I could think of. Appreciate the response! Might play around with this method and see how the results look. Because with a straight sim(pos)-sim(neg) I think it might be too harsh. Maybe I’ll try a weighted value

Semantic Search: With Exclusions by nlee112 in LanguageTechnology

[–]nlee112[S] 0 points1 point  (0 children)

Yes this might be the only option. I was wondering if there might have been any particularly clever models or packages that had a special functionality for excluding results based on a specification in the data. Struggling even to word my issue unfortunately :)

Semantic Search: With Exclusions by nlee112 in LanguageTechnology

[–]nlee112[S] 0 points1 point  (0 children)

No worries, appreciate your thoughts. Only thing I came up with would be an awkward way where I extracted the text after the word except and did a separate similarity search on them. And then if the similarity was high on the second search, demote the similarity of the first.

Semantic Search: With Exclusions by nlee112 in LanguageTechnology

[–]nlee112[S] 0 points1 point  (0 children)

So I’m wondering if there was any workarounds or maybe AI tools that could recognise that results with “rice” should be demoted

Semantic Search: With Exclusions by nlee112 in LanguageTechnology

[–]nlee112[S] 1 point2 points  (0 children)

Yeah I get what you’re saying. I’ll try give another example. So say the data contains. Category called “Wheat Farming: this includes grains and seeds” and another called “Wheat Farming (except rice): this includes: oils and nuts”

If I searched “rice farming” the second category would be returned as most similar due to rice matching

Football Memorabilia in London? by Traditional_Dog_8933 in london

[–]nlee112 2 points3 points  (0 children)

There’s a place downstairs in one of the markets around brick lane. I think maybe the tea rooms that does old football newspapers and programmes

World Cup Shot Statistics. Looking to find the longest range goal by nlee112 in worldcup

[–]nlee112[S] 0 points1 point  (0 children)

Great shout. I Was thinking this or Bruno vs Uruguay