Spaces:
Runtime error
Runtime error
AnnaPalatkina
commited on
Commit
•
11ba1da
1
Parent(s):
c028611
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def predict(text:str):
|
|
11 |
markdown_text = '''
|
12 |
<br>
|
13 |
<br>
|
14 |
-
This space provides a gradio demo and an easy-to-run wrapper of the pre-trained model for fine-grained sentiment analysis in Norwegian language, pre-trained on the [NoReC dataset](https://github.com/ltgoslo/norec)
|
15 |
|
16 |
|
17 |
Information about project you an fine on the website of [University of Oslo](https://www.mn.uio.no/ifi/english/research/projects/sant/)
|
@@ -29,8 +29,6 @@ Specify in config.json which model from saved_models you want to use. The model
|
|
29 |
## How to fine-tune?
|
30 |
|
31 |
For this run fine-tune.py and specify required arguments:
|
32 |
-
-dataframe: pandas dataframe with columns ['text', 'label', 'split'] with 3 possible values in 'split' ['train','dev','test']
|
33 |
-
-model: pre-traied model from huggingface or path to local folder with config.json in case you want to use custom wrapper
|
34 |
<ul>
|
35 |
<li>-dataframe: pandas dataframe with columns ['text', 'label', 'split'] with 3 possible values in 'split' ['train','dev','test']</li>
|
36 |
<li>-model: pre-traied model from huggingface or path to local folder with config.json in case you want to use custom wrapper</li>
|
|
|
11 |
markdown_text = '''
|
12 |
<br>
|
13 |
<br>
|
14 |
+
This space provides a gradio demo and an easy-to-run wrapper of the pre-trained model for fine-grained sentiment analysis in Norwegian language, pre-trained on the [NoReC dataset](https://github.com/ltgoslo/norec/)
|
15 |
|
16 |
|
17 |
Information about project you an fine on the website of [University of Oslo](https://www.mn.uio.no/ifi/english/research/projects/sant/)
|
|
|
29 |
## How to fine-tune?
|
30 |
|
31 |
For this run fine-tune.py and specify required arguments:
|
|
|
|
|
32 |
<ul>
|
33 |
<li>-dataframe: pandas dataframe with columns ['text', 'label', 'split'] with 3 possible values in 'split' ['train','dev','test']</li>
|
34 |
<li>-model: pre-traied model from huggingface or path to local folder with config.json in case you want to use custom wrapper</li>
|