Instructions to use allenai/Llama-3.1-70B-Instruct-RM-RB2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use allenai/Llama-3.1-70B-Instruct-RM-RB2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="allenai/Llama-3.1-70B-Instruct-RM-RB2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("allenai/Llama-3.1-70B-Instruct-RM-RB2") model = AutoModelForSequenceClassification.from_pretrained("allenai/Llama-3.1-70B-Instruct-RM-RB2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K
- 1.57 kB
- 3.66 kB
- 966 Bytes
- 4.58 GB xet
- 4.66 GB xet
- 5 GB xet
- 4.97 GB xet
- 4.66 GB xet
- 4.66 GB xet
- 4.66 GB xet
- 5 GB xet
- 4.97 GB xet
- 4.66 GB xet
- 4.66 GB xet
- 4.66 GB xet
- 5 GB xet
- 4.97 GB xet
- 4.66 GB xet
- 4.66 GB xet
- 4.66 GB xet
- 5 GB xet
- 4.97 GB xet
- 4.66 GB xet
- 4.66 GB xet
- 4.66 GB xet
- 5 GB xet
- 4.97 GB xet
- 4.66 GB xet
- 4.66 GB xet
- 4.66 GB xet
- 5 GB xet
- 4.97 GB xet
- 59.6 kB
- 434 Bytes
- 17.2 MB xet
- 51.2 kB