Downloading a Remote NLP Project to Local¶
Project models and data uploaded to your remote environment can be downloaded to a local environment. This notebook exercise shows you how.
Make sure the Jupyter server's environment has these dependencies installed.
If the following widgets do not load, check these required dependencies.
- plotly ≥ 5.5
- ipywidgets ≥ 7.7
- notebook ≥ 6.4
The kernel alone having these dependencies is insufficient. Make sure the Jupyter server's environment also has these dependencies installed.
You may need to close and reopen this notebook for changes to work the first time the server is started with these dependencies installed.
TRUERA_URL = "<TRUERA_URL>" TOKEN = "<TOKEN>" SPLIT_NAME = "<SPLIT_NAME>" MODEL_NAME="<MODEL_NAME>" recompute_influences=False
from truera.client.truera_workspace import TrueraWorkspace from truera.client.truera_authentication import TokenAuthentication auth = TokenAuthentication(TOKEN) tru = TrueraWorkspace(TRUERA_URL, auth) tru.set_environment("remote")
PROJECT_NAME = "COVID Tweets Sentiment Classification" DATA_COLLECTION_NAME = "data_collection"