lorenzoscottb commited on
Commit
ba9b1bc
β€’
1 Parent(s): 2917974

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -11
app.py CHANGED
@@ -20,34 +20,37 @@ def check_lang(lang_acronym):
20
  else:
21
  return "False"
22
 
23
- title = "DReAM: version I"
24
 
25
  description_main = """
26
- A set of pre-trained LLMs tuned to perform different tasks over a "very specific" set of textual reports.
27
- Available tasks include:
28
 
29
- - Sentiment Analysis (SA) (available both Englis-only or multilingual)
30
 
31
- - Name Entity Recognition (NER)
32
 
33
- Use the current interface to check if a language is included in the multilingual SA model, using language acronyms (e.g. it for Italian).
34
- Use the tabs above the title to directly query and test the different models.
 
 
 
35
  """
36
 
37
  description_L = """
38
- XLM-R tuned model, EN-tuned, pre-trained with 94 languages available (see original model [card](https://huggingface.co/xlm-roberta-large) to see which are available)
39
  """
40
 
41
  description_S = """
42
- A BERT-base-cased model pre-trained and tuned on English data.
43
  """
44
 
45
  description_G = """
46
- A t5 model tuned to performer text-generation, and predict emotion as well as the character experiencing those emotions.
47
  """
48
 
49
  description_GNER = """
50
- A t5 model tuned to performer text-generation, and predict which characters are present in the report.
51
  """
52
 
53
  example_main = ["en", "it", "pl"]
 
20
  else:
21
  return "False"
22
 
23
+ title = "DReAM"
24
 
25
  description_main = """
26
+ This space allows access to a set of LLMs tuned to perform different tasks over dream reports.
27
+ Two main tasks are available:
28
 
29
+ - Sentiment Analysis (SA), with two English-only models (one for classification, one for generation) and a large multilingual model for classification.
30
 
31
+ - Name Entity Recognition (NER), with an English-only model that generates the identified characters.
32
 
33
+ All models have been tuned on the Hall and Vand de Castle framework. More details are on the page for each model. For more on the training framework, see the [Bertolini et al., 2023](https://arxiv.org/pdf/2302.14828.pdf) preprint.
34
+
35
+ Use the current interface to check if a language is included in the multilingual SA model, using language acronyms (e.g. it for Italian). the tabs above will direct you to each model to query.
36
+
37
+ If you want to use the models outside the space, you can easily do so via [DReAMy](https://github.com/lorenzoscottb/DReAMy)
38
  """
39
 
40
  description_L = """
41
+ This model is an XLM-R tuned model, pre-trained with 94 languages available, and tuned on emotion-annotated DreamBank English data. (see original model [card](https://huggingface.co/xlm-roberta-large) to see which are available)
42
  """
43
 
44
  description_S = """
45
+ A BERT-base-cased model pre-trained on Eglish-only text and tuned on annotated DreamBank English data..
46
  """
47
 
48
  description_G = """
49
+ A T5 model tuned to performer text generation, and predict emotion as well as the character experiencing those emotions.
50
  """
51
 
52
  description_GNER = """
53
+ A T5 model tuned to performer text generation, and predict which characters are present in the report. Note that, in the Hall and Van de Castle, the character lists never includes the dreamer. Hence, if you (willingly or not) enter a report that does not contain another character reference, the model will/should (correctly) produce an empty string. Moreover, it is likely that the produced list of CHAR could be longer than the one produced by the SA model, as not all CHAR might be associated with emotions.
54
  """
55
 
56
  example_main = ["en", "it", "pl"]