Update README.md
Browse files
README.md
CHANGED
|
@@ -17,10 +17,6 @@ You can utilize [bert.cpp](https://github.com/skeskinen/bert.cpp) as usual or us
|
|
| 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 |
|
|
@@ -28,12 +24,14 @@ We are planning to update the list to always support lastest open-source models.
|
|
| 28 |
| medium | 21.3 |
|
| 29 |
| large | 68.8 |
|
| 30 |
|
|
|
|
|
|
|
|
|
|
| 31 |
|
| 32 |
```
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
}
|
| 39 |
```
|
|
|
|
| 17 |
```
|
| 18 |
|
| 19 |
### api reference
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
| api | size |
|
| 21 |
| ---- | ---- |
|
| 22 |
| nano | 11.2 |
|
|
|
|
| 24 |
| medium | 21.3 |
|
| 25 |
| large | 68.8 |
|
| 26 |
|
| 27 |
+
We are planning to update the list to always support the lastest open-source models.
|
| 28 |
+
|
| 29 |
+
### api sample
|
| 30 |
|
| 31 |
```
|
| 32 |
+
// similarity between "I love this" and "I hate this"
|
| 33 |
+
nano: 0.4614074121704735
|
| 34 |
+
small: 0.6553150807627873
|
| 35 |
+
medium: 0.8263292187144999
|
| 36 |
+
large: 0.8567815005348627
|
|
|
|
| 37 |
```
|