jannisborn
commited on
update
Browse files- app.py +1 -1
- model_cards/article.md +8 -1
- requirements.txt +1 -0
app.py
CHANGED
@@ -32,7 +32,7 @@ def run_inference(
|
|
32 |
model = MoLeR(configuration=config)
|
33 |
samples = list(model.sample(number_of_samples))
|
34 |
|
35 |
-
draw_grid_generate(samples)
|
36 |
|
37 |
|
38 |
if __name__ == "__main__":
|
|
|
32 |
model = MoLeR(configuration=config)
|
33 |
samples = list(model.sample(number_of_samples))
|
34 |
|
35 |
+
return draw_grid_generate(samples)
|
36 |
|
37 |
|
38 |
if __name__ == "__main__":
|
model_cards/article.md
CHANGED
@@ -1,13 +1,20 @@
|
|
1 |
-
#
|
2 |
|
3 |
## Parameters
|
4 |
|
5 |
### Algorithm Version:
|
6 |
Which model checkpoint to use (trained on different datasets).
|
7 |
|
|
|
|
|
8 |
### Number of samples:
|
9 |
How many samples should be generated (between 1 and 50).
|
10 |
|
|
|
|
|
|
|
|
|
|
|
11 |
|
12 |
## Citation
|
13 |
|
|
|
1 |
+
# Usage instructions -- MoLeR
|
2 |
|
3 |
## Parameters
|
4 |
|
5 |
### Algorithm Version:
|
6 |
Which model checkpoint to use (trained on different datasets).
|
7 |
|
8 |
+
### Scaffolds
|
9 |
+
|
10 |
### Number of samples:
|
11 |
How many samples should be generated (between 1 and 50).
|
12 |
|
13 |
+
### Beam size
|
14 |
+
Beam size used in beam search decoding (the higher the slower but better).
|
15 |
+
|
16 |
+
### Seed
|
17 |
+
The random seed used for initialization.
|
18 |
|
19 |
## Citation
|
20 |
|
requirements.txt
CHANGED
@@ -16,6 +16,7 @@ PyTDC==0.3.7
|
|
16 |
gradio==3.12.0
|
17 |
markdown-it-py>=2.1.0
|
18 |
mols2grid>=0.2.0
|
|
|
19 |
pandas>=1.0.0
|
20 |
terminator @ git+https://github.com/IBM/regression-transformer@gt4sd
|
21 |
guacamol_baselines @ git+https://github.com/GT4SD/guacamol_baselines.git@v0.0.2
|
|
|
16 |
gradio==3.12.0
|
17 |
markdown-it-py>=2.1.0
|
18 |
mols2grid>=0.2.0
|
19 |
+
numpy==1.23.5
|
20 |
pandas>=1.0.0
|
21 |
terminator @ git+https://github.com/IBM/regression-transformer@gt4sd
|
22 |
guacamol_baselines @ git+https://github.com/GT4SD/guacamol_baselines.git@v0.0.2
|