From 3a032e8ca367fef89be6e0af24f859a0b05966f1 Mon Sep 17 00:00:00 2001 From: Jai Radhakrishnan <55522316+jairad26@users.noreply.github.com> Date: Wed, 6 Mar 2024 07:31:37 -0800 Subject: [PATCH] add hypermode.json eeeee pls work --- hypermode.json | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 hypermode.json 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" + ] + } + ] +}