alirezamsh commited on
Commit
93f5a95
·
1 Parent(s): 55bd640

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -7
README.md CHANGED
@@ -24,24 +24,22 @@ RQUGE score takes three main inputs; "generated_questions" (list of generated qu
24
 
25
  ```python
26
  from evaluate import load
27
-
28
- rqugescore = load("rquge_score")
29
-
30
  generated_questions = ["how is the weather?"]
31
  contexts = ["the weather is sunny"]
32
  answers = ["sunny"]
33
  results = rquge.compute(generated_questions=generated_questions, contexts=contexts, answers=answers)
34
- print([round(v, 2) for v in results["score"]])
35
- >>> [5.0]
36
  ```
37
 
38
  ## Output Values
39
 
40
  RQUGE score outputs a dictionary with the following values:
41
 
42
- `mean_score`: The average RQUGE score over the input texts, ranging from 1 to 5
43
 
44
- `instance_score`: Invidivual RQUGE score of each instance in the input, ranging from 1 to 5
45
 
46
 
47
  ## Citation
 
24
 
25
  ```python
26
  from evaluate import load
27
+ rqugescore = load("alirezamsh/rquge")
 
 
28
  generated_questions = ["how is the weather?"]
29
  contexts = ["the weather is sunny"]
30
  answers = ["sunny"]
31
  results = rquge.compute(generated_questions=generated_questions, contexts=contexts, answers=answers)
32
+ print(results["mean_score"])
33
+ >>> [5.05]
34
  ```
35
 
36
  ## Output Values
37
 
38
  RQUGE score outputs a dictionary with the following values:
39
 
40
+ ``` mean_score ```: The average RQUGE score over the input texts, ranging from 1 to 5
41
 
42
+ ``` instance_score ```: Invidivual RQUGE score of each instance in the input, ranging from 1 to 5
43
 
44
 
45
  ## Citation