aravindhank
commited on
Commit
•
902c27c
1
Parent(s):
97d6817
Update README.md
Browse files
README.md
CHANGED
@@ -15,6 +15,7 @@ base_model:
|
|
15 |
- sarvamai/sarvam-1
|
16 |
pipeline_tag: sentence-similarity
|
17 |
---
|
|
|
18 |
# WordLLama - Indic
|
19 |
|
20 |
Inspired by WordLLama, trained using word embeddings of Saravam-1 models that supports most
|
@@ -27,10 +28,10 @@ Weights and tokenizer is dereived from sarvam-1, For license terms refer to htt
|
|
27 |
## How to use.
|
28 |
|
29 |
Install fork of WordLlama,
|
30 |
-
|
31 |
|
32 |
Download the weights and tokenizer,
|
33 |
-
|
34 |
|
35 |
Code can be used like this,
|
36 |
```
|
@@ -90,7 +91,4 @@ candidates = [
|
|
90 |
]
|
91 |
ranked_docs = wl.rank(query, candidates)
|
92 |
print(ranked_docs)
|
93 |
-
```
|
94 |
-
|
95 |
-
|
96 |
-
## Run code like this
|
|
|
15 |
- sarvamai/sarvam-1
|
16 |
pipeline_tag: sentence-similarity
|
17 |
---
|
18 |
+
|
19 |
# WordLLama - Indic
|
20 |
|
21 |
Inspired by WordLLama, trained using word embeddings of Saravam-1 models that supports most
|
|
|
28 |
## How to use.
|
29 |
|
30 |
Install fork of WordLlama,
|
31 |
+
```pip install -e wordllama @ git+https://github.com/tinisoft/WordLlama.git```
|
32 |
|
33 |
Download the weights and tokenizer,
|
34 |
+
```git clone https://huggingface.co/tinisoft/wordllama-indic && cd wordllama-indic```
|
35 |
|
36 |
Code can be used like this,
|
37 |
```
|
|
|
91 |
]
|
92 |
ranked_docs = wl.rank(query, candidates)
|
93 |
print(ranked_docs)
|
94 |
+
```
|
|
|
|
|
|