Spaces:
Sleeping
Sleeping
Commit History
add base case check if any parameters are empty (return two empty strings)
1aa6e35
verified
add gr.Row() parent and change the children back to gr.Column()
a32e6bd
verified
change gr.Column to gr.Row
f78882d
verified
remove commented out code from previous HF model creation attempt
f14501f
verified
remove label in gr.Button (submit)
08495cc
verified
change submit_button to gradio Button type rather than Textbox type
6cfd411
verified
Refactor deconstruct interface to columns with textbox
5aab811
verified
misspelled return variable (json_st -> json_str)
68fe1ac
verified
import re
57cf6db
verified
Add cleaning json string function and loading it to json from string
e899803
verified
add json.loads back with debugging printing lines
7484cb4
verified
add debugging print statements and temp remove json.loads
8d436a0
verified
add .loads to json module call
7d80407
verified
jsonify text response string
ad3245e
verified
Separate output into two textboxes
896848b
verified
get attributes of response using dot notation not square bracket notation
5274dd8
verified
Add print statement to response
8672bbc
verified
updated name of api token
48fb46d
verified
Update backend to use Lepton API rather than created HF model
5b6755d
verified
Add openai package to requirements.txt
b96a541
verified
Remove .to(device) calls
80390bf
verified
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
change to dynamic device
17a12ac
Allen Park
commited on
add .to(device) to attention_mask
4dd4e1f
Allen Park
commited on
uncommented device=cuda
d901060
Allen Park
commited on
comment out device='cuda' & input generate_kwargs
d59c183
Allen Park
commited on
use patronus lynx again
f833ec9
Allen Park
commited on
add HF_TOKEN env variable
0703e71
Allen Park
commited on
mistral model
64a90e6
Allen Park
commited on
bartowski open source model change
3172fe0
Allen Park
commited on
change model to mistralai
2410cc6
Allen Park
commited on
try using meta llama 3.1 8b
9f865e6
Allen Park
commited on
use quantized version of lynx 8b
84e8597
Allen Park
commited on
update requirements.txt to not have versions
39f644b
Allen Park
commited on
add .to(device) back
5724967
Allen Park
commited on
add attention mask and pad token id
76c4bfe
Allen Park
commited on
get rid of .to(device)
8275a94
Allen Park
commited on
add device=cuda; initialize tokenizer and model outside of function call; add inputs to device
60ffe71
Allen Park
commited on
pass inputs.input_ids not just inputs
b5e9a85
Allen Park
commited on