Instructions to use Invictus-AI/self-evolving-nn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Invictus-AI/self-evolving-nn with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://Invictus-AI/self-evolving-nn") - Notebooks
- Google Colab
- Kaggle
Kashyap Khakhkhar commited on
Upload evo_checkpoints/best_genome.json with huggingface_hub
Browse files
evo_checkpoints/best_genome.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"num_layers": 6,
|
| 4 |
+
"layers": [
|
| 5 |
+
{
|
| 6 |
+
"units": 192,
|
| 7 |
+
"activation": "swish",
|
| 8 |
+
"dropout": 0.37,
|
| 9 |
+
"batch_norm": true
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"units": 96,
|
| 13 |
+
"activation": "selu",
|
| 14 |
+
"dropout": 0.43,
|
| 15 |
+
"batch_norm": true
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"units": 32,
|
| 19 |
+
"activation": "swish",
|
| 20 |
+
"dropout": 0.5,
|
| 21 |
+
"batch_norm": true
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"units": 192,
|
| 25 |
+
"activation": "linear",
|
| 26 |
+
"dropout": 0.31,
|
| 27 |
+
"batch_norm": true
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"units": 256,
|
| 31 |
+
"activation": "relu",
|
| 32 |
+
"dropout": 0.07,
|
| 33 |
+
"batch_norm": true
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"units": 64,
|
| 37 |
+
"activation": "sigmoid",
|
| 38 |
+
"dropout": 0.5,
|
| 39 |
+
"batch_norm": false
|
| 40 |
+
}
|
| 41 |
+
],
|
| 42 |
+
"learning_rate": 0.005,
|
| 43 |
+
"optimizer": "rmsprop",
|
| 44 |
+
"batch_size": 16,
|
| 45 |
+
"top3_features": [
|
| 46 |
+
4,
|
| 47 |
+
9,
|
| 48 |
+
16
|
| 49 |
+
],
|
| 50 |
+
"task_type": "regression"
|
| 51 |
+
},
|
| 52 |
+
"fitness": 331118.82463783136,
|
| 53 |
+
"generation_born": 5,
|
| 54 |
+
"id": "4524d43d"
|
| 55 |
+
}
|