Instructions to use Sithum2002/lunuNethAI-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Sithum2002/lunuNethAI-models 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://Sithum2002/lunuNethAI-models") - Notebooks
- Google Colab
- Kaggle
Download component2_pest/metadata.json from Sithum2002/lunuNethAI-models: direct link, hf CLI and curl.
- Browser
- Download file 772 Bytes
-
https://huggingface.co/Sithum2002/lunuNethAI-models/resolve/main/component2_pest/metadata.json
- Command line
-
hf download hf://Sithum2002/lunuNethAI-models/component2_pest/metadata.json
-
curl -L -o metadata.json https://huggingface.co/Sithum2002/lunuNethAI-models/resolve/main/component2_pest/metadata.json
772 Bytes
| { | |
| "features": [ | |
| "location", | |
| "pest_class", | |
| "pest_count_per_plant", | |
| "temp_mean_C", | |
| "temp_max_C", | |
| "temp_min_C", | |
| "humidity_morning_pct", | |
| "humidity_evening_pct", | |
| "rainfall_mm", | |
| "wind_speed_kmh", | |
| "crop_age_weeks" | |
| ], | |
| "pest_classes": [ | |
| "BrownPlantHopper", | |
| "Caterpillar", | |
| "StemBorer", | |
| "Thrips" | |
| ], | |
| "locations": [ | |
| "Anuradhapura", | |
| "Dambulla", | |
| "Jaffna", | |
| "Matale", | |
| "Polonnaruwa", | |
| "Vavuniya" | |
| ], | |
| "severity_classes": [ | |
| "High", | |
| "Low", | |
| "Moderate", | |
| "None", | |
| "Severe" | |
| ], | |
| "test_accuracy": 0.9985294117647059, | |
| "train_accuracy": 0.9996323529411765 | |
| } |