owaiskha9654
commited on
Commit
β’
e3177b1
1
Parent(s):
3a4e940
Update app.py
Browse files
app.py
CHANGED
@@ -50,25 +50,25 @@ examples = [
|
|
50 |
"Maybe I'll fix it later. My friend is playing guitar in my room now. Sort of playing anyway.",
|
51 |
"More like messing with it. He's still learning. There's a drawing on the wall next to me. "
|
52 |
),
|
53 |
-
( "An open keyboard and buttons to push. The thing finally worked and I need not use periods, commas and all those
|
54 |
"Double space after a period. We can't help it. I put spaces between my words and I do my happy little assignment of jibber-jabber.",
|
55 |
"Babble babble babble for 20 relaxing minutes and I feel silly and grammatically incorrect. I am linked to an unknown reader.",
|
56 |
"A graduate student with an absurd job. I type. I jabber and I think about dinoflagellates. About sunflower crosses and about ",
|
57 |
-
"the fiberglass that has be added to my lips via clove cigarettes and I think about things that I shouldn't be thinking.",
|
58 |
"I know I shouldn't be thinking. or writing let's say/ So I don't. Thoughts don't solidify. They lodge in the back. behind my tongue maybe.",
|
59 |
)
|
60 |
]
|
61 |
|
62 |
-
title = "Big Five Personality Traits Detection From
|
63 |
-
description = "
|
64 |
-
|
65 |
-
|
|
|
|
|
|
|
|
|
66 |
|
67 |
-
|
68 |
-
|
69 |
-
# "<center> Kaggle Profile <a href=\"https://www.kaggle.com/owaiskhan9654\">Link</a> <br> </center>"
|
70 |
-
|
71 |
-
"<center> HuggingFace Model Deployed Repository <a href=\"\"> Yet to be deployed</a> <br></center>"
|
72 |
)
|
73 |
|
74 |
app = gr.Interface(
|
@@ -78,10 +78,10 @@ app = gr.Interface(
|
|
78 |
examples=examples,
|
79 |
title=title,
|
80 |
description=description,
|
81 |
-
article=
|
82 |
allow_flagging='never',
|
83 |
analytics_enabled=False,
|
84 |
)
|
85 |
|
86 |
|
87 |
-
app.launch(inline=True,share=True, show_error=
|
|
|
50 |
"Maybe I'll fix it later. My friend is playing guitar in my room now. Sort of playing anyway.",
|
51 |
"More like messing with it. He's still learning. There's a drawing on the wall next to me. "
|
52 |
),
|
53 |
+
( "An open keyboard and buttons to push. The thing finally worked and I need not use periods, commas, and all those things.",
|
54 |
"Double space after a period. We can't help it. I put spaces between my words and I do my happy little assignment of jibber-jabber.",
|
55 |
"Babble babble babble for 20 relaxing minutes and I feel silly and grammatically incorrect. I am linked to an unknown reader.",
|
56 |
"A graduate student with an absurd job. I type. I jabber and I think about dinoflagellates. About sunflower crosses and about ",
|
57 |
+
"the fiberglass that has to be added to my lips via clove cigarettes and I think about things that I shouldn't be thinking.",
|
58 |
"I know I shouldn't be thinking. or writing let's say/ So I don't. Thoughts don't solidify. They lodge in the back. behind my tongue maybe.",
|
59 |
)
|
60 |
]
|
61 |
|
62 |
+
title = "Big Five Personality Traits Detection From Expository text features"
|
63 |
+
description = ("In traditional machine learning, it can be challenging to train an accurate model if there is a lack of labeled data specific to the task or ",
|
64 |
+
"domain of interest. Transfer learning offers a way to address this issue by utilizing the pre-existing labeled data from a similar task or ",
|
65 |
+
"domain to improve model performance. By transferring knowledge learned from one task to another, transfer learning enables us to overcome ",
|
66 |
+
"the limitations posed by a shortage of labeled data, and to train more effective models even in data-scarce scenarios. We try to store this ",
|
67 |
+
"knowledge gained in solving the source task in the source domain and applying it to our problem of interest. In this work, I have utilized ",
|
68 |
+
"Transfer Learning utilizing BERT BASE UNCASED model to fine-tune on Big-Five Personality traits Dataset.")
|
69 |
+
Fotter = (
|
70 |
|
71 |
+
"<center>© 2023 Thoucentric </center>"
|
|
|
|
|
|
|
|
|
72 |
)
|
73 |
|
74 |
app = gr.Interface(
|
|
|
78 |
examples=examples,
|
79 |
title=title,
|
80 |
description=description,
|
81 |
+
article=Fotter,
|
82 |
allow_flagging='never',
|
83 |
analytics_enabled=False,
|
84 |
)
|
85 |
|
86 |
|
87 |
+
app.launch(inline=True,share=True, show_error=False)
|