Commit History

Topic deduplication/merging now separated from summarisation. Gradio upgrade
854a758
Running

seanpedrickcase commited on

Added spaces to requirements for cpu run and AWS run.
a6d1841

seanpedrickcase commited on

Moved spaces GPU calls back to main functions as otherwise it doesn't seem to work correctly
d4f58e6

seanpedrickcase commited on

Trying to move calls to @spaces.GPU to specific gemma calls to use the local model more efficiently
d9427a2

seanpedrickcase commited on

Added presentation of summary table outputs
cc6683a

seanpedrickcase commited on

Corrected line in upload_file_to_s3 function that was causing issues
adc03a0

seanpedrickcase commited on

Refactor app.py and related modules for improved topic extraction and summarization. Updated UI prompts for clarity, enhanced file upload functionality, and added error handling in AWS file uploads. Introduced new functions for converting response text to markdown tables, creating general topics from subtopics, and improved overall code structure for better maintainability.
74d2271

seanpedrickcase commited on

Updated intro and readme to link to datasets
f0b3bbc

seanpedrickcase commited on

Enhanced local model support by adding model loading functionality in chatfuncs.py and updating llm_api_call.py to utilize local models for topic extraction and summarization. Improved model path handling and ensured compatibility with GPU configurations.
f5a842c

seanpedrickcase commited on

Refactored call_llama_cpp_model function to include model parameter in chatfuncs.py and updated import statements in llm_api_call.py to reflect this change.
a10d388

seanpedrickcase commited on

Moved model load to chatfuncs submodule to hopefully avoid gpu run issues
1f0d087

seanpedrickcase commited on

Corrected references to extra-index-url in requirements/Dockerfile
3db2499

seanpedrickcase commited on

Adding some compatibility with Zero GPU spaces
63067b7

seanpedrickcase commited on

Corrected prompt. Now runs Haiku correctly
0a726d1

seanpedrickcase commited on

Updated Dockerfile with packages needed to compile Python wheels (for llama-cpp-python)
11881a6

seanpedrickcase commited on

Can now specify root path for app with an environment variable
c79d667

seanpedrickcase commited on

Changed readme sdk back to gradio, updated intro text
f0668f6

seanpedrickcase commited on

Added support for using local models (specifically Gemma 2b) for topic extraction and summary. Generally improved output format safeguards.
b7f4700

seanpedrickcase commited on

Allowed for server port, queue size, and file size to be specified by environment variables
c978ec5

seanpedrickcase commited on

Added more guidance in Readme. Now wipes variables on click to create or summarise topics
f8f34c2

seanpedrickcase commited on

Capitalise zero shot topics on input
991fcdc

seanpedrickcase commited on

Added rapidfuzz to requirements
9336026

seanpedrickcase commited on

Updated sdk option in README to 'gradio'
19e25ff

seanpedrickcase commited on