mdumandag commited on
Commit
50ed2f3
·
1 Parent(s): 5efb24f

fix formatting

Browse files
Files changed (1) hide show
  1. README.md +5 -3
README.md CHANGED
@@ -98,7 +98,9 @@ Alternatively, you can stream portions of the dataset as needed.
98
  ```python
99
  from datasets import load_dataset
100
 
101
- dataset = load_dataset("Upstash/wikipedia-2024-06-bge-m3", "en", split="train", streaming=True)
 
 
102
 
103
  for data in dataset:
104
  data_id = data["id"]
@@ -135,8 +137,8 @@ from upstash_vector import Index
135
  # You can create Upstash Vector with dimension set to 1024,
136
  # and similarity search function to dot product.
137
  index = Index(
138
- url="https://upward-lion-77104-eu1-vector.upstash.io",
139
- token="ABUFMHVwd2FyZC1saW9uLTc3MTA0LWV1MWFkbWluWVdSaE5HRm1NREl0TWpObU15MDBZbUl6TFdKaVpUWXRNRGMwTWpVd01qQXpaR1Jq",
140
  )
141
 
142
  vectors = []
 
98
  ```python
99
  from datasets import load_dataset
100
 
101
+ dataset = load_dataset(
102
+ "Upstash/wikipedia-2024-06-bge-m3", "en", split="train", streaming=True
103
+ )
104
 
105
  for data in dataset:
106
  data_id = data["id"]
 
137
  # You can create Upstash Vector with dimension set to 1024,
138
  # and similarity search function to dot product.
139
  index = Index(
140
+ url="<UPSTASH_VECTOR_REST_URL>",
141
+ token="<UPSTASH_VECTOR_REST_TOKEN>",
142
  )
143
 
144
  vectors = []