Th3r0 commited on
Commit
b3206d8
1 Parent(s): d0587f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -107,10 +107,10 @@ with gr.Blocks(
107
  with gr.Column(scale=0.3, variant="panel"):
108
  gr.Markdown("""
109
  <h2>Specifciations</h2>
110
- <p><b>Model:</b> ELECTRA Bert Small <br>
111
  <b>Dataset:</b> Stanford Natural Language Inference Dataset <br>
112
  <b>NLP Task:</b> Natual Languae Infrencing</p>
113
- <p>Natural Language Inference (NLI) which can also be referred to as Textual Entailment is an NLP task with the objective of determining the relationship between two pieces of text. In this demonstration the ELECTRA Bert Small model has been used to determine textual similarity ascribing a similarity level to the comparison of the two input prompts. Electra bert was chosen due to its substandard level of performance in its base state allowing room for improvement during training. The models were trained on the Stanford Natural Language Inference Dataset is a collection of 570k human-written English sentence pairs manually labeled for balanced classification. We can see that when training is performed over [XX] epochs we see an increase in X% of training time for the LoRA trained model. </p>
114
  """)
115
  with gr.Column(scale=0.3,variant="panel"):
116
  nli_p1 = gr.Textbox(placeholder="Prompt One",label= "Enter Query")
@@ -165,9 +165,9 @@ with gr.Blocks(
165
  gr.Markdown("""
166
  <h2>Specifciations</h2>
167
  <p><b>Model:</b> DeBERTa-v3-xsmall <br>
168
- <b>Dataset:</b> Quora Question Pairs dataset <br>
169
  <b>NLP Task:</b> Semantic Text Similarity</p>
170
- <p>insert information on training parameters here</p>
171
  """)
172
  with gr.Column(scale=0.3,variant="panel"):
173
  sts_p1 = gr.Textbox(placeholder="Prompt One",label= "Enter Query")
 
107
  with gr.Column(scale=0.3, variant="panel"):
108
  gr.Markdown("""
109
  <h2>Specifciations</h2>
110
+ <p><b>Model:</b> Albert <br>
111
  <b>Dataset:</b> Stanford Natural Language Inference Dataset <br>
112
  <b>NLP Task:</b> Natual Languae Infrencing</p>
113
+ <p>Natural Language Inference (NLI) which can also be referred to as Textual Entailment is an NLP task with the objective of determining the relationship between two pieces of text. In this demonstration the Albert model has been used to determine textual similarity ascribing a correlation score by the comparison of the two input prompts to determine if. Albert was chosen due to its substandard level of performance in its base state allowing room for improvement during training. The models were trained on the Stanford Natural Language Inference Dataset is a collection of 570k human-written English sentence pairs manually labeled for balanced classification, listed as positive, negative or neutral. We can see that when training is performed over [XX] epochs we see an increase in X% of training time for the LoRA trained model compared to a conventionally tuned model. </p>
114
  """)
115
  with gr.Column(scale=0.3,variant="panel"):
116
  nli_p1 = gr.Textbox(placeholder="Prompt One",label= "Enter Query")
 
165
  gr.Markdown("""
166
  <h2>Specifciations</h2>
167
  <p><b>Model:</b> DeBERTa-v3-xsmall <br>
168
+ <b>Dataset:</b> Semantic Text Similarity Benchmark <br>
169
  <b>NLP Task:</b> Semantic Text Similarity</p>
170
+ <p>Semantic text similarity measures the closeness in meaning of two pieces of text despite differences in their wording or structure.This task involves two input prompts which can be sentences, phrases or entire documents and assessing them for similarity. Our implementation we compare phrases represented by a score that can range in between zero and one. A score of zero implies completely different phrases, while one indicates identical meaning between the text pair. This implementation uses a DeBERTa-v3-xsmall and training was performed on the semantic text similarity benchmark dataset which contains over 86k semantic pairs and their scores. We can see that when training is performed over [XX] epochs we see an increase in X% of training time for the LoRA trained model compared to a conventionally tuned model.</p>
171
  """)
172
  with gr.Column(scale=0.3,variant="panel"):
173
  sts_p1 = gr.Textbox(placeholder="Prompt One",label= "Enter Query")