Skip to content

Instantly share code, notes, and snippets.

View DavidGerva's full-sized avatar
🎯
Focusing

David G DavidGerva

🎯
Focusing
View GitHub Profile
@DavidGerva
DavidGerva / spacy3_gcloud.md
Last active July 30, 2023 10:42
Install and run SpaCy 3 on a Google Cloud Compute Instance GPU powered to train a NER Transformer Model

Install and run SpaCy 3 on a Google Cloud Compute Instance GPU powered to train a NER Transformer Model

Here you will find a step by step guide (last tested and working July 2021) on how to install and use Spacy 3.0 (and Cupy) on a Google Cloud GPU powered instance. I wrote this article in order to spare others whole days testing and installing packages. I've already wasted them, why should you? ;) I used this architecture to train a NER Transformer Model.

Softwares versions:

  • cuda v11.2
  • spacy v3.0

GCloud instance creation