File size: 685 Bytes
24eb986
 
 
 
 
 
 
 
 
90e61f0
24eb986
 
a82ba19
24eb986
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from pydantic_settings import BaseSettings
from typing import List


class Settings(BaseSettings):
    task: str = 'text-classification'
    models: List[str] = [
        'ProsusAI/finbert',
        'tabularisai/multilingual-sentiment-analysis',
        'bardsai/finance-sentiment-zh-base'
    ]
    
    sample_text: str = 'Reliance Risk Management Framework provides a consistent, clear and robust framework for managing risks across the group and thus is fundamental to our performance and progress. The integrated risk framework helps the Group to ensure that activities to manage risk are designed, implemented and operating effectively'
    
    title: str = 'Sentiment analyzer'