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="vikenkd/Llama-2-7b-hf__mini_python")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("vikenkd/Llama-2-7b-hf__mini_python")
model = AutoModelForCausalLM.from_pretrained("vikenkd/Llama-2-7b-hf__mini_python", device_map="auto")
Quick Links

Llama-2 Model Fine_tuning tags-version: 1.0

requirements: large menories : ~ 15GB

Downloads last month
14
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Collection including vikenkd/Llama-2-7b-hf__mini_python