A transcoding library using LLMs.
Project description
Overview
Janus (janus-llm
) uses LLMs to aid in the modernization of legacy IT systems. The repository can currently do the following:
- Chunk code of over 100 programming languages to fit within different model context windows and add to a Chroma vector database.
- Translate from one programming language to another on a file-by-file basis using an LLM with varying results (with the
translate.py
script). - Translate from a binary file to a programming language using Ghidra decompilation.
- Do 1-3 with a CLI tool (
janus
).
Roadmap
Priorities
- Scripts interacting with Chroma Vector DB for RAG translation and understanding.
- Evaluation of outputs in CLI using LLM self-evaluation or static analysis.
Installation
pip install janus-llm
Installing from Source
Clone the repository:
git clone git@github.com:janus-llm/janus-llm.git
NOTE: Make sure you're using Python 3.10 or 3.11.
Then, install the requirements:
curl -sSkL https://install.python-poetry.org | python -
export PATH=$PATH:$HOME/.local/bin
poetry install
Contributing
See our contributing pages
Copyright
Copyright ©2024 The MITRE Corporation. ALL RIGHTS RESERVED. Approved for Public Release; Distribution Unlimited. Public Release Case Number 23-4084.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
janus_llm-3.4.2.tar.gz
(82.6 kB
view hashes)
Built Distribution
janus_llm-3.4.2-py3-none-any.whl
(114.0 kB
view hashes)
Close
Hashes for janus_llm-3.4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed27f94bef241a7d4f901a1458975d6959a6acb425043f6ebf8b699f27055a82 |
|
MD5 | 1b2b3d2b2e7fa5b8b2c73d77d9c4283a |
|
BLAKE2b-256 | 16e4d6af9f2962f56a07cb0d6a3d9aca06fc886e0791df72e90eba90bb6be1da |