Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,15 +36,18 @@ if __name__ == '__main__':
|
|
| 36 |
fn=inference,
|
| 37 |
inputs=["text"],
|
| 38 |
examples=[
|
| 39 |
-
['前面老师[ASP]讲课[ASP]很好,后面的[ASP]分享课[ASP]过快了,显得很紧张,听不太清,一点都没有分享的意境,流水帐似的一带而过的味道。希望[ASP]分享课[ASP]改进一下,谢谢大家'],
|
| 40 |
-
['听了老师的[ASP]讲解[ASP]受益匪浅,老师的[ASP]讲解形式[ASP]唯美听之让人陶醉真正做到了寓教于乐。我喜欢这种[ASP]授课方式[ASP]'],
|
| 41 |
['I have had my [ASP]computer[ASP] for 2 weeks already and it [ASP]works[ASP] perfectly . !sent! Positive, Positive'],
|
| 42 |
-
['Strong build though which really adds to its [ASP]durability[ASP] .
|
| 43 |
['Use [ASP] aspect [ASP] to wrap target aspects. And you can use "!sent!" to tell the model the true sentiment'],
|
| 44 |
['This demo is trained on the laptop and restaurant and other review datasets from [ASP]ABSADatasets[ASP] (https://github.com/yangheng95/ABSADatasets)'],
|
| 45 |
['To fit on your data, please train the model on your own data, see the [ASP]PyABSA[ASP] (https://github.com/yangheng95/PyABSA)'],
|
| 46 |
],
|
| 47 |
outputs="dataframe",
|
|
|
|
|
|
|
|
|
|
| 48 |
title='Multilingual Aspect Sentiment Classification for Short Texts (powered by PyABSA)'
|
| 49 |
)
|
| 50 |
|
|
|
|
| 36 |
fn=inference,
|
| 37 |
inputs=["text"],
|
| 38 |
examples=[
|
| 39 |
+
['前面老师[ASP]讲课[ASP]很好,后面的[ASP]分享课[ASP]过快了,显得很紧张,听不太清,一点都没有分享的意境,流水帐似的一带而过的味道。希望[ASP]分享课[ASP]改进一下,谢谢大家 !sent!Positive,Negative,Negative'],
|
| 40 |
+
['听了老师的[ASP]讲解[ASP]受益匪浅,老师的[ASP]讲解形式[ASP]唯美听之让人陶醉真正做到了寓教于乐。我喜欢这种[ASP]授课方式[ASP] '],
|
| 41 |
['I have had my [ASP]computer[ASP] for 2 weeks already and it [ASP]works[ASP] perfectly . !sent! Positive, Positive'],
|
| 42 |
+
['Strong build though which really adds to its [ASP]durability[ASP] . !sent! Positive'],
|
| 43 |
['Use [ASP] aspect [ASP] to wrap target aspects. And you can use "!sent!" to tell the model the true sentiment'],
|
| 44 |
['This demo is trained on the laptop and restaurant and other review datasets from [ASP]ABSADatasets[ASP] (https://github.com/yangheng95/ABSADatasets)'],
|
| 45 |
['To fit on your data, please train the model on your own data, see the [ASP]PyABSA[ASP] (https://github.com/yangheng95/PyABSA)'],
|
| 46 |
],
|
| 47 |
outputs="dataframe",
|
| 48 |
+
description='This demo is trained on the public and community shared datasets from ABSADatasets (https://github.com/yangheng95/ABSADatasets),'
|
| 49 |
+
' please feel free to share your data to improve this work. To fit on your data, please train our ATEPC models on your own data,'
|
| 50 |
+
' see the PyABSA (https://github.com/yangheng95/PyABSA/tree/release/demos/aspect_term_extraction)',
|
| 51 |
title='Multilingual Aspect Sentiment Classification for Short Texts (powered by PyABSA)'
|
| 52 |
)
|
| 53 |
|