msbel
← all projects
17 2023 archived

CodeGlimmer

AI-powered code description generator — GPT-3 + CodeBERT, Oct 2023

javacodebertopenaihuggingfacedocumentation

A Java app that parses code (classes, methods, fields, annotations) and generates human-readable descriptions using OpenAI GPT-3 and HuggingFace CodeBERT. Customizable description templates, integrates with Java codebases. The first repo where I integrated CodeBERT seriously — and the project that produced the famous "I'm so sorry! I'm so sorry!" infinite-loop screenshot a friend turned into an Instagram story. (A GPT2-style chatbot fed through CodeBERT's tokenizer without fine-tuning will, in fact, just say "I'm so sorry" forever.)