Instructions to use McGill-NLP/tapas-statcan-large-metadata_encoder-title with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use McGill-NLP/tapas-statcan-large-metadata_encoder-title with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="McGill-NLP/tapas-statcan-large-metadata_encoder-title")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("McGill-NLP/tapas-statcan-large-metadata_encoder-title") model = AutoModel.from_pretrained("McGill-NLP/tapas-statcan-large-metadata_encoder-title", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
ba5ba9a | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:80a6d9166cb31355f79c5b3e3e0eb569ef3a0c1a6bc722915ec1bd741e90ae62
size 1347067047
|