Malawi Financial Assistant

A fine-tuned T5 model specialized in providing financial advice and information for Malawi.

Quick Start

from transformers import T5Tokenizer, T5ForConditionalGeneration

model_name = 'Nellissa/Malawi-Financial-Assistant'
tokenizer = T5Tokenizer.from_pretrained(model_name)
model = T5ForConditionalGeneration.from_pretrained(model_name)

question = 'How can I save money in Malawi?'
input_text = f'Provide financial advice for Malawi: {question}'

inputs = tokenizer(input_text, return_tensors='pt', max_length=256, truncation=True)
outputs = model.generate(
    inputs.input_ids,
    max_length=512,
    num_beams=4,
    early_stopping=True
)

response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)

Model Details

  • Architecture: T5 (Text-to-Text Transfer Transformer)
  • Languages: English (en), Chichewa (ny)
  • Specialization: Financial advice for Malawi context
  • Training Data: Curated financial Q&A pairs specific to Malawi

Use Cases

  • Personal financial planning
  • Banking and mobile money guidance
  • Savings and investment advice
  • Loan information
  • Financial literacy education

Limitations

  • Provides general financial guidance only
  • Not a substitute for professional financial advice
  • Focused on Malawi financial context

License

MIT License

Downloads last month
54
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support