CitizenClimate / app.py

Commit History

Indentation error
917b429
verified

gyrmo commited on

Where is this bracket that HF is finding?
d0c9e97
verified

gyrmo commited on

Added please to the placeholder text.
f04eab4
verified

gyrmo commited on

Syntax error, bracket on line 343
a7e924f
verified

gyrmo commited on

Updated how the gradio looks, and doubled down on the system prompt to ensure that the system refers to the documents as its knowledge base.
09ea7c4
verified

gyrmo commited on

Updated the system prompt a bit.
b5a2695
verified

gyrmo commited on

Forgot that I called the function reranker_v1.
444a359
verified

gyrmo commited on

Added the reranker to improve the quality of the nodes passed on to the query engine.
491dcef
verified

gyrmo commited on

It was the docstring with the indentation error lol.
5a3cec3
verified

gyrmo commited on

Indentation error.
7611dd1
verified

gyrmo commited on

Indent error fix
031a6bf
verified

gyrmo commited on

Forgot to update the package imports to bring in the extractor for the log handler
6f3f6e2
verified

gyrmo commited on

Changed the temperature to 0.5, and added a function that will extract the condensed question for analysis.
bd30577
verified

gyrmo commited on

Change the temp to 1
5cfb2df
verified

gyrmo commited on

Changed temperature
646e55b
verified

gyrmo commited on

Update app.py
be2873f
verified

gyrmo commited on

Added a prompt helper to help manage the tokens, reduced the summary size to 800
abf50ce
verified

gyrmo commited on

Memory issues solved
9312fe3
verified

gyrmo commited on

Added a background wait to counter the problem
887dea0
verified

gyrmo commited on

Specified chat mode, and made sure that the message was streamed for a nice UI action.
47362ec
verified

gyrmo commited on

Added a memory buffer, and moved the wait llm function to the main bit for gradio.
6c941da
verified

gyrmo commited on

Checking something
09d0f27
verified

gyrmo commited on

I have added some server specifics because the gradio bit isn't starting up.
c54877c
verified

gyrmo commited on

Changed the model from FP4 to AWQ
49d9cf3
verified

gyrmo commited on

Moved the embedding model to the CPU. This will allow me to have more space on the GPU for the LLM.
824aa63
verified

gyrmo commited on

Switched the model from Llama 3.3-70B to Llama-3.3-70B-Instruct-FP4.
152d1ec
verified

gyrmo commited on

Added start server and wait for server
45a3359
verified

gyrmo commited on

Reduced the max-token-sizes to 2048.
0ee1471
verified

gyrmo commited on

Changes added to move to vLLM
d16e0c5
verified

gyrmo commited on

Specified the provider (groq) anf edited max new tokens to 16k.
001ddc4
verified

gyrmo commited on

Increased the max new tokens and edited the system prompt to remove the in text citations. Reduced the temperature to 0.5 since there was a lot more faff in the response.
ab77125
verified

gyrmo commited on

Forgot ot update to the new database.
a3cdb48
verified

gyrmo commited on

Removed the sources display to update the look of the chatbot to something more friendly.
81b60dc
verified

gyrmo commited on

Updated the temperature to 0.8 , and the max new tokens to 8192. Removed the context window, might put it in later as 16000.
f24aa68
verified

gyrmo commited on

Updated max new tokens to 4096 to improve the cut offs.
10448be
verified

gyrmo commited on

Switched back to an inference provider for speed
496a4ed
verified

gyrmo commited on

I forgot a comma.
e5fbced
verified

gyrmo commited on

Added back in the tokenizer
d141afa
verified

gyrmo commited on

Removed max_new_tokens
4d11293
verified

gyrmo commited on

Added the HF_TOKEN collection
b3261a5
verified

gyrmo commited on

Updated HuggingFaceLLM parameters
6e3b747
verified

gyrmo commited on

Removed the provider=auto to fix type error
899be85
verified

gyrmo commited on

Changed from the Inference Provider to running the LLM in the space
1ea4c43
verified

gyrmo commited on

Update app.py
c480ed9
verified

gyrmo commited on

Changed the temperature to 0 - this is a factual thing we have here uwu.
f882112
verified

gyrmo commited on

Changed the prompt a bit.
e0221d7
verified

gyrmo commited on

Forgot a bracket.
e26da1f
verified

gyrmo commited on

Update app.py
2c57965
verified

gyrmo commited on

Changed the chroma db access
6c8b358
verified

gyrmo commited on

Updated the climate database
b3a0634
verified

gyrmo commited on