shahrukhx01
commited on
Commit
•
defa6e1
1
Parent(s):
1874be0
Update README.md
Browse files
README.md
CHANGED
@@ -29,6 +29,7 @@ fuzzy_embeddings = model.encode(words)
|
|
29 |
print("Fuzzy Match score:")
|
30 |
print(util.cos_sim(fuzzy_embeddings[0], fuzzy_embeddings[1]))
|
31 |
```
|
|
|
32 |
```python
|
33 |
import torch
|
34 |
from transformers import AutoTokenizer, AutoModel
|
|
|
29 |
print("Fuzzy Match score:")
|
30 |
print(util.cos_sim(fuzzy_embeddings[0], fuzzy_embeddings[1]))
|
31 |
```
|
32 |
+
## Usage (HuggingFace Transformers)
|
33 |
```python
|
34 |
import torch
|
35 |
from transformers import AutoTokenizer, AutoModel
|