How to use carsonpoole/binary-embeddings with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="carsonpoole/binary-embeddings")
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("carsonpoole/binary-embeddings") model = AutoModel.from_pretrained("carsonpoole/binary-embeddings")
I'm using this for a project. It's working great, thanks! I wanted to contribute to the project.
· Sign up or log in to comment