yuyijiong commited on
Commit
c6a4dee
·
1 Parent(s): 37ccd89

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -6
README.md CHANGED
@@ -54,11 +54,11 @@ result={'ave match score of weight (1, 1, 1, 1)': 0.375,
54
 
55
  ### Inputs
56
  *List all input arguments in the format below*
57
- - **predictions** *(List[str]): 模型生成的四元组,列表中每个字符串代表一个样本的生成结果.*
58
- - **references** *(Union[List[str],List[List[str]]):
59
  人工标注的四元组,列表中每个字符串代表一个样本的标签.如果列表元素为list,代表多个reference,评估时取最高分*
60
- - **weights** *(Tuple[float, float, float, float]):默认为(1,1,1,1),分别代表四个方面的评估指标的权重*
61
- - **tuple_len** *(str): indicate the format of the quad, see the following mapping
62
  指示四元组的格式,默认为'0123'。对应关系如下所示*
63
  ```
64
  {'0123': "四元组(对象 | 观点 | 方面 | 极性)",
@@ -71,8 +71,8 @@ result={'ave match score of weight (1, 1, 1, 1)': 0.375,
71
  '13':'二元组(观点 | 极性)',
72
  '3':'单元素(极性)'}
73
  ```
74
- - **sep_token1**: the token to seperate quads 分割不同四元组的token
75
- - **sep_token2**: the token to seperate units of one quad 四元组中不同元素之间的分隔token
76
 
77
  ### Output Values
78
 
 
54
 
55
  ### Inputs
56
  *List all input arguments in the format below*
57
+ - **predictions** *(`List[str]`): 模型生成的四元组,列表中每个字符串代表一个样本的生成结果.*
58
+ - **references** *(`Union[List[str],List[List[str]]`):
59
  人工标注的四元组,列表中每个字符串代表一个样本的标签.如果列表元素为list,代表多个reference,评估时取最高分*
60
+ - **weights** *(`Tuple[float, float, float, float]`,*optional*, defaults to (1,1,1,1)):分别代表(对象,观点,方面,极性)四个方面的评估指标的权重*
61
+ - **tuple_len** (`str`, *optional*, defaults to "0123"): indicate the format of the quad, see the following mapping
62
  指示四元组的格式,默认为'0123'。对应关系如下所示*
63
  ```
64
  {'0123': "四元组(对象 | 观点 | 方面 | 极性)",
 
71
  '13':'二元组(观点 | 极性)',
72
  '3':'单元素(极性)'}
73
  ```
74
+ - **sep_token1** (`str`, *optional*, defaults to " & "): the token to seperate quads 分割不同四元组的token
75
+ - **sep_token2** (`str`, *optional*, defaults to " & "): the token to seperate units of one quad 四元组中不同元素之间的分隔token
76
 
77
  ### Output Values
78