Installation
Prerequisites
Engine specific
To ensure safe and efficient execution of translated code for evaluation, the InterTrans Engine relies on Singularity containers. Additionally, Go is required for installing the InterTrans Engine.
Before proceeding, please make sure the necessary prerequisites are installed. Use the following guides to complete the installation:
Inference backend
You can use the OpenAI API or any other inference tool that is compatible with OpenAI API specification. We officially support vLLM, and we recommend it to be used as the inference backend. Other alternatives that we have not tested but should be compatible include HuggingFace Text Generation Interface and LiteLLM.
Installation
-
Clone a version from the repository. Use “Latest” for the latest version and “Replication” for paper replication purposes.
Terminal window git clone https://github.com/RISElabQueens/intertranscd InterTransgit checkout mainTerminal window git clone https://github.com/RISElabQueens/intertranscd InterTransgit checkout paper -
Install the Python client
Terminal window cd clientpip install -e .