Downloads · 30 days
0
0% of all-time downloads
Shree-007/gemma4-disaster-finetuned
gemma4-disaster-finetuned is a text generation model from Shree-007. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as mit.
This repository contains the fine-tuned LoRA adapters and the complete model weights for the Gemma-4-e4b model, customized for disaster management and preparedness conversational tasks.
Downloads · 30 days
0
0% of all-time downloads
All-time downloads
85
Public
Repo size
3.8 GB
Likes
1
Public
Click a slice to open those files.
.litertlm3.6 GB · 95%
From the Hugging Face model README
This repository contains the fine-tuned LoRA adapters and the complete model weights for the Gemma-4-e4b model, customized for disaster management and preparedness conversational tasks.
This model has been fine-tuned on disaster response, management, and preparedness datasets to provide high-quality assistance during emergency scenarios. It helps users plan, respond, and find safety guidelines during natural or man-made disasters.
You can find the interactive Jupyter/Kaggle notebook used for fine-tuning this model at:
The files in this repository are organized as follows:
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.jsonThis model is intended to be used directly in disaster preparedness dashboards, emergency communication simulators, or offline hazard assistants to offer immediate safety protocols and management tips.
To load the fine-tuned LoRA adapters in python:
from peft import PeftModel, PeftConfig
from transformers import AutoModelForCausalLM, AutoTokenizer
config = PeftConfig.from_pretrained("Shree-007/gemma4-disaster-finetuned", subfolder="lora")
model = AutoModelForCausalLM.from_pretrained("unsloth/gemma-4-e4b-it-unsloth-bnb-4bit")
model = PeftModel.from_pretrained(model, "Shree-007/gemma4-disaster-finetuned", subfolder="lora")
tokenizer = AutoTokenizer.from_pretrained("Shree-007/gemma4-disaster-finetuned", subfolder="lora")