View deploy_dolly_v2.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View bad_grad_viz.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from graphviz import Digraph | |
import torch | |
from torch.autograd import Variable, Function | |
def iter_graph(root, callback): | |
queue = [root] | |
seen = set() | |
while queue: | |
fn = queue.pop() | |
if fn in seen: |
View Covariate Model-First_Paper.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View aws_mfa_login.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env python | |
import sys | |
import os | |
import shlex | |
import subprocess | |
import json | |
import configparser | |
import argparse |
View decomposepromptsimple.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View introtologprobs.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View defaultapinotebook.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View explorecontextstuffing.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View dag.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with models.DAG() as dag: | |
dataset = 'BREATHE' | |
# create a task for each table in the BREATHE dataset | |
for table_name in list_breathe_tables(): | |
destination_uri = 'gs://' + '/'.join((dest_bucket, | |
'{{ ds_nodash }}', # one day is enough for the full snapshot | |
table_name, | |
table_name + '-{{ ds_nodash }}-*.jsonl')) | |
View bigquery.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DECLARE SAMPLE_SIZE INT64 DEFAULT 5; | |
SELECT * | |
FROM | |
BREATHE.ncbi_xml | |
WHERE | |
RAND() < SAMPLE_SIZE/(SELECT COUNT(*) FROM `BREATHE.ncbi_xml`) | |
NewerOlder