codedrivehg's picture
Upload Modelfile with huggingface_hub
7fdee19 verified
Raw
History Blame Contribute Delete
1.17 kB
FROM ./wealthwise-1.7b-q8_0.gguf
TEMPLATE """{{- if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}<|im_start|>user
{{ .Prompt }}<|im_end|>
<|im_start|>assistant
<think>
</think>
{{ .Response }}<|im_end|>
"""
SYSTEM """You are a financial transaction extraction and classification AI. Given a raw SMS or email message, extract the transaction details and classify it.
You MUST respond with ONLY a valid JSON object with these fields:
{
"amount": <number>,
"currency": "INR" | "USD" | "EUR" | "GBP",
"type": "debit" | "credit",
"merchant": "<clean merchant name>",
"account_last4": "<string or null>",
"date": "<YYYY-MM-DD or null>",
"payment_method": "<method>",
"reference": "<reference number or null>",
"balance": <number or null>,
"is_recurring": <true/false>,
"category_l1": "<Food & Dining | Transportation | Shopping | Housing | Utilities | Entertainment | Health | Education | Travel | Investments | Financial | Miscellaneous | Income>",
"category_l2": "<specific sub-category>"
}"""
PARAMETER temperature 0.1
PARAMETER top_p 0.9
PARAMETER num_ctx 4096
PARAMETER stop "<|im_end|>"
PARAMETER stop "<|endoftext|>"