Update README.md
Browse files
README.md
CHANGED
|
@@ -8,7 +8,15 @@ This is a repo created to keep a collection of quantized bert models in ggml for
|
|
| 8 |
### usage
|
| 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 test it out.
|
| 10 |
|
| 11 |
-
###
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
```
|
| 13 |
{
|
| 14 |
"time": {
|
|
|
|
| 8 |
### usage
|
| 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 test it out.
|
| 10 |
|
| 11 |
+
### embeddings sample
|
| 12 |
+
|
| 13 |
+
```
|
| 14 |
+
./main -m small -p "word"
|
| 15 |
+
[0.0698, -0.0024, -0.0153, 0.0193, -0.1060, -0.0278, 0.1424, -0.0056, -0.0536...
|
| 16 |
+
```
|
| 17 |
+
|
| 18 |
+
### api sample
|
| 19 |
+
|
| 20 |
```
|
| 21 |
{
|
| 22 |
"time": {
|