This repository contains Python example of code generation many programming languages using Ollama AI model qwen2.5-coder:32b .
Language | Extension |
---|---|
C | c |
C# | cs |
C++ | cpp |
CSS | css |
Cobol | cbl |
Dart | dart |
Go | go |
HTML | html |
JavaScript | js |
Kotlin | kt |
Objective-C | m |
PHP | php |
Pascal | pas |
Perl | pl |
Python | py |
R | r |
RPG iSeries RPG (Report Program Generator) on IBM iSeries (AS/400) | RPG |
Ruby | rb |
Rust | rs |
Scala | scala |
Swift | swift |
TypeScript | ts |
Visual Basic | vb |
ollama pull qwen2.5-coder:32b
ollama run qwen2.5-coder:32b
Note
Now your computer is ready to receieve request from code generation
https://www.python.org/ftp/python/3.10.4/python-3.10.4-amd64.exe
python -m venv D:\TheCodeMachine
D:\TheCodeMachine\Scripts\activate
In virtual environment (venv) D:\TheCodeMachine run the command to install all necessary Python packages.
pip install requirements.txt
python.exe D:\TheCodeMachine\TheCodeMachine.py