hehehe a58dcbb
Ramdani Halima commited on
How to use halimara/model_sentence_bert with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="halimara/model_sentence_bert") # Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("halimara/model_sentence_bert")
model = AutoModel.from_pretrained("halimara/model_sentence_bert")