Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's the reason for needing API key? #39

Open
adaboese opened this issue Jan 8, 2024 · 1 comment
Open

What's the reason for needing API key? #39

adaboese opened this issue Jan 8, 2024 · 1 comment

Comments

@adaboese
Copy link

adaboese commented Jan 8, 2024

You may want to recommended something like Supabase/gte-small because it is open-source, performs better for this use case, and it can be run locally, e.g.

import { AutoTokenizer, pipeline } from '@xenova/transformers';

const generateEmbedding = await pipeline(
  'feature-extraction',
  'Supabase/gte-small',
);

const tokenizer = await AutoTokenizer.from_pretrained('Supabase/gte-small');
@Stevenic
Copy link
Owner

That’s a good suggestion. It’ll be a couple of weeks before I can look into this. I have like 6 coding projects im juggling right now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants