otacilio-psf
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -43,3 +43,22 @@ configs:
|
|
43 |
- split: train
|
44 |
path: data/train-*
|
45 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
- split: train
|
44 |
path: data/train-*
|
45 |
---
|
46 |
+
|
47 |
+
# Recipe Short - Dense and Sparse Embeddings Dataset
|
48 |
+
|
49 |
+
This dataset is based on the [rk404/recipe_short](https://huggingface.co/datasets/rk404/recipe_short) dataset. It includes dense and sparse embeddings for each recipe, generated using two specific models:
|
50 |
+
|
51 |
+
1. **Dense Embeddings**: Created using the `sentence-transformers/all-MiniLM-L6-v2` model with `fastembed` library.
|
52 |
+
2. **Sparse Embeddings**: Generated using the `Qdrant/bm25-all-minilm-l6-v2-attentions` model with `fastembed` library.
|
53 |
+
|
54 |
+
The embeddings were computed using GPU resources on Kaggle for efficient processing. This dataset is intended for tasks related to text similarity, search, and semantic information retrieval within recipe-related content.
|
55 |
+
|
56 |
+
|
57 |
+
### Sparse Embedding Model Reference
|
58 |
+
|
59 |
+
Sparse vector embedding model focuses on capturing the most important tokens from the text. It provides attention-based scores to highlight key terms, which can be beneficial for keyword-based search and sparse retrieval tasks.
|
60 |
+
|
61 |
+
You can find more about sparse embedding [here](https://qdrant.tech/articles/bm42/#:~:text=Despite%20all%20of%20its%20advantages,%20BM42) and [here](https://github.com/qdrant/bm42_eval/)
|
62 |
+
|
63 |
+
### Generation Code
|
64 |
+
|