Pringled commited on
Commit
400732e
·
verified ·
1 Parent(s): 0cc6798

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +32 -17
README.md CHANGED
@@ -1,19 +1,34 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: name
5
- dtype: string
6
- - name: id
7
- dtype: int64
8
- splits:
9
- - name: train
10
- num_bytes: 110
11
- num_examples: 5
12
- download_size: 1170
13
- dataset_size: 110
14
- configs:
15
- - config_name: default
16
- data_files:
17
- - split: train
18
- path: data/train-*
19
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ tags:
3
+ - vicinity
4
+ - vector-store
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  ---
6
+
7
+ # Dataset Card for minishlab/my-vicinity-repo
8
+
9
+ This dataset was created using the [vicinity](https://github.com/MinishLab/vicinity) library, a lightweight nearest neighbors library with flexible backends.
10
+
11
+ It contains a vector space with 5 items.
12
+
13
+ ## Usage
14
+
15
+ You can load this dataset using the following code:
16
+
17
+ ```python
18
+ from vicinity import Vicinity
19
+ vicinity = Vicinity.load_from_hub("minishlab/my-vicinity-repo")
20
+ ```
21
+
22
+ After loading the dataset, you can use the `vicinity.query` method to find the nearest neighbors to a vector.
23
+
24
+ ## Configuration
25
+
26
+ The configuration of the dataset is stored in the `config.json` file. The vector backend is stored in the `backend` folder.
27
+
28
+ ```bash
29
+ {
30
+ "metadata": {},
31
+ "backend_type": "basic",
32
+ "model_name_or_path": "local/my-vicinity-repo"
33
+ }
34
+ ```