Pavithiran
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Sentence Embeddings Model
|
2 |
+
|
3 |
+
This model uses `SentenceTransformer` with the `all-MiniLM-L6-v2` pre-trained model to generate sentence embeddings.
|
4 |
+
|
5 |
+
## API Endpoint
|
6 |
+
|
7 |
+
**POST** `/models/{model_id}`
|
8 |
+
|
9 |
+
### Request Format
|
10 |
+
|
11 |
+
```json
|
12 |
+
{
|
13 |
+
"inputs": {
|
14 |
+
"source_sentence": "string",
|
15 |
+
"sentences": ["string", "string", ...]
|
16 |
+
}
|
17 |
+
}
|