ayushnoori commited on
Commit
2056e9c
1 Parent(s): 5b04db9

Update README

Browse files
Files changed (2) hide show
  1. README.md +3 -4
  2. synthesizer.py → synthesis.py +1 -1
README.md CHANGED
@@ -23,10 +23,9 @@ Synthesize(inputs, outputs):
23
 
24
  Here, we implement the non-ML subset of BUSTLE, the algorithm proposed by Odena *et al.* (2021). That is, we implement bottom-up enumerative search for simple compound expressions, excluding conditionals, recursion and loops.
25
 
26
- To run the program, run `synthesizer.py` with the following arguments:
27
  ```
28
- usage: synthesizer.py [-h] --domain {arithmetic,string} --examples {addition,subtraction,multiplication,division}
29
- [--max_weight MAX_WEIGHT]
30
 
31
  Bottom-up enumerative synthesis in Python.
32
 
@@ -42,7 +41,7 @@ optional arguments:
42
 
43
  For example, to synthesize programs in the arithmetic domain from the addition input-output examples, run:
44
  ```
45
- python3 synthesizer.py --domain arithmetic --examples addition
46
  ```
47
 
48
  To add additional input-output examples, modify `examples.py`. Add a new key to the dictionary `example_set` and set the value to be a list of tuples.
 
23
 
24
  Here, we implement the non-ML subset of BUSTLE, the algorithm proposed by Odena *et al.* (2021). That is, we implement bottom-up enumerative search for simple compound expressions, excluding conditionals, recursion and loops.
25
 
26
+ To run the program, run `synthesis.py` with the following arguments:
27
  ```
28
+ usage: synthesis.py [-h] --domain {arithmetic,string} --examples {addition,subtraction,multiplication,division} [--max_weight MAX_WEIGHT]
 
29
 
30
  Bottom-up enumerative synthesis in Python.
31
 
 
41
 
42
  For example, to synthesize programs in the arithmetic domain from the addition input-output examples, run:
43
  ```
44
+ python3 synthesis.py --domain arithmetic --examples addition
45
  ```
46
 
47
  To add additional input-output examples, modify `examples.py`. Add a new key to the dictionary `example_set` and set the value to be a list of tuples.
synthesizer.py → synthesis.py RENAMED
@@ -4,7 +4,7 @@ Ayush Noori
4
  CS252R, Fall 2020
5
 
6
  Example of usage:
7
- python synthesizer.py --domain arithmetic --examples addition
8
  '''
9
 
10
  # load libraries
 
4
  CS252R, Fall 2020
5
 
6
  Example of usage:
7
+ python synthesis.py --domain arithmetic --examples addition
8
  '''
9
 
10
  # load libraries