sebawita commited on
Commit
59c4b73
1 Parent(s): 83a2807

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -2
README.md CHANGED
@@ -13,13 +13,23 @@ configs:
13
  size_categories:
14
  - 100K<n<1M
15
  ---
 
 
 
 
 
 
 
 
 
 
16
  ## Loading dataset with vector embeddings
17
 
18
- You can load the dataset like this:
19
 
20
  ```python
21
  from datasets import load_dataset
22
- dataset = load_dataset("weaviate/wiki-sample", "openai-text-embedding-3-small", streaming=True)
23
  # dataset = load_dataset("weaviate/wiki-sample", "snowflake-arctic-embed", split="train", streaming=True)
24
 
25
  for item in dataset:
 
13
  size_categories:
14
  - 100K<n<1M
15
  ---
16
+
17
+ ## Loading dataset without vector embeddings
18
+
19
+ You can load the raw dataset without vectors, like this:
20
+
21
+ ```python
22
+ from datasets import load_dataset
23
+ dataset = load_dataset("weaviate/wiki-sample", split="train", streaming=True)
24
+ ```
25
+
26
  ## Loading dataset with vector embeddings
27
 
28
+ You can also load the dataset with vectors, like this:
29
 
30
  ```python
31
  from datasets import load_dataset
32
+ dataset = load_dataset("weaviate/wiki-sample", "openai-text-embedding-3-small", split="train", streaming=True)
33
  # dataset = load_dataset("weaviate/wiki-sample", "snowflake-arctic-embed", split="train", streaming=True)
34
 
35
  for item in dataset: