ollama run mistral to download the model and run it. Example prompt: Schreibe mir einen Python Flask Server, der ein Hello World zurück gibt.
ollama -v.ollama list lists the installed models./? for help.ollama rm <Modelname> deletes an installed model./bye.ollama run biomistral1 (7B - German). Example prompt: Was ist der Haupt-Wirkstoff in Aspirin?.


conda create --name torch python=3.9
conda activate torch
pip install -r ./langchain-gemma-ollama-chainlit/requirements.txt
python -m ipykernel install --user --name torch --display-name "Python 3.9 (torch)"
pip install transformers==4.20.0
pip install googletrans==4.0.0-rc1 (optional)
conda install torch -c pytorch-nightly
conda install pytorch torchvision torchaudio -c pytorch-nightlypip3 install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cpuCreate new env from Jeff Heaton Youtube / Github pages
other: https://www.youtube.com/results?search_query=jeff+heaton+pytorch+installation
activate env by typing in console:
conda activate torch
python -m pip install -U "huggingface_hub[cli]"pip3 install huggingface-hubhuggingface-cli download BioMistral/BioMistral-7B-GGUF ggml-model-Q8_0.gguf --local-dir . --local-dir-use-symlinks Falseollama create biomistral1 -f Modelfileollama run biomistral1cd langchain-gemma-ollama-chainlit change directorymodel = Ollama(model="gemma:2b") - instead of gemma:2b with your model name e.g. mistral or custom installation biomistral1.ollama create biomistral1 -f Modelfileollama run mistral first)cd langchain-gemma-ollama-chainlit change directorychainlit run langchain-gemma-ollama-chainlit-de.py -> medicalchainlit run langchain-mistral-ollama-chainlit.py -> code
cd ~/.cache/huggingface/hubls -liapython -m pip install -U "huggingface_hub[cli]"huggingface-cli delete-cacheSpace - don't select no action then enter und choose Y(es)
72 commits
Jupyter Notebook
99.8%
ollama run mistral to download the model and run it. Example prompt: Schreibe mir einen Python Flask Server, der ein Hello World zurück gibt.
ollama -v.ollama list lists the installed models./? for help.ollama rm <Modelname> deletes an installed model./bye.ollama run biomistral1 (7B - German). Example prompt: Was ist der Haupt-Wirkstoff in Aspirin?.


conda create --name torch python=3.9
conda activate torch
pip install -r ./langchain-gemma-ollama-chainlit/requirements.txt
python -m ipykernel install --user --name torch --display-name "Python 3.9 (torch)"
pip install transformers==4.20.0
pip install googletrans==4.0.0-rc1 (optional)
conda install torch -c pytorch-nightly
conda install pytorch torchvision torchaudio -c pytorch-nightlypip3 install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cpuCreate new env from Jeff Heaton Youtube / Github pages
other: https://www.youtube.com/results?search_query=jeff+heaton+pytorch+installation
activate env by typing in console:
conda activate torch
python -m pip install -U "huggingface_hub[cli]"pip3 install huggingface-hubhuggingface-cli download BioMistral/BioMistral-7B-GGUF ggml-model-Q8_0.gguf --local-dir . --local-dir-use-symlinks Falseollama create biomistral1 -f Modelfileollama run biomistral1cd langchain-gemma-ollama-chainlit change directorymodel = Ollama(model="gemma:2b") - instead of gemma:2b with your model name e.g. mistral or custom installation biomistral1.ollama create biomistral1 -f Modelfileollama run mistral first)cd langchain-gemma-ollama-chainlit change directorychainlit run langchain-gemma-ollama-chainlit-de.py -> medicalchainlit run langchain-mistral-ollama-chainlit.py -> code
cd ~/.cache/huggingface/hubls -liapython -m pip install -U "huggingface_hub[cli]"huggingface-cli delete-cacheSpace - don't select no action then enter und choose Y(es)
72 commits
Jupyter Notebook
99.8%