Spaces:
Runtime error
Runtime error
Update model info in README
Browse files
app.py
CHANGED
@@ -41,7 +41,13 @@ markdown_text = '''
|
|
41 |
This space provides a gradio demo and an easy-to-run wrapper of the pre-trained model for structured sentiment analysis in Norwegian language, pre-trained on the [NoReC dataset](https://huggingface.co/datasets/norec).
|
42 |
This space containt an implementation of method described in "Direct parsing to sentiment graphs" (Samuel _et al._, ACL 2022). The main repository that also contains the scripts for training the model, can be found on the project [github](https://github.com/jerbarnes/direct_parsing_to_sent_graph).
|
43 |
|
44 |
-
The
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
| Unlabeled sentiment tuple F1 | Target F1 | Relative polarity precision |
|
47 |
|:----------------------------:|:----------:|:---------------------------:|
|
|
|
41 |
This space provides a gradio demo and an easy-to-run wrapper of the pre-trained model for structured sentiment analysis in Norwegian language, pre-trained on the [NoReC dataset](https://huggingface.co/datasets/norec).
|
42 |
This space containt an implementation of method described in "Direct parsing to sentiment graphs" (Samuel _et al._, ACL 2022). The main repository that also contains the scripts for training the model, can be found on the project [github](https://github.com/jerbarnes/direct_parsing_to_sent_graph).
|
43 |
|
44 |
+
The sentiment graph model is based on an underlying masked language model – [NorBERT 2](https://huggingface.co/ltg/norbert2).
|
45 |
+
The proposed method suggests three different ways to encode the sentiment graph: "node-centric", "labeled-edge", and "opinion-tuple".
|
46 |
+
The current model
|
47 |
+
- uses "labeled-edge" graph encoding
|
48 |
+
- does not use character-level embedding
|
49 |
+
- all other hyperparameters are set to [default values](https://github.com/jerbarnes/direct_parsing_to_sent_graph/blob/main/perin/config/edge_norec.yaml)
|
50 |
+
, and it achieves the following results on the held-out set of the NoReC dataset:
|
51 |
|
52 |
| Unlabeled sentiment tuple F1 | Target F1 | Relative polarity precision |
|
53 |
|:----------------------------:|:----------:|:---------------------------:|
|