ImadSaddik commited on
Commit
dda9f59
·
1 Parent(s): a3b464c

Updated the README file

Browse files
Files changed (1) hide show
  1. README.md +51 -0
README.md CHANGED
@@ -1,3 +1,54 @@
1
  ---
2
  license: mit
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
  ---
4
+
5
+ # Benchmark embedding models course
6
+
7
+ This repository gives you access to large datasets for the embedding models course. Since these files are too big for GitHub, you’ll find them in the [datasets](./datasets/) folder. Each file includes:
8
+
9
+ - Text chunks taken from documents.
10
+ - Questions that can be answered using those chunks.
11
+
12
+ ## Data format
13
+
14
+ Each JSON file looks like this:
15
+
16
+ ```json
17
+ {
18
+ "chunks": [
19
+ {
20
+ "id": 0,
21
+ "text_chunk": "",
22
+ "embeddings": {
23
+ "gemini-embedding-001": [],
24
+ }
25
+ },
26
+ ...
27
+ ],
28
+ "question_answer_pairs": [
29
+ {
30
+ "chunk_id": 0,
31
+ "question": "",
32
+ "embeddings": {
33
+ "gemini-embedding-001": [],
34
+ }
35
+ },
36
+ ...
37
+ ]
38
+ }
39
+ ```
40
+
41
+ - Every `text_chunk` and `question` has an `embeddings` field.
42
+ - The `embeddings` field stores dense vectors from different models.
43
+
44
+ ## How to use
45
+
46
+ 1. Download this repository, or just the JSON files you need.
47
+ 2. Put the files in the `data/embeddings/` folder of the [Benchmark_Embedding_Models](https://github.com/ImadSaddik/Benchmark_Embedding_Models) repository.
48
+ 3. You’ll use these files in the following notebooks:
49
+ - [5_1_BenchmarkModelsManually.ipynb](https://github.com/ImadSaddik/Benchmark_Embedding_Models/blob/main/notebooks/5_1_BenchmarkModelsManually.ipynb)
50
+ - [5_2_BenchmarkModelsRanx.ipynb](https://github.com/ImadSaddik/Benchmark_Embedding_Models/blob/main/notebooks/5_2_BenchmarkModelsRanx.ipynb)
51
+
52
+ ## License
53
+
54
+ This repository is licensed under the [MIT License](./LICENSE).