Downloads · 30 days
5
3% of all-time downloads
halyn/gemma2-2b-it-finetuned-paperqa
gemma2-2b-it-finetuned-paperqa is a machine learning model from halyn. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft.
This project fine-tunes the Gemma-2-2B-IT model using LoRA (Low-Rank Adaptation) for Question Answering tasks, leveraging the Wikitext-2 dataset. The fine-tuning process is optimized for efficient training on limited…
Downloads · 30 days
5
3% of all-time downloads
All-time downloads
178
Public
Repo size
288 MB
Likes
1
Public
Click a slice to open those files.
.pt166 MB · 58%
From the Hugging Face model README
This project fine-tunes the Gemma-2-2B-IT model using LoRA (Low-Rank Adaptation) for Question Answering tasks, leveraging the Wikitext-2 dataset. The fine-tuning process is optimized for efficient training on limited GPU memory by freezing most model parameters and applying LoRA to specific layers.
Gemma-2-2B-IT, a causal language model.Wikitext-2 for text generation and causal language modeling.transformers, peft, and datasets.q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, and down_proj.r): 4fp16) enabled for faster and more memory-efficient training.32 steps to manage large model sizes on small GPUs.5e-5 with weight decay: 0.01.pip install -r requirements.txt
Gemma-2-2B-IT model with minimal trainable parameters, allowing fine-tuning even on hardware with limited memory.