Skip to content

Instantly share code, notes, and snippets.

@nahidalam
Created July 17, 2020 17:26
Show Gist options
  • Save nahidalam/11fa7aede59e1ffcf04d22aece151963 to your computer and use it in GitHub Desktop.
Save nahidalam/11fa7aede59e1ffcf04d22aece151963 to your computer and use it in GitHub Desktop.
import pandas as pd
import numpy as np
import json
import os, glob
from __future__ import unicode_literals, print_function, division
from io import open
import unicodedata
import string
import re
import random
import torch
import torch.nn as nn
from torch import optim
import torch.nn.functional as F
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment