dom-formula-assignment-using-ml / configuration_dom_ml.py
bilalsm's picture
Upload folder using huggingface_hub
211dde8 verified
Raw
History Blame Contribute Delete
498 Bytes
from transformers import PretrainedConfig
class DomMLConfig(PretrainedConfig):
model_type = "dom_ml"
def __init__(
self,
model_name="Synthetic_K3_Euclidean_Ensemble",
model_file=None,
feature_names=None,
model_kind=None,
**kwargs,
):
super().__init__(**kwargs)
self.model_name = model_name
self.model_file = model_file
self.model_kind = model_kind
self.feature_names = feature_names or ["mass"]