Update README.md
Browse files
README.md
CHANGED
@@ -33,11 +33,14 @@ size_categories:
|
|
33 |
|
34 |
# local emoji semantic search
|
35 |
|
36 |
-
Emoji, their text descriptions and precomputed text embeddings with [Alibaba-NLP/gte-large-en-v1.5](https://hf.co/Alibaba-NLP/gte-large-en-v1.5) for use in emoji semantic search.
|
37 |
|
38 |
-
|
39 |
-
|
40 |
-
|
|
|
|
|
|
|
41 |
|
42 |
## basic inference example
|
43 |
|
|
|
33 |
|
34 |
# local emoji semantic search
|
35 |
|
36 |
+
Emoji, their text descriptions and precomputed text embeddings with [Alibaba-NLP/gte-large-en-v1.5](https://hf.co/Alibaba-NLP/gte-large-en-v1.5) for use in emoji semantic search.
|
37 |
|
38 |
+
|
39 |
+
This work is largely inspired by the original [emoji-semantic-search repo](https://archive.md/ikcze) and aims to provide the data for fully local use/alternative, as the [demo](https://www.emojisearch.app/) is [not working](https://github.com/lilianweng/emoji-semantic-search/issues/6#issue-2724936875) as of a few days ago.
|
40 |
+
|
41 |
+
- This repo only contains a precomputed embedding "database", equivalent to [server/emoji-embeddings.jsonl.gz](https://github.com/lilianweng/emoji-semantic-search/blob/6a6f351852b99e7b899437fa31309595a9008cd1/server/emoji-embeddings.jsonl.gz) in the original repo, to be used as a database for semantic search, replacing OpenAI calls with a local model
|
42 |
+
- If working with the original repo, the [inference class](https://github.com/lilianweng/emoji-semantic-search/blob/6a6f351852b99e7b899437fa31309595a9008cd1/server/app.py#L18) also needs to be updated to use SentenceTransformers instead of OpenAI calls
|
43 |
+
- The provided inference code is almost instant even on CPU 🔥
|
44 |
|
45 |
## basic inference example
|
46 |
|