Update README.md
Browse files
README.md
CHANGED
|
@@ -39,7 +39,7 @@ The input for baseline testing meets the following format:
|
|
| 39 |
```python
|
| 40 |
根据案情描述和已有步骤仅给出一个推理。如果是结论则直接输出<e></e>,例如<e>盗窃罪</e>。如果是步骤则直接输出<p></p>,例如<p>步骤1:…</p>\n案情描述:{inputs}\n已有推理步骤:\n{steps}\n
|
| 41 |
```
|
| 42 |
-
In this regard, we have provided a simple processing method in the
|
| 43 |
```python
|
| 44 |
from main import get_args
|
| 45 |
from utils.warp import WarpLJP
|
|
@@ -60,7 +60,7 @@ sh train.sh
|
|
| 60 |
```
|
| 61 |
The reward model in inference can be loaded by adding --reward_model_path to the command.
|
| 62 |
|
| 63 |
-
The evaluation script is located in
|
| 64 |
```python
|
| 65 |
{"x": "被告人史某...", "y": "<e>盗窃罪</e>", "pred": "<e>盗窃罪</e>"}
|
| 66 |
```
|
|
|
|
| 39 |
```python
|
| 40 |
根据案情描述和已有步骤仅给出一个推理。如果是结论则直接输出<e></e>,例如<e>盗窃罪</e>。如果是步骤则直接输出<p></p>,例如<p>步骤1:…</p>\n案情描述:{inputs}\n已有推理步骤:\n{steps}\n
|
| 41 |
```
|
| 42 |
+
In this regard, we have provided a simple processing method in the '\code':
|
| 43 |
```python
|
| 44 |
from main import get_args
|
| 45 |
from utils.warp import WarpLJP
|
|
|
|
| 60 |
```
|
| 61 |
The reward model in inference can be loaded by adding --reward_model_path to the command.
|
| 62 |
|
| 63 |
+
The evaluation script is located in 'code/utils/matrix'. We employ micro-F1 and macro-F1 as fundamental evaluation metrics. The model's output adheres to the following format:
|
| 64 |
```python
|
| 65 |
{"x": "被告人史某...", "y": "<e>盗窃罪</e>", "pred": "<e>盗窃罪</e>"}
|
| 66 |
```
|