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
Download evo_checkpoints/best_genome.json from Invictus-AI/self-evolving-nn: direct link, hf CLI and curl.
- Browser
- Download file 1.04 kB
-
https://huggingface.co/Invictus-AI/self-evolving-nn/resolve/main/evo_checkpoints/best_genome.json
- Command line
-
hf download hf://Invictus-AI/self-evolving-nn/evo_checkpoints/best_genome.json
-
curl -L -o best_genome.json https://huggingface.co/Invictus-AI/self-evolving-nn/resolve/main/evo_checkpoints/best_genome.json
1.04 kB
| { | |
| "config": { | |
| "num_layers": 6, | |
| "layers": [ | |
| { | |
| "units": 192, | |
| "activation": "swish", | |
| "dropout": 0.37, | |
| "batch_norm": true | |
| }, | |
| { | |
| "units": 96, | |
| "activation": "selu", | |
| "dropout": 0.43, | |
| "batch_norm": true | |
| }, | |
| { | |
| "units": 32, | |
| "activation": "swish", | |
| "dropout": 0.5, | |
| "batch_norm": true | |
| }, | |
| { | |
| "units": 192, | |
| "activation": "linear", | |
| "dropout": 0.31, | |
| "batch_norm": true | |
| }, | |
| { | |
| "units": 256, | |
| "activation": "relu", | |
| "dropout": 0.07, | |
| "batch_norm": true | |
| }, | |
| { | |
| "units": 64, | |
| "activation": "sigmoid", | |
| "dropout": 0.5, | |
| "batch_norm": false | |
| } | |
| ], | |
| "learning_rate": 0.005, | |
| "optimizer": "rmsprop", | |
| "batch_size": 16, | |
| "top3_features": [ | |
| 4, | |
| 9, | |
| 16 | |
| ], | |
| "task_type": "regression" | |
| }, | |
| "fitness": 331118.82463783136, | |
| "generation_born": 5, | |
| "id": "4524d43d" | |
| } |