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="patrickbdevaney/llama-2-7b-minguanaco-google-colab-test")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("patrickbdevaney/llama-2-7b-minguanaco-google-colab-test")
model = AutoModelForCausalLM.from_pretrained("patrickbdevaney/llama-2-7b-minguanaco-google-colab-test")
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Brief note: trained locally on Windows. Bits and Bytes and PEFT were not working so I fine tuned a smaller 1b model without quantization. Later I switched to Ubuntu and got qlora and peft working, then fine tuned 7b

Downloads last month
1
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support