Instructions to use WeightWatcher/albert-large-v2-rte with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WeightWatcher/albert-large-v2-rte with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="WeightWatcher/albert-large-v2-rte")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("WeightWatcher/albert-large-v2-rte") model = AutoModelForSequenceClassification.from_pretrained("WeightWatcher/albert-large-v2-rte", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
1af527f | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:6a7920bf2beeb91f08c79d466e4977288401ddc36b8f55b996f4db4a1f0c3c6a
size 70757765
|