Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

NLP extension to Google Cloud Datalab

NotificationsYou must be signed in to change notification settings

vochicong/datalab-nlp

Repository files navigation

Quick start

cp .env.sample .envset -a; source .env; set +adocker-compose pull appdocker-compose up app

To use Snorkel, spaCy and Janome:

docker-compose up snorkel

Packages included

Serviceapp includes:

Servicesnorkel includes:

Environment settings

Copy.env.sample to.env and edit it to define environment variables for Docker.

cp .env.sample .envset -a; source .env; set +a

Build

docker-compose build

You can set up Docker Hub andGCRto build the image directly from your GitHub repository.

Run locally

docker-compose up app # start the containerdocker-compose exec app bash # enter containergcloud auth login # in container

Push

docker-compose push app # to Docker Hub

or

docker tag $IMAGE_NAME:$IMAGE_TAG gcr.io/$PROJECT_ID/datalab-nlp:latestgcloud docker -- push gcr.io/$PROJECT_ID/datalab-nlp:latest

Pull

docker-compose pull app

or

gcloud docker -- pull gcr.io/$PROJECT_ID/datalab-nlp

Run on GCloud Datalab

From GCloud Shell, you should be able to run:

datalab create nlp --image-name $IMAGE_NAME:$IMAGE_TAG

or

datalab create nlp --image-name gcr.io/$PROJECT_ID/datalab-nlp:latest

Links

Issues

About

NLP extension to Google Cloud Datalab

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp