From f6aed2acda3bff64ad0766eee78a2dde7f1203e2 Mon Sep 17 00:00:00 2001 From: Xiaoyao Xi <24541791+xixiaoyao@users.noreply.github.com> Date: Tue, 4 Feb 2020 18:08:48 +0800 Subject: [PATCH] Update README.md --- examples/classification/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/classification/README.md b/examples/classification/README.md index 5dea9e9..ecb641b 100644 --- a/examples/classification/README.md +++ b/examples/classification/README.md @@ -1,9 +1,9 @@ -## Examples 1: Classification +## Example 1: Classification This task is a sentiment analysis task. The following sections detail model preparation, dataset preparation, and how to run the task. -### Step 1: Prepare Pre-trained Models & Datasets +### Step 1: Prepare Pre-trained Model & Dataset -#### Pre-trianed Model +#### Pre-trained Model The pre-training model of this mission is: [ernie-zh-base](https://github.com/PaddlePaddle/PALM/tree/r0.3-api). @@ -21,7 +21,7 @@ python download.py If everything goes well, there will be a folder named `data/` created with all the data files in it. -Each data file should have 2 fields, `label` and `text_a`, stored with [tsv](https://en.wikipedia.org/wiki/Tab-separated_values) format. Here are some examples: +The dataset file (for training) should have 2 fields, `text_a` and `label`, stored with [tsv](https://en.wikipedia.org/wiki/Tab-separated_values) format. Here shows an example: ``` label text_a -- GitLab