This week's AI project is to create an AI Morse code decoder.
I've been working with the new ChatGPT 5 model since late last week. I've asked a few different models if they could understand Morse code. ChatGPT 5 couldn't. Gemini couldn't. That's when it occurred to me that this was probably the perfect time to learn how to use TensorFlow to make an AI.
So, I changed my question. I asked ChatGPT 5, "If I wanted to setup a model that learned Morse code using Google's Tensor engines, could you describe the entire process and output the code for me?"
To which it promptly, (what an awesome pun!), replied, "Heck yes—that’s a super fun project. Here’s a complete, practical path to a TPU-accelerated Morse code recognizer using TensorFlow + CTC (Connectionist Temporal Classification). It generates synthetic Morse audio (with realistic timing/noise/tempo wobble), trains a small CRNN on log-mel spectrograms, and decodes with greedy CTC. You can run it on CPU/GPU or Google’s TPUs (Colab or GCE)."
And I was off ot the races!
As the video shows, the model is doing pretty good at decoding training data already. It's certainly learning Morse code faster than I did. The model has yet to decode real-world CW. I'm going to start it training on W1AW recorded transmissions later today. I'll keep you posted on how it goes.
If you'd like to work with the model, you can find my repo for it here.
Comments
Post a Comment
Please leave your comments on this topic: