MilesCranmer commited on
Commit
fa28749
·
1 Parent(s): 16c9195

Simplify execution instructions

Browse files
Files changed (1) hide show
  1. README.md +7 -12
README.md CHANGED
@@ -1,19 +1,14 @@
1
  # Running:
2
 
 
 
 
 
 
3
  Modify the hyperparameters in `hyperparams.jl` and the dataset in `dataset.jl`
4
- (see below for options). Then, in a new Julia file called
5
- `myfile.jl`, or the interpreter, you can write:
6
 
7
- ```julia
8
- include("paralleleureqa.jl")
9
- fullRun(10,
10
- npop=100,
11
- ncyclesperiteration=1000,
12
- fractionReplaced=0.1f0,
13
- verbosity=100,
14
- topn=10)
15
- ```
16
- The first arg is the number of migration periods to run,
17
  with `ncyclesperiteration` determining how many generations
18
  per migration period. `npop` is the number of population members.
19
  `annealing` determines whether to stay in exploration mode,
 
1
  # Running:
2
 
3
+ You can execute the program from the command line with
4
+ ```bash
5
+ julia --threads 6 -O3 -e 'include("paralleleureqa.jl"); fullRun(20, npop=100, annealing=true, ncyclesperiteration=5000, fractionReplaced=0.1f0, verbosity=round(Int32, 1e9), topn=10)'
6
+ ```
7
+
8
  Modify the hyperparameters in `hyperparams.jl` and the dataset in `dataset.jl`
9
+ (see below for options).
 
10
 
11
+ The first argument to `fullRun` is the number of migration periods to run,
 
 
 
 
 
 
 
 
 
12
  with `ncyclesperiteration` determining how many generations
13
  per migration period. `npop` is the number of population members.
14
  `annealing` determines whether to stay in exploration mode,