Text Generation
GGUF
English
How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="hanshan1988/unsloth-Qwen2.5-7B-banks-review-gguf",
	filename="unsloth.Q4_K_M.gguf",
)
output = llm(
	"Once upon a time,",
	max_tokens=512,
	echo=True
)
print(output)

Base Model

Unsloth implementation of Qwen2.5-7B: unsloth/Qwen2.5-7B

Finetune Method

Supervised fine tuning (SFT)

Prompt Template

prompt_tmpl = """Below is a customer comment relating to their banking experience. \
Please output the banking aspects and their related sentiments expressed by the customer. \
Banking aspects must be short nouns or noun-phrases containing no more than 2 words that appear in the comment. \
Sentiments must be either positive, negative or neutral.

Output must follow the following format with NO explanations:
(credit card, positive)
(long queue, negative)
(app experience, neutral)

### Comment:
{comment}

### Response:
"""
Downloads last month
22
GGUF
Model size
8B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for hanshan1988/unsloth-Qwen2.5-7B-banks-review-gguf

Base model

Qwen/Qwen2.5-7B
Quantized
(13)
this model

Dataset used to train hanshan1988/unsloth-Qwen2.5-7B-banks-review-gguf