Instructions to use yirenc/llama-7b-hf-origin with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yirenc/llama-7b-hf-origin with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="yirenc/llama-7b-hf-origin")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("yirenc/llama-7b-hf-origin") model = AutoModelForSequenceClassification.from_pretrained("yirenc/llama-7b-hf-origin") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1 opened 3 months ago
by
SFconvertbot