Open SiddhantOjha17 opened 5 months ago
This is another error I came across
KeyError: 'blocks.0.hook_resid_mid'
Traceback:
File "/home/user/mambaforge3/envs/llmtt/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 600, in _run_script
exec(code, module.dict)
File "/home/user/llm-transparency-tool/llm_transparency_tool/server/app.py", line 699, in
File "/home/user/mambaforge3/envs/llmtt/lib/python3.12/site-packages/transformer_lens/ActivationCache.py", line 168, in __getitem__
return self.cache_dict[utils.get_act_name(key)]
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
I have a fine tuned model which is stored locally. As mentioned I will have to make sure it works with
TransformerLens
. I can confirm I have made it to run perfectly withTransformerLens
, now the issue is when I am adding the model to theconfig file
and then running the docker the streamlit UI doesn't open and it just keeps on loading.A little help would be appreciated on this!!!