Skip to content

A Docker container to act as a local runtime for Google Colab or private jupyter server with BERT preinstalled

Notifications You must be signed in to change notification settings

biplobsd/docker-colab-local

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker Colab local Github action backend (unstable)

How to run

    1. Fork this repo or Download this repo and upload it to Github
    1. Setup secret repo environment variable as name NGROK_AUTH_TOKEN_DEC For this go to Settings>Secrets>New repository secret and Name box paste NGROK_AUTH_TOKEN_DEC and get Ngrok token from https://dashboard.ngrok.com/get-started/your-authtoken and copy-paste token to Value box and Add secret.
    1. Now run workflow action for this goto Actions> select Workflows as Colab backend > Run workflow
    1. Wait 2-3 minutes then goto to https://dashboard.ngrok.com/endpoints/status. You will see two links like http://7be55b53bbad.ap.ngrok.io/. Add with link home/runner/content/services.html or browse home>runner>content>services.html
    1. Now you see three services WETTY, GHFS, COLAB. Copy Colab commend after -> this. Ex: cloudflared access tcp --hostname https://watches-cause-towards-ref.trycloudflare.com --url localhost:8081
    1. Download Cloudflared binary depend on your os type from https://github.com/cloudflare/cloudflared/releases and rename just Cloudflared
    1. On same path open terminal and run cloudflared access tcp --hostname https://xxxxxxx.trycloudflare.com --url localhost:8081 (Note xxxxxxx is your unique word)
    1. Now open any Coalb notebook and select "connect to a local runtime" http://localhost:8081/ and connect (Note that it is not require any token)

About

A Docker container to act as a local runtime for Google Colab or private jupyter server with BERT preinstalled

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 65.3%
  • Dockerfile 29.4%
  • Shell 5.3%