1022
Browse files
README.md
CHANGED
|
@@ -20182,8 +20182,8 @@ embeddings = model.encode(
|
|
| 20182 |
print(embeddings)
|
| 20183 |
```
|
| 20184 |
|
| 20185 |
-
We add instruction for asymmetric tasks: retrieval, reranking, classification and clustering.
|
| 20186 |
-
|
| 20187 |
If you want to add instruction to the query (no instruction for the corpus), you can use the model like this:
|
| 20188 |
|
| 20189 |
```python
|
|
@@ -20207,5 +20207,18 @@ print(embeddings)
|
|
| 20207 |
```
|
| 20208 |
|
| 20209 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20210 |
## Contact
|
| 20211 |
If you encounter any issue, feel free to contact us via the email: [email protected]
|
|
|
|
| 20182 |
print(embeddings)
|
| 20183 |
```
|
| 20184 |
|
| 20185 |
+
<!-- We add instruction for asymmetric tasks: retrieval, reranking, classification and clustering. -->
|
| 20186 |
+
We add instruction for classification and clustering.
|
| 20187 |
If you want to add instruction to the query (no instruction for the corpus), you can use the model like this:
|
| 20188 |
|
| 20189 |
```python
|
|
|
|
| 20207 |
```
|
| 20208 |
|
| 20209 |
|
| 20210 |
+
## Citation
|
| 20211 |
+
Please cite the repo if you use the model or code in this repo.
|
| 20212 |
+
|
| 20213 |
+
```
|
| 20214 |
+
@article{hu2025kalm,
|
| 20215 |
+
title={KaLM-Embedding: Superior Training Data Brings A Stronger Embedding Model},
|
| 20216 |
+
author={Hu, Xinshuo and Shan, Zifei and Zhao, Xinping and Sun, Zetian and Liu, Zhenyu and Li, Dongfang and Ye, Shaolin and Wei, Xinyuan and Chen, Qian and Hu, Baotian and others},
|
| 20217 |
+
journal={arXiv preprint arXiv:2501.01028},
|
| 20218 |
+
year={2025}
|
| 20219 |
+
}
|
| 20220 |
+
```
|
| 20221 |
+
|
| 20222 |
+
|
| 20223 |
## Contact
|
| 20224 |
If you encounter any issue, feel free to contact us via the email: [email protected]
|