WilliamSotoM commited on
Commit
269a964
·
1 Parent(s): a164300

Final touches

Browse files
Files changed (2) hide show
  1. README.md +17 -0
  2. app.py +7 -1
README.md CHANGED
@@ -6,6 +6,23 @@ colorTo: green
6
  sdk: gradio
7
  sdk_version: "5.35.0"
8
  app_file: app.py
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  pinned: false
10
  ---
11
  # Semantic Evaluation of Multilingual D2T
 
6
  sdk: gradio
7
  sdk_version: "5.35.0"
8
  app_file: app.py
9
+ suggested_hardware: basic-cpu
10
+ models:
11
+ - MoritzLaurer/mDeBERTa-v3-base-xnli-multilingual-nli-2mil7
12
+ - WilliamSotoM/MonoLR_cym_Latn_PR
13
+ - WilliamSotoM/MonoLR_eng_Latn_PR
14
+ - WilliamSotoM/MonoLR_gle_Latn_PR
15
+ - WilliamSotoM/MonoLR_mlt_Latn_PR
16
+ - WilliamSotoM/MonoLR_rus_Cyrl_PR
17
+ - WilliamSotoM/MonoLR_xho_Latn_PR
18
+ preload_from_hub:
19
+ - MoritzLaurer/mDeBERTa-v3-base-xnli-multilingual-nli-2mil7
20
+ - WilliamSotoM/MonoLR_cym_Latn_PR
21
+ - WilliamSotoM/MonoLR_eng_Latn_PR
22
+ - WilliamSotoM/MonoLR_gle_Latn_PR
23
+ - WilliamSotoM/MonoLR_mlt_Latn_PR
24
+ - WilliamSotoM/MonoLR_rus_Cyrl_PR
25
+ - WilliamSotoM/MonoLR_xho_Latn_PR
26
  pinned: false
27
  ---
28
  # Semantic Evaluation of Multilingual D2T
app.py CHANGED
@@ -56,7 +56,13 @@ demo = gr.Interface(
56
  gr.Number(label='Semantic F1')
57
  ],
58
  title = 'Semantic Evaluation of Multilingual D2T',
59
- description = 'Select a language and enter an RDF graph and its generated text to perform the evaluation.'
 
 
 
 
 
 
60
  )
61
  print('Gradio interface instantiated...')
62
 
 
56
  gr.Number(label='Semantic F1')
57
  ],
58
  title = 'Semantic Evaluation of Multilingual D2T',
59
+ description = '''Select a language, then type in an input RDF Graph and its corresponding Generated Text to perform the evaluation.
60
+
61
+ Indicate the subject, property, and object of the RDF triples with the following tokens: [S], [P], [O].
62
+ Separate each triple with the following token: [T]
63
+
64
+ For example:
65
+ [S]Buzz_Aldrin[P]mission[O]Apollo_12[T][S]Buzz_Aldrin[P]birthPlace[O]Glen_Ridge,_New_Jersey'''
66
  )
67
  print('Gradio interface instantiated...')
68