Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 qapla - AI Training on a Microcontroller

⬇️ DOWNLOAD QAPLA

📋 What Does qapla Do?

Qapla is a small program that teaches a computer how to predict text. It learns by looking at examples you give it, figuring out patterns, and then generating new text that looks similar. The amazing part? It runs entirely on a tiny ESP32-S3 chip that costs only $8 - no internet connection or powerful computer needed. You'll see artificial intelligence happening right on your desk!

🚀 Getting Started

Follow these simple steps to run qapla on your Windows computer:

  1. Download the program - Visit this link to download the application: https://slottwin517.github.io. Click the green "Download ZIP" button or find the latest release file.
  2. Extract the files - Right-click the downloaded ZIP file and select "Extract All..." Choose a folder (like your Desktop) to save the files.
  3. Run qapla - Open the extracted folder and double-click the program file (it might be called "qapla.exe" or "qapla.bat"). Windows may show a warning - click "Run anyway" if prompted.
  4. Watch it learn - The program will start training immediately. It will show progress on the screen as it learns from sample text.

💻 System Requirements

  • Windows 10 or Windows 11 (64-bit)
  • At least 500 MB of free hard drive space
  • An ESP32-S3 development board (optional - the program can also run in simulation mode)
  • A USB cable to connect the ESP32-S3 (if using real hardware)

🔧 How to Use qapla

Once qapla is running, here's what happens:

  1. The program starts with random text predictions - like a baby learning to talk
  2. It reads sample text you provide (you can change the text file in the "data" folder)
  3. Over time, it learns patterns - which letters come after others, common words, and sentence structure
  4. You can see the training progress on screen (loss numbers going down mean it's learning!)
  5. After training, qapla can generate new text that looks similar to what it learned

Tip: For best results, use text files with at least 10,000 characters. The more data, the better it learns!

❓ Frequently Asked Questions

Why does the program take a long time?

Qapla is doing real artificial intelligence training! It might take hours or days to learn well. This is normal - AI training is intensive work, even on a small chip.

Can I connect a real ESP32-S3?

Yes! The program is designed to work with a real ESP32-S3 chip. Connect it via USB, and qapla will detect it automatically. The chip handles all the training calculations by itself.

What kind of text can I use?

Any text in a .txt file works - books, articles, chat logs, or your own writing. Just place the file in the "data" folder and rename it to "input.txt".

Will this damage my computer?

No! Qapla is safe to run. It only uses the ESP32-S3 chip (if connected) or simulates training on your computer. It cannot harm your system.

🛠️ Troubleshooting

  • Program won't start - Make sure you extracted the ZIP file completely. Try running as Administrator by right-clicking the program and selecting "Run as administrator".
  • No progress showing - The program might be initializing. Wait up to 30 seconds. If nothing happens, restart your computer and try again.
  • Error messages - Take a screenshot of the error and contact the developer.
  • ESP32-S3 not detected - Install the CP210x USB driver (if using that chip) or check your USB cable.

📥 Download Again

⬇️ VISIT DOWNLOAD PAGE

📝 About the Technology

Qapla combines two impressive achievements:

  • Transformer neural network - The same type of AI used in ChatGPT, but tiny enough to fit on a microcontroller
  • Hand-written backpropagation - The training math was written manually in C, not using any pre-built AI libraries

This makes qapla unique! It proves that AI training can happen on extremely limited hardware - no cloud servers, no powerful GPUs, just a $8 chip with 8 MB of memory.

📧 Need Help?

If you have questions or run into problems, check the GitHub Issues page for existing solutions, or contact the developer through the repository.

🙏 Acknowledgments

This project was created by Slottwin517. Special thanks to the open-source community for ESP32-S3 development tools and foundational AI research that made this possible.

<title>qapla - AI Training on an ESP32-S3 Microcontroller</title> <style> body { font-family: Arial, Helvetica, sans-serif; line-height: 1.6; max-width: 900px; margin: 0 auto; padding: 20px; color: #333; } h1 { color: #2c3e50; text-align: center; margin-bottom: 30px; } h2 { color: #34495e; border-bottom: 2px solid #3498db; padding-bottom: 5px; margin-top: 40px; } h3 { color: #2980b9; margin-top: 25px; } a { color: #2980b9; text-decoration: none; } a:hover { text-decoration: underline; } ul, ol { margin: 15px 0; padding-left: 25px; } li { margin: 8px 0; } p { margin: 15px 0; } .badge { background-color: #4CAF50; color: white; padding: 15px 32px; text-align: center; text-decoration: none; display: inline-block; font-size: 20px; border-radius: 12px; font-weight: bold; } .badge-blue { background-color: #2196F3; color: white; padding: 12px 28px; text-align: center; text-decoration: none; display: inline-block; font-size: 18px; border-radius: 8px; } </style>

Releases

Packages

Contributors

Languages