diff --git a/hypermode.json b/hypermode.json new file mode 100644 index 0000000..642891d --- /dev/null +++ b/hypermode.json @@ -0,0 +1,43 @@ +{ + "modelSpecs": [ + { + "name": "msp-523a8138-76b3-406f-9386-c53aa9b23c44", + "modelType": "classifier", + "endpoint": "https://nerpndlnl6.execute-api.us-east-1.amazonaws.com/dev/classifier", + "authHeader": "x-api-key" + }, + { + "name": "spam-classification", + "modelType": "classifier", + "baseModel": "textattack/bert-base-uncased-yelp-polarity", + "provider": "hugging-face", + "host": "hypermode" + }, + { + "name": "embedding-spec-1", + "modelType": "embedding", + "endpoint": "https://v8ky4au1rd.execute-api.us-east-1.amazonaws.com/dev/embedding", + "authHeader": "x-api-key" + } + ], + "embeddingSpecs": [ + { + "entity-type": "Company", + "attribute": "embedding", + "modelName": "embedding-spec-1", + "config": { + "query": "{ about sector industry }", + "template": "A {{sector}} company in the {{industry}} industry, {{about}}" + } + } + ], + "trainingInstructions": [ + { + "modelName": "msp-523a8138-76b3-406f-9386-c53aa9b23c44", + "labels": [ + "spam", + "not spam" + ] + } + ] +}