Downloads · 30 days
14
22% of all-time downloads
Shorya22/LLaMA-2-7B
LLaMA-2-7B is a text generation model from Shorya22. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Install Libs: !pip install -q -U transformers datasets accelerate peft trl bitsandbytes
Downloads · 30 days
14
22% of all-time downloads
All-time downloads
65
Public
Parameters
6.7B
13.5 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors13.5 GB · 100%
From the Hugging Face model README
Install Libs: !pip install -q -U transformers datasets accelerate peft trl bitsandbytes
My model trained on "garage-bAInd/Open-Platypus" data.
I have taken 1000 samples to fine tune LLaMA-2-7b.
Prompt which i used for prepare dataset:
def chat_template(example):
example["instruction"] = f"### Instruction:\n{example['instruction']}\n\n### Response:\n"
return example
dataset= dataset.map(chat_template)