Skip to content

Commit

Permalink
Bettr environment, lower forward samples.
Browse files Browse the repository at this point in the history
  • Loading branch information
knc6 committed Jun 23, 2024
1 parent 13da6ed commit e187062
Show file tree
Hide file tree
Showing 3 changed files with 148 additions and 317 deletions.
10 changes: 5 additions & 5 deletions atomgpt/examples/forward_model/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
"id_prop_path": "atomgpt/examples/forward_model/id_prop.csv",
"prefix": "atomgpt_run",
"model_name": "gpt2",
"batch_size": 5,
"batch_size": 2,
"max_length": 512,
"num_epochs": 3,
"num_epochs": 1,
"latent_dim": 1024,
"learning_rate": 0.001,
"test_each_run": true,
"include_struct": false,
"pretrained_path": "",
"seed_val": 42,
"n_train": 40,
"n_val": 5,
"n_test": 5,
"n_train": 2,
"n_val": 2,
"n_test": 2,
"output_dir": "atomgpt/examples/forward_model/out",
"train_ratio": null,
"val_ratio": 0.1,
Expand Down
2 changes: 1 addition & 1 deletion atomgpt/inverse_models/kernels/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from .cross_entropy_loss import fast_cross_entropy_loss
from atomgpt.inverse_models.kernels.cross_entropy_loss import fast_cross_entropy_loss
from .rms_layernorm import fast_rms_layernorm
from .rope_embedding import fast_rope_embedding, inplace_rope_embedding
from .swiglu import swiglu_fg_kernel, swiglu_DWf_DW_dfg_kernel
Expand Down
Loading

0 comments on commit e187062

Please sign in to comment.