owaiskha9654 commited on
Commit
e3177b1
β€’
1 Parent(s): 3a4e940

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -13
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 thinks.",
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 Reviews Submitted"
63
- description = "The traditional machine learning models give a lot of pain when we do not have sufficient labeled data for the specific task or domain we care about to train a reliable model. Transfer learning allows us to deal with these scenarios by leveraging the already existing labeled data of some related task or domain. We try to store this knowledge gained in solving the source task in the source domain and apply it to our problem of interest. In this work, I have utilized Transfer Learning utilizing BERT BASE UNCASED model to fine tune on Big-Five Personality traits Dataset."
64
- text1 = (
65
- #"<center> Author: Owais Ahmad Data Scientist at <b> Thoucentric </b> <a href=\"https://www.linkedin.com/in/owaiskhan9654/\">Visit Profile</a> <br></center>"
 
 
 
 
66
 
67
- # "<center> Model Trained GOOGLE COLAB Kernel <a href=\"https://colab.research.google.com/drive/1dbr9t9vxF8M80FAH9WoBFEdT0iGaXr1r?usp=sharing\">Link</a> <br></center>"
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=text1,
82
  allow_flagging='never',
83
  analytics_enabled=False,
84
  )
85
 
86
 
87
- app.launch(inline=True,share=True, show_error=True)
 
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>&copy; 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)