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="Defetya/llama2-7b-instruct")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("Defetya/llama2-7b-instruct")
model = AutoModelForCausalLM.from_pretrained("Defetya/llama2-7b-instruct")
Quick Links
README.md exists but content is empty.
Downloads last month
41
Inference Providers NEW