Skip to content

Commit

Permalink
add hypermode.json eeeee pls work
Browse files Browse the repository at this point in the history
  • Loading branch information
jairad26 authored Mar 6, 2024
1 parent f57c56b commit 3a032e8
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions hypermode.json
Original file line number Diff line number Diff line change
@@ -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"
]
}
]
}

0 comments on commit 3a032e8

Please sign in to comment.