Downloads · 30 days
7
7% of all-time downloads
FirstLast/open-llama-3b-finetuned-persona-e3-s500
open-llama-3b-finetuned-persona-e3-s500 is a machine learning model from FirstLast. 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 is a LoRA finetune of OpenLLaMa 3B on the personachat-truecased dataset with 3 epochs of 500 steps.
Downloads · 30 days
7
7% of all-time downloads
All-time downloads
101
Public
Repo size
10.7 MB
Likes
0
Public
Click a slice to open those files.
.bin10.7 MB · 100%
From the Hugging Face model README
This is a LoRA finetune of OpenLLaMa 3B on the personachat-truecased dataset with 3 epochs of 500 steps.
Before using this model, you must first add these extra tokens:
tokenizer.add_special_tokens({"additional_special_tokens": ["<|human|>", "<|bot|>", "<|endoftext|>"]})
model.resize_token_embeddings(len(tokenizer))
The model is finetuned with the format is as follows:
Personality:
- [...]
- [...]
<|human|>Hi there!<|endoftext|><|bot|>Hello!<|endoftext|>
To use this model, you must first define the personalities.
personalities = """Personality:
- [...]
- [...]
"""
Then, follow the format:
user = input(">>> ")
prompt = f"{personalities}<|human|>{user}<|endoftext|><|bot|>"
[model name]-finetuned-[dataset]-e[number of epochs]-s[number of steps]
The following bitsandbytes quantization config was used during training: