Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/usr/bin/env python | |
from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter | |
import os | |
import re | |
import pathlib | |
import arxiv | |
import openreview | |
import urllib.request | |
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
Overall we have 3553 games | |
Training with 3553 games | |
GOAL | |
clean some potato and put it in microwave. | |
OBS | |
You are in the middle of a room. Looking quickly around you, you see a cabinet 2, a sinkbasin 1, a cabinet 14, a countertop 2, a drawer 3, a coffeemachine 1, | |
a stoveburner 1, a cabinet 10, a stoveburner 2, a cabinet 1, a countertop 4, a cabinet 8, a countertop 3, a drawer 2, a cabinet 13, a cabinet 4, a garbagecan | |
1, a stoveburner 3, a cabinet 11, a drawer 4, a cabinet 7, a cabinet 9, a cabinet 6, a fridge 1, a cabinet 3, a toaster 1, a cabinet 5, a cabinet 15, a drawer |
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
{ | |
"ours": [ | |
{ | |
"id": "gen:3988", | |
"query": "select last_name from Owners order by last_name", | |
"question": "list all the last name of owners in alphabetical order ." | |
}, | |
{ | |
"id": "gen:17117", | |
"query": "select count ( * ) from Friend", |
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
import random | |
import itertools | |
train_envs = [ | |
['round plate', 'square plate'], | |
['round flat pot', 'round tall pot'], | |
['square flat pot', 'square tall pot'], | |
['round flat pot', 'square flat pot'], |
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
hello world! |
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
" Enable plugged | |
call plug#begin('~/.vim/plugged') | |
""""""""""""""""""""""""""""""" | |
" My settings | |
""""""""""""""""""""""""""""""" | |
let mapleader = "\<Space>" "space as leader | |
set history=1000 " Store :cmdline history. | |
set showcmd " Show incomplete commands at the bottom |
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
sents = [ | |
'i like sandwiches', | |
'the Fr. madison is a great friar', | |
] | |
char_offsets = [ | |
(2, 6), | |
(4, 15), | |
] |
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
""" | |
backtracking extended list informed | |
Depth First Search: y y n | |
Breadth First Search: n y n | |
Hill Climbing y y y | |
Beam Search: y y y | |
""" | |
import heapq |
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
require 'nn' | |
require 'dpnn' | |
require 'rnn' | |
require 'nngraph' | |
local opt = { | |
n_seq = 3, | |
d_hid = 4, | |
d_mem = 20, | |
n_batch = 2, |
NewerOlder