shuttie commited on
Commit
eb49f3e
1 Parent(s): bdaf2bf

update hf datasets example

Browse files
Files changed (1) hide show
  1. README.md +9 -3
README.md CHANGED
@@ -22,8 +22,8 @@ dataset_info:
22
  sequence: string
23
  splits:
24
  - name: test
25
- num_bytes: 89609915
26
- num_examples: 502939
27
  train-eval-index:
28
  - config: default
29
  task: sentence-similarity
@@ -67,10 +67,16 @@ A dataset in a [nixietune](https://github.com/nixiesearch/nixietune) compatible
67
 
68
  ## Usage
69
 
 
 
 
 
 
 
70
  ```python
71
  from datasets import load_dataset
72
 
73
- data = load_dataset('nixiesearch/beir-eval-hardneg')
74
  print(data["test"].features)
75
  ```
76
 
 
22
  sequence: string
23
  splits:
24
  - name: test
25
+ num_bytes: 226515502
26
+ num_examples: 3679
27
  train-eval-index:
28
  - config: default
29
  task: sentence-similarity
 
67
 
68
  ## Usage
69
 
70
+ To use with HF datasets:
71
+
72
+ ```bash
73
+ pip install datasets zstandard
74
+ ```
75
+
76
  ```python
77
  from datasets import load_dataset
78
 
79
+ data = load_dataset('nixiesearch/beir-eval-hard-negatives')
80
  print(data["test"].features)
81
  ```
82