lora-cabrita-tv-ptbr

作者 jcfneto · 下载 24 · 点赞 0 · 更新 2023-11-04

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")

模型信息

该模型卡暂无预览图和文字说明。以下信息来自 Hugging Face。

作者 jcfneto
类型—
基础模型22h/open-cabrita3b
标签—
下载24
点赞0
更新时间2023-11-04
Hugging Face https://huggingface.co/jcfneto/lora-cabrita-tv-ptbr