ksanman / AllMiniLML6v2Sharp

net standard 2.1 Library for running Sentence Transformers All-MiniLM-L6-v2 from C#.
MIT License
12 stars 6 forks source link

MiniLM-L12 #5

Open kuan62 opened 1 month ago

kuan62 commented 1 month ago

Hi, May I know MiniLM-L12 can work with this?

teklot commented 1 month ago

Hi, May I know MiniLM-L12 can work with this?

I would like to know this as well. Thanks!

ksanman commented 1 month ago

I haven't tested it. Seeing as it has the same inputs and outputs as minil6, as long as it uses the same tokenizer I would think it would work.

teklot commented 1 month ago

Exported the "all-MiniLM-L12-v2" and loaded it along with its vocab via the AllMiniLmL6V2Embedder and then ran a test with a bunch of sentences. It works great, thanks!