Instructions to use McGill-NLP/dpr-statcan-conversation_encoder-title with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- 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") - Notebooks
- Google Colab
- Kaggle