-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added lstm model #98
base: main
Are you sure you want to change the base?
added lstm model #98
Conversation
from tensorflow import keras | ||
from sentence_transformers import SentenceTransformer | ||
|
||
model = tf.keras.models.load_model('/lstm_bi25') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we change the file path to "./lstm_bi25"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes sorry!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the notebooks are in the Essentially google drive 😄 as well as the models. I tried installing tensorflow a few times but it wouldn't work and i gave up. Don't worry, I made sure to include it in the requirements.txt so it should work for you guys!
The change looks nice! Can u share the colab link for each of these notebooks you pushed so that we can take a look and run the code directly? And what's the reason for not being able to install TensorFlow? |
"colab_type": "text" | ||
}, | ||
"source": [ | ||
"<a href=\"https://colab.research.google.com/github/ubclaunchpad/Essentially/blob/ml/ML_Experiments.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like an empty notebook, what's the reason for having this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😮 😮 I will delete it
hi, i don't know if this works because i couldn't install tensorflow on my local computer, but it works on colab. would appreciate it if you can check!!!
the model is stored in the essentially google drive, and the notebook "model_inference.ipynb" lets you try generating summaries on texts you input.