dlsmallw commited on
Commit
bd7d4f0
·
1 Parent(s): bc31500

Task-272 Add notes to research markdown file

Browse files
Files changed (1) hide show
  1. research/Steamlit_Research.md +10 -1
research/Steamlit_Research.md CHANGED
@@ -60,4 +60,13 @@ streamlit run <app_name>.py
60
  if st.checkbox('Show raw data'):
61
  st.subheader('Raw data')
62
  st.write(data)
63
- ```
 
 
 
 
 
 
 
 
 
 
60
  if st.checkbox('Show raw data'):
61
  st.subheader('Raw data')
62
  st.write(data)
63
+ ```
64
+
65
+ ## Applications for Project:
66
+ ### Caching:
67
+ - st.cache_data:
68
+ - Only really useful for serializing computational data (function results)
69
+ - st.cache_resource:
70
+ - Useful for storing NLP model globally
71
+ - Stores unserializable data (like models) and loads it once
72
+ - Do not need to worry about having to load the model multiple times across sessions since it is stored and accessible to all sessions