This TPU VM cheatsheet uses and was tested with the following library versions:
| Library | Version |
|---|---|
| JAX | 0.3.25 |
| FLAX | 0.6.4 |
| Datasets | 2.10.1 |
| Transformers | 4.27.1 |
This TPU VM cheatsheet uses and was tested with the following library versions:
| Library | Version |
|---|---|
| JAX | 0.3.25 |
| FLAX | 0.6.4 |
| Datasets | 2.10.1 |
| Transformers | 4.27.1 |
Tutorial and tips for GitHub Actions workflows
| title | slug | createdAt | language | preview |
|---|---|---|---|---|
React Hook prompting the user to "Add to homescreen" |
react-hook-prompting-the-user-to-add |
2018-11-29T20:35:02Z |
en |
Simple React Hook for showing the user a custom "Add to homescreen" prompt. |
| server { | |
| listen 80; | |
| root /usr/share/nginx/html; | |
| gzip on; | |
| gzip_types text/css application/javascript application/json image/svg+xml; | |
| gzip_comp_level 9; | |
| etag on; | |
| location / { | |
| try_files $uri $uri/ /index.html; | |
| } |
This started as a summary of this nice tutorial, but has since then become its own thing.
| --- | |
| AWSTemplateFormatVersion: '2010-09-09' | |
| Resources: | |
| myDynamoDBTable: | |
| Type: AWS::DynamoDB::Table | |
| Properties: | |
| AttributeDefinitions: | |
| - AttributeName: Album | |
| AttributeType: S | |
| - AttributeName: Artist |
| # This file is useful for reading the contents of the ops generated by ruby. | |
| # You can read any graph defination in pb/pbtxt format generated by ruby | |
| # or by python and then convert it back and forth from human readable to binary format. | |
| import tensorflow as tf | |
| from google.protobuf import text_format | |
| from tensorflow.python.platform import gfile | |
| def pbtxt_to_graphdef(filename): | |
| with open(filename, 'r') as f: |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream