kevinhug commited on
Commit
7af2ca1
·
1 Parent(s): bb4a4eb

fine tune LLM

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -72,7 +72,7 @@ https://www.kaggle.com/datasets/trainingdatapro/20000-customers-reviews-on-banks
72
  label="Issue",
73
  info="issue you want to explore about"
74
  )
75
- out_similar = gr.JSON()
76
 
77
  btn_similar = gr.Button("Find Similar Verbatim")
78
  btn_similar.click(fn=similar, inputs=in_similar, outputs=out_similar)
@@ -119,12 +119,13 @@ Using Sentence Embedding to inject Public ML Banks Text Dataset @ https://github
119
  in_like = gr.Textbox(placeholder="having credit card problem" , label="Issue",
120
  info="issue you want to explore about")
121
  out_like = gr.Textbox(placeholder="like score in range [2 to 248] from fine tuning data",
 
122
  info="like score")
123
 
124
- btn_like = gr.Button("Find Like Score")
125
  btn_like.click(fn=like, inputs=in_like, outputs=out_like)
126
  gr.Markdown("""
127
- As a Data Scientist with a decades of financial industry experience, I recognize the paramount importance of staying closely tuned to our customer's needs and opinions. In this use case statement, we outline how fine-tuning a Language Model (LLM) on a custom dataset can provide valuable insights into customer sentiment across crucial areas such as service, sales, point of failure, product, and emerging trends.
128
 
129
  Objective:
130
  ---------
 
72
  label="Issue",
73
  info="issue you want to explore about"
74
  )
75
+ out_similar = gr.JSON(label="Similar Verbatim")
76
 
77
  btn_similar = gr.Button("Find Similar Verbatim")
78
  btn_similar.click(fn=similar, inputs=in_similar, outputs=out_similar)
 
119
  in_like = gr.Textbox(placeholder="having credit card problem" , label="Issue",
120
  info="issue you want to explore about")
121
  out_like = gr.Textbox(placeholder="like score in range [2 to 248] from fine tuning data",
122
+ label="like score",
123
  info="like score")
124
 
125
+ btn_like = gr.Button("Classify Like Score")
126
  btn_like.click(fn=like, inputs=in_like, outputs=out_like)
127
  gr.Markdown("""
128
+ As a Data Scientist with a decades of financial industry experience, I recognize the paramount importance of staying closely tuned to our customer's needs and opinions. In this app, Fine Tune LLM, we have shown how fine-tuning a Language Model (LLM) on a custom dataset can provide valuable insights into customer sentiment across crucial areas such as service, sales, point of failure, product, and emerging trends.
129
 
130
  Objective:
131
  ---------