Downloads · 30 days
13
22% of all-time downloads
rhyliieee/LLAMA3-MED-v2.2
LLAMA3-MED-v2.2 is a text generation model from rhyliieee. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
Finetuned a pretrained Model with Lora, resize the base model's embeddings, then load Peft Model with the resized base model.
Downloads · 30 days
13
22% of all-time downloads
All-time downloads
60
Public
Parameters
4.7B
5.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors5.7 GB · 100%
How the weights are stored.
U83.6B · 77%
From the Hugging Face model README
Finetuned a pretrained Model with Lora, resize the base model's embeddings, then load Peft Model with the resized base model.
"""
open_tokenizer.add_special_tokens({ "additional_special_tokens": ["<|start_header_id|>", "<|end_header_id|>", "<|eot_id|>"] }) base_model.resize_token_embeddings(len(open_tokenizer))
peft_model = PeftModel.from_pretrained(base_model, "rhyliieee/LLaMA3-8Bit-Lora-Med-v2",)
merged_peft_base_with_special_tokens = peft_model.merge_and_unload() """