Downloads · 30 days
0
monsoon-nlp/nyc-savvy-llama2-7b-lora-adapter
nyc-savvy-llama2-7b-lora-adapter is a machine learning model from monsoon-nlp. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Adapter model / weights only for https://huggingface.co/monsoon-nlp/nyc-savvy-llama2-7b
Downloads · 30 days
0
Access
Public
Updated Apr 22, 2024
Repo size
320 MB
Likes
0
Public
Click a slice to open those files.
.bin320 MB · 100%
From the Hugging Face model README
Adapter model / weights only for https://huggingface.co/monsoon-nlp/nyc-savvy-llama2-7b
from peft import AutoPeftModelForCausalLM
from transformers import AutoTokenizer
# this model
model = AutoPeftModelForCausalLM.from_pretrained("monsoon-nlp/nyc-savvy-llama2-7b-lora-adapter").to("cuda")
# base model for the tokenizer
tokenizer = AutoTokenizer.from_pretrained("monsoon-nlp/nyc-savvy-llama2-7b")