Transformers How to use McGill-NLP/dpr-statcan-conversation_encoder-title with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="McGill-NLP/dpr-statcan-conversation_encoder-title") # Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("McGill-NLP/dpr-statcan-conversation_encoder-title")
model = AutoModel.from_pretrained("McGill-NLP/dpr-statcan-conversation_encoder-title")