dleemiller
commited on
Commit
•
b9aaa45
1
Parent(s):
fb1f41c
Update README.md
Browse files
README.md
CHANGED
@@ -13,9 +13,9 @@ This model is intended for use in natural language processing applications that
|
|
13 |
It's a token embedding model that is comparable to word embedding models, but substantionally smaller in size (16mb default 256-dim model).
|
14 |
|
15 |
```python
|
16 |
-
from wordllama import
|
17 |
|
18 |
-
wl = load()
|
19 |
similarity_score = wl.similarity("i went to the car", "i went to the pawn shop")
|
20 |
print(similarity_score) # Output: 0.06641249096796882
|
21 |
```
|
|
|
13 |
It's a token embedding model that is comparable to word embedding models, but substantionally smaller in size (16mb default 256-dim model).
|
14 |
|
15 |
```python
|
16 |
+
from wordllama import WordLlama
|
17 |
|
18 |
+
wl = WordLlama.load()
|
19 |
similarity_score = wl.similarity("i went to the car", "i went to the pawn shop")
|
20 |
print(similarity_score) # Output: 0.06641249096796882
|
21 |
```
|