Skip to content

Commit 3810d32

Browse files
committed
concept embedding model
1 parent ce7f6a3 commit 3810d32

File tree

5 files changed

+1368
-1
lines changed

5 files changed

+1368
-1
lines changed

conceptarium/conf/model/cem.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
defaults:
2+
- _commons
3+
- _self_
4+
5+
# wrapper for 'joint' training mode
6+
_target_: "torch_concepts.nn.ConceptEmbeddingModel"
7+
8+
task_names: ${dataset.default_task_names}
9+
10+
exogenous_size: 16
11+
12+
inference:
13+
_target_: "torch_concepts.nn.DeterministicInference"
14+
_partial_: true
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
defaults:
2+
- _commons
3+
- _self_
4+
5+
_target_: "torch_concepts.nn.ConceptEmbeddingModel_Joint"
6+
7+
task_names: ${dataset.default_task_names}
8+
9+
exogenous_size: 16
10+
11+
inference:
12+
_target_: "torch_concepts.nn.DeterministicInference"
13+
_partial_: true

0 commit comments

Comments
 (0)