Spaces:
Runtime error
Runtime error
github-actions
commited on
Commit
•
d9a074d
1
Parent(s):
917008b
chore(auto): update changelog and version [0.7.0]
Browse files- README.md +1 -1
- requirements.txt +1 -1
README.md
CHANGED
@@ -65,7 +65,7 @@ Each of the scores is in range `[0, 1]`, where `1` is the best score.
|
|
65 |
|
66 |
[//]: # (*Give code examples of the metric being used. Try to include examples that clear up any potential ambiguity left from the metric description above. If possible, provide a range of examples that show both typical and atypical results, as well as examples where a variety of input parameters are passed.*)
|
67 |
|
68 |
-
Using pip package (`pip install codebleu`):
|
69 |
```python
|
70 |
from codebleu import calc_codebleu
|
71 |
|
|
|
65 |
|
66 |
[//]: # (*Give code examples of the metric being used. Try to include examples that clear up any potential ambiguity left from the metric description above. If possible, provide a range of examples that show both typical and atypical results, as well as examples where a variety of input parameters are passed.*)
|
67 |
|
68 |
+
Using pip package (`pip install codebleu`), also you have to install tree-sitter language you need (e.g. `pip install tree-sitter-python` or `pip install codebleu[all]` to install all languages):
|
69 |
```python
|
70 |
from codebleu import calc_codebleu
|
71 |
|
requirements.txt
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
git+https://github.com/huggingface/evaluate@main
|
2 |
-
codebleu>=0.
|
|
|
1 |
git+https://github.com/huggingface/evaluate@main
|
2 |
+
codebleu>=0.5.0,<1.0.0
|