Views
No views yet
gemma4_e4b.litertlm: The full consolidated model weights (located at the root level)./lora: Subfolder containing all the fine-tuned LoRA adapters and configurations:
adapter_config.jsonadapter_model.safetensorschat_template.jinjaprocessor_config.jsontokenizer.jsontokenizer_config.json1from peft import PeftModel, PeftConfig
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4config = PeftConfig.from_pretrained("Shree-007/gemma4-disaster-finetuned", subfolder="lora")
5model = AutoModelForCausalLM.from_pretrained("unsloth/gemma-4-e4b-it-unsloth-bnb-4bit")
6model = PeftModel.from_pretrained(model, "Shree-007/gemma4-disaster-finetuned", subfolder="lora")
7tokenizer = AutoTokenizer.from_pretrained("Shree-007/gemma4-disaster-finetuned", subfolder="lora")