Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 46 additions & 6 deletions practicals/AI_for_Biology/AI_for_Biology.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,52 @@
"We can also already install and import all of the required packages:"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"!python --version"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# Installations\n",
"!pip install transformers datasets\n",
"!pip install biopython requests h5py\n",
"!pip install jax\n",
"!pip install flax\n",
"!pip install matplotlib seaborn scikit-learn"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"from importlib.metadata import version\n",
"\n",
"pkgs = [\n",
" \"transformers\", \n",
" \"datasets\",\n",
" \"biopython\",\n",
" \"jax\",\n",
" \"flax\",\n",
" \"matplotlib\",\n",
" \"seaborn\",\n",
" \"scikit-learn\"\n",
" ]\n",
"\n",
"for p in pkgs:\n",
" print(f\"{p} version: {version(p)}\")"
]
},
{
"cell_type": "code",
"execution_count": 49,
Expand All @@ -71,12 +117,6 @@
"# @title Install and import required packages. (Run Cell)\n",
"%%capture\n",
"\n",
"# Installations.\n",
"!pip install transformers datasets\n",
"!pip install biopython requests h5py\n",
"!pip install jax\n",
"!pip install flax\n",
"\n",
"# Imports.\n",
"import os\n",
"import random\n",
Expand Down