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