Spaces:
Build error
Build error
Update Space (evaluate main: 3df77b42)
Browse files- README.md +1 -1
- 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@
|
|
|
1 |
+
git+https://github.com/huggingface/evaluate.git@3df77b424f0aad064137f6fbe3d322c6ae91d7de
|