The birders are super ahead of the curve. Check out this Rpi implementation of BirdNet: https://github.com/mcguirepr89/BirdNET-Pi
Some other options for low-cost backyard sound/biodiversity monitoring are:
https://www.openacousticdevices.info/ https://carbonrewild.com/