merve HF staff commited on
Commit
38dd92a
1 Parent(s): ee7626a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -17
app.py CHANGED
@@ -21,23 +21,23 @@ ner_example = [["Benim adım Turna."]]
21
  t2t_example = [["Paraphrase: Bu üründen çok memnun kaldım."]]
22
  nli_example = [["Bunu çok beğendim. Bunu çok sevdim."]]
23
 
24
- t2t_gen = gr.load("boun-tabi-LMG/TURNA", examples =t2t_example, title="Text-to-Text Generation", description="Please enter an instruction with a prefix to generate.")
25
- summarization = gr.load("boun-tabi-LMG/turna_summarization_mlsum",examples =long_text, title="Summarization", description="TURNA fine-tuned on MLSUM. Enter a text to summarize below.")
26
- news_sum = gr.load("boun-tabi-LMG/turna_summarization_tr_news",examples =long_text, title="News Summarization", description="TURNA fine-tuned on News summarization. Enter a news to summarize.")
27
- paraphrase = gr.load("boun-tabi-LMG/turna_paraphrasing_tatoeba", examples =long_text,title="Paraphrasing")
28
- paraphrasing_sub = gr.load("boun-tabi-LMG/turna_paraphrasing_opensubtitles",examples =long_text, title="Paraphrasing on Subtitles")
29
-
30
- ttc = gr.load("boun-tabi-LMG/turna_classification_ttc4900", examples =long_text, title="Text Categorization")
31
- product_reviews = gr.load("boun-tabi-LMG/turna_classification_tr_product_reviews", examples=sentiment_example, title="Product Reviews Categorization")
32
- title_gen = gr.load("boun-tabi-LMG/turna_title_generation_mlsum", examples =long_text, title="Title Generation", description="Enter a text to generate title to.")
33
- sentiment = gr.load("boun-tabi-LMG/turna_classification_17bintweet_sentiment",examples=sentiment_example, title="Sentiment Analysis", description="Enter a text to generate title to.")
34
-
35
- pos = gr.load("boun-tabi-LMG/turna_pos_imst", title="Part of Speech Tagging", examples=ner_example,description="Enter a text to generate title to.")
36
- nli = gr.load("boun-tabi-LMG/turna_nli_nli_tr", title="NLI",examples=nli_example, description="Enter two texts to infer entailment.")
37
- pos_boun = gr.load("boun-tabi-LMG/turna_pos_boun", examples = ner_example, title="Part of Speech Tagging", description="Enter a text to tag parts of speech (POS).")
38
- stsb = gr.load("boun-tabi-LMG/turna_semantic_similarity_stsb_tr", examples=nli_example, title="Semantic Similarity", description="Enter two texts in the input to assess semantic similarity.")
39
- ner = gr.load("boun-tabi-LMG/turna_ner_milliyet", title="NER WikiANN", examples=ner_example, description="Enter a text for NER.")
40
- ner_wikiann = gr.load("boun-tabi-LMG/turna_ner_wikiann", title="NER",examples=ner_example, description="Enter a text for NER.")
41
 
42
 
43
  interface_list = ["t2t_gen","summarization", "news_sum", "paraphrase", "paraphrasing_sub", "ttc",
 
21
  t2t_example = [["Paraphrase: Bu üründen çok memnun kaldım."]]
22
  nli_example = [["Bunu çok beğendim. Bunu çok sevdim."]]
23
 
24
+ t2t_gen = gr.load("huggingface/boun-tabi-LMG/TURNA", examples =t2t_example, title="Text-to-Text Generation", description="Please enter an instruction with a prefix to generate.")
25
+ summarization = gr.load("huggingface/boun-tabi-LMG/turna_summarization_mlsum",examples =long_text, title="Summarization", description="TURNA fine-tuned on MLSUM. Enter a text to summarize below.")
26
+ news_sum = gr.load("huggingface/boun-tabi-LMG/turna_summarization_tr_news",examples =long_text, title="News Summarization", description="TURNA fine-tuned on News summarization. Enter a news to summarize.")
27
+ paraphrase = gr.load("huggingface/boun-tabi-LMG/turna_paraphrasing_tatoeba", examples =long_text,title="Paraphrasing")
28
+ paraphrasing_sub = gr.load("huggingface/boun-tabi-LMG/turna_paraphrasing_opensubtitles",examples =long_text, title="Paraphrasing on Subtitles")
29
+
30
+ ttc = gr.load("huggingface/boun-tabi-LMG/turna_classification_ttc4900", examples =long_text, title="Text Categorization")
31
+ product_reviews = gr.load("huggingface/boun-tabi-LMG/turna_classification_tr_product_reviews", examples=sentiment_example, title="Product Reviews Categorization")
32
+ title_gen = gr.load("huggingface/boun-tabi-LMG/turna_title_generation_mlsum", examples =long_text, title="Title Generation", description="Enter a text to generate title to.")
33
+ sentiment = gr.load("huggingface/boun-tabi-LMG/turna_classification_17bintweet_sentiment",examples=sentiment_example, title="Sentiment Analysis", description="Enter a text to generate title to.")
34
+
35
+ pos = gr.load("huggingface/boun-tabi-LMG/turna_pos_imst", title="Part of Speech Tagging", examples=ner_example,description="Enter a text to generate title to.")
36
+ nli = gr.load("huggingface/boun-tabi-LMG/turna_nli_nli_tr", title="NLI",examples=nli_example, description="Enter two texts to infer entailment.")
37
+ pos_boun = gr.load("huggingface/boun-tabi-LMG/turna_pos_boun", examples = ner_example, title="Part of Speech Tagging", description="Enter a text to tag parts of speech (POS).")
38
+ stsb = gr.load("huggingface/boun-tabi-LMG/turna_semantic_similarity_stsb_tr", examples=nli_example, title="Semantic Similarity", description="Enter two texts in the input to assess semantic similarity.")
39
+ ner = gr.load("huggingface/boun-tabi-LMG/turna_ner_milliyet", title="NER WikiANN", examples=ner_example, description="Enter a text for NER.")
40
+ ner_wikiann = gr.load("huggingface/boun-tabi-LMG/turna_ner_wikiann", title="NER",examples=ner_example, description="Enter a text for NER.")
41
 
42
 
43
  interface_list = ["t2t_gen","summarization", "news_sum", "paraphrase", "paraphrasing_sub", "ttc",