Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
figurative-nlp
/
chinese-simile-idiom-generation
like
2
Text2Text Generation
Transformers
PyTorch
bart
Inference Endpoints
Model card
Files
Files and versions
Community
Train
Deploy
Use this model
figurative-nlp
commited on
Feb 13, 2023
Commit
533a78a
·
1 Parent(s):
6e3b07b
Create README.md
Browse files
Files changed (1)
hide
show
README.md
+9
-0
README.md
ADDED
Viewed
@@ -0,0 +1,9 @@
1
+
2
+
给句子加上修辞(明喻和成语)的中文bart模型,需要在输入句子的开头加上标记,如下:
3
+
4
+
[习语] 所有人见到市长都很恭维,只有他是个例外。
5
+
==> 所有人见到市长都点头哈腰,只有他是个例外。
6
+
7
+
8
+
[明喻] 所有人见到市长都很恭维,只有他是个例外。
9
+
==> 所有人见到市长都很恭维,像狗腿子一样,只有他是个例外。