etils.configs
get_config(model_type, struct)
The get_config function takes in a model_type and struct, and returns the corresponding config.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
model_type |
str
|
str: Determine which model to use |
required |
struct |
str
|
str: Specify the structure of the model |
required |
Returns:
Type | Description |
---|---|
A dictionary of hyperparameters |
Source code in src/python/easydel/etils/configs.py
398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 |
|