- Install streamlit
pip install streamlit
pip install streamlit-chat
- check status
docker --version It can be slightly different depending on the Docker version and programs such as cmd, powershell, linux, etc. Check it through the help command and modify it little by little.
Check This Useful Repository!
https://github.com/DSDanielPark/GPT-BERT-Medical-QA-Chatbot/blob/main/README.md
When a multidimensional embedded array is saved as a string in a CSV file, you can load it back and convert the string-formatted array into an array object.
def convert(item):
item = item.strip()
item = item[1:-1]
item = np.fromstring(item, sep=' ')
return item
import gc
gc.collect()
import torch
torch.cuda.empty_cache()
tf.keras.backend.clear_session()
poetry init
poetry add [django]
poetry build
python -m ipykernel install --user --name myvenv --display-name myvenv
-
Sphinx
https://sphinx-rtd-tutorial.readthedocs.io/en/latest/docstrings.html -
Install VSC extension - change config to 'shpinx'
https://marketplace.visualstudio.com/items?itemName=njpwerner.autodocstring
https://pypi.org/project/pylint/
pip install pylint
pyreverse -k -o dot /path/to/library
You can view the classes.dot with the command: