Penny_V2 / model_config.json
pythonprincess's picture
Upload 5 files
a9113e0 verified
{
"penny-core-agent": {
"model_name": "google/gemma-7b-it",
"task": "text-generation",
"endpoint": "huggingface-api",
"api_url": "https://api-inference.huggingface.co/models/google/gemma-7b-it",
"timeout_seconds": 30,
"max_retries": 2,
"description": "Penny's core conversational AI for civic engagement responses"
},
"penny-doc-agent": {
"model_name": "microsoft/layoutlmv3-base",
"task": "pdf-extraction",
"endpoint": "huggingface-api",
"api_url": "https://api-inference.huggingface.co/models/microsoft/layoutlmv3-base",
"timeout_seconds": 45,
"max_retries": 2,
"description": "Document understanding and PDF extraction for civic documents"
},
"penny-translate-agent": {
"model_name": "facebook/nllb-200-distilled-600M",
"task": "translation",
"endpoint": "huggingface-api",
"api_url": "https://api-inference.huggingface.co/models/facebook/nllb-200-distilled-600M",
"timeout_seconds": 20,
"max_retries": 2,
"description": "Multilingual translation service for accessible civic information"
},
"penny-sentiment-agent": {
"model_name": "cardiffnlp/twitter-roberta-base-sentiment",
"task": "sentiment-analysis",
"endpoint": "huggingface-api",
"api_url": "https://api-inference.huggingface.co/models/cardiffnlp/twitter-roberta-base-sentiment",
"timeout_seconds": 15,
"max_retries": 2,
"description": "Sentiment analysis for community feedback and engagement monitoring"
},
"penny-bias-checker": {
"model_name": "facebook/bart-large-mnli",
"task": "bias-detection",
"endpoint": "huggingface-api",
"api_url": "https://api-inference.huggingface.co/models/facebook/bart-large-mnli",
"timeout_seconds": 20,
"max_retries": 2,
"description": "Bias detection to ensure fair and equitable civic information"
}
}