Downloads · 30 days
3
8% of all-time downloads
xTronz/llama-2-7b-miniguanaco
llama-2-7b-miniguanaco is a machine learning model from xTronz. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
modelname = "NousResearch/Llama-2-7b-chat-hf"
Downloads · 30 days
3
8% of all-time downloads
All-time downloads
40
Public
Repo size
9.2 GB
Likes
0
Public
Click a slice to open those files.
.bin9.2 GB · 100%
From the Hugging Face model README
model_name = "NousResearch/Llama-2-7b-chat-hf"
dataset_name = "mlabonne/guanaco-llama2-1k"
new_model = "llama-2-7b-miniguanaco"
################################################################################
################################################################################
lora_r = 64
lora_alpha = 16
lora_dropout = 0.1
################################################################################
################################################################################
use_4bit = True
bnb_4bit_compute_dtype = "float16"
bnb_4bit_quant_type = "nf4"
use_nested_quant = False
################################################################################
################################################################################
output_dir = "./results"
num_train_epochs = 1
fp16 = False bf16 = False
per_device_train_batch_size = 1
per_device_eval_batch_size = 1
gradient_accumulation_steps = 1
gradient_checkpointing = True
max_grad_norm = 0.3
learning_rate = 2e-4
weight_decay = 0.001
optim = "paged_adamw_32bit"
lr_scheduler_type = "cosine"
max_steps = -1
warmup_ratio = 0.03
group_by_length = True
save_steps = 0
logging_steps = 25
################################################################################
################################################################################
max_seq_length = None # output:You didn't pass a max_seq_length argument to the SFTTrainer, this will default to 1024
packing = False
device_map = "auto"