lvwerra HF staff commited on
Commit
c2c1479
1 Parent(s): 43a0175

Update Space (evaluate main: 3df77b42)

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. requirements.txt +1 -1
README.md CHANGED
@@ -67,7 +67,7 @@ Example with multiple duplicates and `list_duplicates=True`:
67
  ```python
68
  >>> data = ["hello sun", "goodbye moon", "hello sun", "foo bar", "foo bar"]
69
  >>> duplicates = evaluate.load("text_duplicates")
70
- >>> results = duplicates.compute(data=data)
71
  >>> print(results)
72
  {'duplicate_fraction': 0.4, 'duplicates_list': {'hello sun': 2, 'foo bar': 2}}
73
  ```
 
67
  ```python
68
  >>> data = ["hello sun", "goodbye moon", "hello sun", "foo bar", "foo bar"]
69
  >>> duplicates = evaluate.load("text_duplicates")
70
+ >>> results = duplicates.compute(data=data, list_duplicates=True)
71
  >>> print(results)
72
  {'duplicate_fraction': 0.4, 'duplicates_list': {'hello sun': 2, 'foo bar': 2}}
73
  ```
requirements.txt CHANGED
@@ -1 +1 @@
1
- git+https://github.com/huggingface/evaluate.git@d5ecbe472557e6ec3cf6173e6fe9b4fe67c4919e
 
1
+ git+https://github.com/huggingface/evaluate.git@3df77b424f0aad064137f6fbe3d322c6ae91d7de