Jalopeura: A Finnish fine-tune for LLaMA

The fine-tune has been trained with full alpaca-lora dataset translated to Finnish with gpt-3.5-turbo

Usage

Check the Github repo with code: https://github.com/Aciid/jalopeura

from peft import PeftModel
from transformers import LLaMATokenizer, LLaMAForCausalLM, GenerationConfig
tokenizer = LLaMATokenizer.from_pretrained("decapoda-research/llama-7b-hf")
model = LLaMAForCausalLM.from_pretrained(
    "decapoda-research/llama-7b-hf",
    load_in_8bit=True,
    device_map="auto",
)
model = PeftModel.from_pretrained(model, "aciidix/jalopeura-lora-7b")
Downloads last month

-

Downloads are not tracked for this model. How to track
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 library tag.