Statcan Dialogue Dataset & Models
Collection
mcgill-nlp.github.io/statcan-dialogue-dataset • 18 items • Updated • 4
How to use McGill-NLP/dpr-conversation_encoder-basic_info with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="McGill-NLP/dpr-conversation_encoder-basic_info") # Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("McGill-NLP/dpr-conversation_encoder-basic_info")
model = AutoModel.from_pretrained("McGill-NLP/dpr-conversation_encoder-basic_info")# Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("McGill-NLP/dpr-conversation_encoder-basic_info")
model = AutoModel.from_pretrained("McGill-NLP/dpr-conversation_encoder-basic_info")No model card
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="McGill-NLP/dpr-conversation_encoder-basic_info")