File size: 263 Bytes
7c8c4c9
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
def format_finance(example):
    return {
        "text": f"""
Instruction: You are a financial analyst. Analyze and explain clearly.
Input: {example.get('question', example.get('input', ''))}
Response: {example.get('answer', example.get('output', ''))}
"""
    }