Update README.md
Browse files
README.md
CHANGED
|
@@ -9,6 +9,18 @@ This is a repo created to keep a collection of quantized bert models in ggml for
|
|
| 9 |
You can utilize [bert.cpp](https://github.com/skeskinen/bert.cpp) as usual or use [our new api](https://rapidapi.com/nohakcoffee/api/simple-similarity) to quickly prototype on real use-case scenarios for text similarity.
|
| 10 |
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
| api | size |
|
| 13 |
| ---- | ---- |
|
| 14 |
| nano | 11.2 |
|
|
@@ -17,19 +29,7 @@ You can utilize [bert.cpp](https://github.com/skeskinen/bert.cpp) as usual or us
|
|
| 17 |
| large | 68.8 |
|
| 18 |
|
| 19 |
|
| 20 |
-
We are planning to update the list to always support lastest open-source models.
|
| 21 |
-
|
| 22 |
-
### embeddings sample
|
| 23 |
-
|
| 24 |
-
```
|
| 25 |
-
./main -m small -p "word"
|
| 26 |
-
[0.0698, -0.0024, -0.0153, 0.0193, -0.1060, -0.0278, 0.1424, -0.0056, -0.0536...
|
| 27 |
```
|
| 28 |
-
|
| 29 |
-
### api sample
|
| 30 |
-
|
| 31 |
-
```
|
| 32 |
-
|
| 33 |
{ ...,
|
| 34 |
"similarity": {
|
| 35 |
"semantic": 0.035270897102758283,
|
|
|
|
| 9 |
You can utilize [bert.cpp](https://github.com/skeskinen/bert.cpp) as usual or use [our new api](https://rapidapi.com/nohakcoffee/api/simple-similarity) to quickly prototype on real use-case scenarios for text similarity.
|
| 10 |
|
| 11 |
|
| 12 |
+
### embeddings sample
|
| 13 |
+
|
| 14 |
+
```
|
| 15 |
+
./main -m small -p "word"
|
| 16 |
+
// [0.0698, -0.0024, -0.0153, 0.0193, -0.1060, -0.0278, 0.1424, -0.0056, -0.0536...
|
| 17 |
+
```
|
| 18 |
+
|
| 19 |
+
### api reference
|
| 20 |
+
|
| 21 |
+
We are planning to update the list to always support lastest open-source models.
|
| 22 |
+
|
| 23 |
+
|
| 24 |
| api | size |
|
| 25 |
| ---- | ---- |
|
| 26 |
| nano | 11.2 |
|
|
|
|
| 29 |
| large | 68.8 |
|
| 30 |
|
| 31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
{ ...,
|
| 34 |
"similarity": {
|
| 35 |
"semantic": 0.035270897102758283,
|