Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jcollopy-tulane committed Apr 29, 2024
1 parent 8060349 commit 83df56e
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 41 deletions.
6 changes: 5 additions & 1 deletion nlp/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,11 @@ def train_cnn():

pickle.dump(model, open(cnn_path, 'wb'))


@main.command('train_cnn')
def train_bert():
'''
Get BERT
'''


if __name__ == "__main__":
Expand Down
73 changes: 41 additions & 32 deletions notebooks/Experiment-CNN-1.ipynb

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions notebooks/Experiments-BERT.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,6 @@
")).batch(30).prefetch(1)\n"
]
},
{
"cell_type": "markdown",
"id": "bdbd73a3-094c-4a8a-a45b-8ce8aecdcd12",
"metadata": {},
"source": [
"### Without Custom Classifier"
]
},
{
"cell_type": "code",
"execution_count": 15,
Expand Down
Binary file added notebooks/accuracy_plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 83df56e

Please sign in to comment.