Instructions to use Salesforce/LLaMA-3-8B-SFR-RM-R with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Salesforce/LLaMA-3-8B-SFR-RM-R with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Salesforce/LLaMA-3-8B-SFR-RM-R")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Salesforce/LLaMA-3-8B-SFR-RM-R") model = AutoModelForSequenceClassification.from_pretrained("Salesforce/LLaMA-3-8B-SFR-RM-R", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md (#1)
Verified signature- Update README.md (807333213e896fb8d2332d6bb75c513bc5059361) Co-authored-by: Hanze Dong <hendrydong@users.noreply.huggingface.co>9ccc6b2
-
Update README.md
Verified signature5a39da1
-
Update README.md
Verified signatured3f1e06 -
Update README.md
Verified signature97bee63 -
Update README.md
Verified signatureac79439 -
Upload tokenizer
Verified signature277412b -
Upload LlamaForSequenceClassification
Verified signaturec0d40be -
initial commit
Verified signaturebf6c508