| { | |
| "task": "visual-question-answering", | |
| "model": { | |
| "framework": "pytorch", | |
| "type": "causal-lm" | |
| }, | |
| "inference": { | |
| "max_length": 512, | |
| "temperature": 0.7, | |
| "top_p": 0.9 | |
| }, | |
| "inputs": { | |
| "question": { | |
| "type": "string", | |
| "description": "The question about the tongue image for TCM diagnosis (e.g., '根据图片判断舌诊内容')" | |
| }, | |
| "image": { | |
| "type": "string", | |
| "description": "Base64 encoded tongue image" | |
| } | |
| }, | |
| "outputs": { | |
| "answer": { | |
| "type": "string", | |
| "description": "The TCM tongue diagnosis analysis" | |
| } | |
| }, | |
| "description": "ViTCM_LLM - Traditional Chinese Medicine Tongue Diagnosis Model" | |
| } |