Skip to content

Commit

Permalink
feature: make models instantiateable
Browse files Browse the repository at this point in the history
  • Loading branch information
JesperDramsch committed Sep 5, 2024
1 parent cf0e594 commit 5393803
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/anemoi/training/config/model/gnn.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
activation: GELU
num_channels: 512

model:
_target_: anemoi.models.models.encoder_processor_decoder.AnemoiModelEncProcDec

processor:
_target_: anemoi.models.layers.processor.GNNProcessor
_convert_: all
Expand Down
3 changes: 3 additions & 0 deletions src/anemoi/training/config/model/graphtransformer.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
activation: GELU
num_channels: 1024

model:
_target_: anemoi.models.models.encoder_processor_decoder.AnemoiModelEncProcDec

processor:
_target_: anemoi.models.layers.processor.GraphTransformerProcessor
_convert_: all
Expand Down
3 changes: 3 additions & 0 deletions src/anemoi/training/config/model/transformer.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
activation: GELU
num_channels: 1024

model:
_target_: anemoi.models.models.encoder_processor_decoder.AnemoiModelEncProcDec

processor:
_target_: anemoi.models.layers.processor.TransformerProcessor
_convert_: all
Expand Down

0 comments on commit 5393803

Please sign in to comment.