Commit History

uncomment interface code to compare
f663f9b

Allen Park commited on

add client initialization and dropdown changing model for client
a1f7b63

Allen Park commited on

update lepton api to v1 of 8b and comment out 70b call; move dropdown to top and add interactive=true
7be224f

Allen Park commited on

add dropdown gradio element
23bdb9e

Allen Park commited on

trigger model_call function when pressing enter in any of the textboxes
ba8b0ab

Allen Park commited on

add clear button
d5478e2

Allen Park commited on

get rid of first and last character of combined string
1861169

Allen Park commited on

combine array of sentence strings into one string
87d4d46

Allen Park commited on

add code to take hallucination boolean and return either PASS or FAIL
2cdd4cb

Allen Park commited on

remove old json string cleaning function and use Patronus nemo guardrails code
37528ea

Allen Park commited on

new cleaning function
2a3f17f
verified

allenpark commited on

replace json string cleaning function
e9da7c7
verified

allenpark commited on

add extra cleaning part to clean_json_string function
b6534ef
verified

allenpark commited on

add print statement for cleaned json check
806fa98
verified

allenpark commited on

comment out interface
c43c3ad
verified

allenpark commited on

comment out submit button call
59cd0d4
verified

allenpark commited on

Comment out deconstructed gradio elements (gr.Row & gr.Column) and uncomment gr.Interface
5f74acb
verified

allenpark commited on

change equal conditional to ==
eb7b56f
verified

allenpark commited on

add base case check if any parameters are empty (return two empty strings)
1aa6e35
verified

allenpark commited on

add gr.Row() parent and change the children back to gr.Column()
a32e6bd
verified

allenpark commited on

change gr.Column to gr.Row
f78882d
verified

allenpark commited on

remove commented out code from previous HF model creation attempt
f14501f
verified

allenpark commited on

remove label in gr.Button (submit)
08495cc
verified

allenpark commited on

change submit_button to gradio Button type rather than Textbox type
6cfd411
verified

allenpark commited on

Refactor deconstruct interface to columns with textbox
5aab811
verified

allenpark commited on

misspelled return variable (json_st -> json_str)
68fe1ac
verified

allenpark commited on

import re
57cf6db
verified

allenpark commited on

Add cleaning json string function and loading it to json from string
e899803
verified

allenpark commited on

add json.loads back with debugging printing lines
7484cb4
verified

allenpark commited on

add debugging print statements and temp remove json.loads
8d436a0
verified

allenpark commited on

add .loads to json module call
7d80407
verified

allenpark commited on

jsonify text response string
ad3245e
verified

allenpark commited on

Separate output into two textboxes
896848b
verified

allenpark commited on

get attributes of response using dot notation not square bracket notation
5274dd8
verified

allenpark commited on

Add print statement to response
8672bbc
verified

allenpark commited on

updated name of api token
48fb46d
verified

allenpark commited on

Update backend to use Lepton API rather than created HF model
5b6755d
verified

allenpark commited on

Add openai package to requirements.txt
b96a541
verified

allenpark commited on

Remove .to(device) calls
80390bf
verified

allenpark commited on

comment out recent commit
f03cfb2

Allen Park commited on

dropdown for both models
bd26917

Allen Park commited on

add print statements for debugging
bc3ac0f

Allen Park commited on

add additional getting started section at the bottom
0108e87

Allen Park commited on

add space
0a402b2

Allen Park commited on

change huggingface and github links
a73aede

Allen Park commited on

add styling
f21f2ed

Allen Park commited on

remove low cpu memory usage
3328fae

Allen Park commited on

make cpu memory usage low
0fbe7c9

Allen Park commited on

add checkpointing
8d132dc

Allen Park commited on

.to(device) for model and handle other checks
af1a93c

Allen Park commited on