Downloads · 30 days
0
randomani/Llama-2-7b-chat-Medchat-finetune
Llama-2-7b-chat-Medchat-finetune is a question answering model from randomani. Use it when the input is a question plus a passage. It is set up for adapter-transformers. The card lists the license as apache-2.0.
This repository contains the code and configuration for fine-tuning the LLaMA-2 chat model using the Medical QnA dataset with the QLoRA technique.Used only 2k data elements for training due to constrained gpu resources.
Downloads · 30 days
0
Access
Public
Updated May 22, 2024
Repo size
40.4 GB
Likes
0
Public
Click a slice to open those files.
.bin13.5 GB · 100%
From the Hugging Face model README
This repository contains the code and configuration for fine-tuning the LLaMA-2 chat model using the Medical QnA dataset with the QLoRA technique.Used only 2k data elements for training due to constrained gpu resources.
NousResearch/Llama-2-7b-chat-hfrandomani/MedicalQnA-llama2Llama-2-7b-Medchat-finetunelora_r): 64lora_alpha): 16lora_dropout): 0.1use_4bit): Truebnb_4bit_compute_dtype): float16bnb_4bit_quant_type): nf4use_nested_quant): Falsenum_train_epochs): 1fp16): Falsebf16): Falseper_device_train_batch_size): 4per_device_eval_batch_size): 4gradient_accumulation_steps): 1gradient_checkpointing): Truemax_grad_norm): 0.3learning_rate): 2e-4weight_decay): 0.001optim): paged_adamw_32bitlr_scheduler_type): cosinemax_steps): -1warmup_ratio): 0.03group_by_length): Truesave_steps): 0logging_steps): 25max_seq_length): Nonepacking): FalseFor more details and access to the dataset, visit the Hugging Face Dataset Page.