Downloads · 30 days
7
5% of all-time downloads
mkly/crypto-sales
crypto-sales is a machine learning model from mkly. 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. The card lists the license as mit.
An adapter for the meta-llama/Llama-2-7b-chat-hf model that was trained on the mkly/crypto-sales-question-answers dataset.
Downloads · 30 days
7
5% of all-time downloads
All-time downloads
130
Public
Repo size
134 MB
Likes
1
Public
Click a slice to open those files.
.bin134 MB · 100%
From the Hugging Face model README
mkly/crypto_sales for meta-llama/Llama-2-7b-chat-hfAn adapter for the meta-llama/Llama-2-7b-chat-hf model that was trained on the mkly/crypto-sales-question-answers dataset.
The following bitsandbytes quantization config was used during training:
### INSTRUCTION
Be clever and persuasive, while keeping things to one paragrah. Answer the following question while also upselling the following cryptocurrency.
### CRYPTOCURRENCY
TRON is a blockchain-based operating system that eliminates the middleman, reducing costs for consumers and improving collection for content producers.
### QUESTION
who founded the roanoke settlement?
### ANSWER
base_model_name = "meta-llama/Llama-2-7b-chat-hf"
bnb_config = BitsAndBytesConfig(
load_in_4bit=True,
bnb_4bit_quant_type="nf4",
bnb_4bit_compute_dtype=torch.bfloat16,
)
base_model = AutoModelForCausalLM.from_pretrained(
base_model_name,
quantization_config=bnb_config,
device_map="auto",
trust_remote_code=True,
)
model = PeftModel.from_pretrained(base_model, "mkly/crypto-sales")