NeuroBio / models /m4_rag /embedding.py
arnavmishra4's picture
Upload 64 files
83913eb verified
Raw
History Blame Contribute Delete
156 Bytes
from langchain_huggingface import HuggingFaceEmbeddings
embedding_function = HuggingFaceEmbeddings(
model_name="NeuML/pubmedbert-base-embeddings"
)