Skip to content

Commit

Permalink
2020-12-22_16:58
Browse files Browse the repository at this point in the history
  • Loading branch information
johnson committed Dec 22, 2020
1 parent 2e0a989 commit 100ecc1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion myexample/use_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ def setup_config():
<View>
<Text name="text" value="$text"/>
<Choices name="sentiment" toName="text" choice="single">
<Choice value="积极"/>
<Choice value="消极"/>
<Choice value="中性"/>
<Choice value="积极"/>
</Choices>
</View>
"""}
Expand Down
4 changes: 2 additions & 2 deletions text_classification_project/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"label_config": "config.xml",
"input_path": "tasks.json",
"output_dir": "completions",
"instruction": "<img src='static/images/ls_logo.png'><br> Type some <b>hypertext</b> for annotators here!<br> <a href='https://labelstud.io/guide/labeling.html'>Read more</a> about the labeling interface.",
"instruction": "ABSA情感分类模型",
"allow_delete_completions": true,
"templates_dir": "examples",
"editor": {
Expand All @@ -34,4 +34,4 @@
"path": "completions"
},
"label_config_updated": true
}
}
2 changes: 1 addition & 1 deletion text_classification_project/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<View>
<Text name="text" value="$text"/>
<Choices name="sentiment" toName="text" choice="single">
<Choice value="积极"/>
<Choice value="消极"/>
<Choice value="中性"/>
<Choice value="积极"/>
</Choices>
</View>

0 comments on commit 100ecc1

Please sign in to comment.