[go: up one dir, main page]

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

Add sentence-transformers.py #6636

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hhdri
Copy link
@hhdri hhdri commented Sep 20, 2024

I added an example for using sentence-transformer models on tinygrad. The example only support bert-based sentence-transformer models like all-MiniLM-L6-v2 and all-MiniLM-L12-v2.

At my job, we use sentence-transformer models (through PyTorch) all the time. I thought it would be nice to do the inference on tinygrad as well. It's my first contributing to tinygrad. Any feedback would be appreciated!

Copy link
Contributor

This branch currently is behind tinygrad/master. The line count difference bot is disabled.

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

Successfully merging this pull request may close these issues.

1 participant