GLLM: AI-Powered CNC Programming

GLLM: AI-Powered CNC Programming

Automating G-code Generation with Self-Correcting Language Models

GLLM is an innovative system that converts natural language instructions into executable G-code for CNC machines, dramatically simplifying the programming process for manufacturing.

Key Innovations:

  • Fine-tuned StarCoder-3B model specifically trained for G-code generation
  • Implements Retrieval-Augmented Generation (RAG) to access domain-specific knowledge
  • Incorporates user feedback loops for self-correction and improvement
  • Bridges the gap between human-readable instructions and machine-executable code

Engineering Impact: By automating a traditionally manual and error-prone process, GLLM reduces programming time, minimizes errors, and makes CNC machining more accessible to operators with limited G-code expertise.

GLLM: Self-Corrective G-Code Generation using Large Language Models with User Feedback

74 | 204