Skip to content

Instantly share code, notes, and snippets.

View gorkemozkaya's full-sized avatar

Gorkem Ozkaya gorkemozkaya

  • San Francisco, CA
View GitHub Profile
@gorkemozkaya
gorkemozkaya / tensorflow_pca.py
Created October 4, 2017 19:14 — forked from ahwillia/tensorflow_pca.py
PCA in TensorFlow
import numpy as np
import tensorflow as tf
# N, size of matrix. R, rank of data
N = 100
R = 5
# generate data
W_true = np.random.randn(N,R)
C_true = np.random.randn(R,N)
@gorkemozkaya
gorkemozkaya / run_tf_glue.ipynb
Created December 26, 2019 19:15 — forked from ceshine/run_tf_glue.ipynb
Train huggingface/transformers BERT model on Cloud CPU with TF 2.1 (nightly build)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.