Open bensonbs opened 10 months ago
目前的版本支援 AFS Cloud 及 CCS for GAI 版本。
從你的 json 資料中看到,'model': 'tws-ffm-176b-0509-2000'
可能不是 for AFS Cloud or CCS for GAI。請再幫忙確認一下,謝謝!
我順利連上了分享一下設置,Github文檔中的API_URL
可能沒有更新,與官方文檔有所不同。
'ffm-7b-finetune' : {
"API_URL" : "https://203-***-***-185.ccs.twcc.ai:5***0/text-generation/api/models/generate",
"MODEL_NAME" : "mission-1f23c27b-****-****-****-0bc8f839e0f0",
"API_KEY" : "73cc555b-****-****-****-b3498a822f85"
},
'embedded' : {
"API_URL" : "https://203-***-***-185.ccs.twcc.ai:5***5/embeddings/api/embeddings",
"API_KEY" : "9eaa731c-****-****-****-51b7f8c9846b"
}
thanks!
will update the info.
請問Cloud 服務僅支援AFS任務嗎?我使用TWCC預設得到錯誤
http error: Internal Server Error
ffm.predict('你好')