How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="nostradamus89/llama-2-7b-mini_1c")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("nostradamus89/llama-2-7b-mini_1c")
model = AutoModelForCausalLM.from_pretrained("nostradamus89/llama-2-7b-mini_1c")
Quick Links

No model card

Downloads last month
8
Inference Providers NEW