Transformers How to use unslothai/llama with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="unslothai/llama") # Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("unslothai/llama")
model = AutoModel.from_pretrained("unslothai/llama")