Skip to content

Instantly share code, notes, and snippets.

Avatar

Saravanan Rajamanickam saravananpsg

  • A*Star
  • Singapore
View GitHub Profile
@saravananpsg
saravananpsg / cuda_11.3_installation_on_Ubuntu_20.04
Created Jun 30, 2022 — forked from Mahedi-61/cuda_11.3_installation_on_Ubuntu_20.04
Instructions for CUDA v11.3 and cuDNN 8.2 installation on Ubuntu 20.04 for PyTorch 1.11
View cuda_11.3_installation_on_Ubuntu_20.04
#!/bin/bash
### steps ####
# verify the system has a cuda-capable gpu
# download and install the nvidia cuda toolkit and cudnn
# setup environmental variables
# verify the installation
###
### to verify your gpu is cuda enable check
View ner_french.py
# coding: utf-8
import nltk
from nltk.tag.stanford import StanfordNERTagger
# Optional
import os
java_path = "/usr/lib/jvm/java-8-oracle"
os.environ['JAVA_HOME'] = java_path