Usage

from peft import PeftModel
from transformers import LLaMATokenizer, LLaMAForCausalLM, GenerationConfig

tokenizer = LLaMATokenizer.from_pretrained("22h/open-cabrita3b")
model = LLaMAForCausalLM.from_pretrained(
    "22h/open-cabrita3b",
    load_in_8bit=True,
    device_map="auto",
)
model = PeftModel.from_pretrained(model, "jcfneto/lora-cabrita-tv-ptbr")
Downloads last month
10
Inference Providers NEW
This model is not currently available via any of the supported Inference Providers.
The model cannot be deployed to the HF Inference API: The model has no pipeline_tag.

Model tree for jcfneto/lora-cabrita-tv-ptbr

Base model

22h/open-cabrita3b
Adapter
(2)
this model