- Python v3.8+
- PIP
- Azure Account with Azure ML Studio up.
- Config file from Azure ML instance overview. To be placed in project directory.
Optional
1.) Run the following command:
pip install -r requirements.txt
2.) Load jupyter notebooks (should be installed in step 1) and then open upload-to-azure-to-use.ipynb
.
3.) Run the first four code blocks.
On the fourth block uncomment the 2nd - 3rd
line and comment out the 5th - 6th
line to host your model online.
Leave the fourth block as is if you want to host locally. Note that you need Docker installed to run the local version.
Expanded to get model files and process the Guthenberg files.
The Kaggle for this file can be opened by clicking here and also includes the csv files of the processed Guthenberg data for the scraped top 100 ebooks, results for the guthenberg data and includes the required generated models.
Upload model generated by commonreadaility-generate-model.ipynb
to Azure with the option to host locally or in Azure.
You need the following files before running this notebook:
config.json
- obtained from Azure Mchine Learning portal.model_0.joblib
- generated fromcommonreadaility-generate-model.ipynb
. The file is available here in the output section.model_1.joblib
- same asmodel_0.joblib
.