Quick Overview
- Performance Optimization: 25% Speed Boost on Whisper
Learn how Artemis automatically optimizes OpenAI's Whisper model for faster transcription - GPU Code Optimization: 10x CUDA Performance
See how Artemis handles complex CUDA optimizations and AMD HIP conversions
With 10 steps, we will show you how to conduct an initial audit of your codebase, and generate and evaluate code versions for suboptimal code snippets.
Step 1: Log in
Log-in to Artemis, either via the web platform, or within your local deployment. (This will take you to the Dashboard
page.)
Step 2: Start a new project
Click on New Project
on your dashboard.
Step 3: Import your codebase as a new project
Fill in the following details in the form under New Project
:
Name
: Name for the project (REQUIRED)Description
: Description (optional)Source
: Select theSource
, either Git repository or a .zip on a local folderURL
+Branch
ORZip file
: If you are importing code from a Git repository, give the URL and the branch. If you are uploading code from a local folder, upload the folder as a.zip file.Language
: Specify the language of the codebase.
Click Create Project
.
Step 4: Extract code snippets
Go to the Projects
tab and locate your project. Click the Analyse
button on the right corner to specify what parts of the codebase you want to extract.
This will open the Extract Code Snippets
page.
Select which files you want to include/exclude in the analysis, and the types of code snippets you want extracted specifically.
Step 5: Create scores for snippets
Go to the Snippets
tab within your code project. Click on the "balance" icon next to Scores
to start scoring your code snippets. Select which LLMs you want to use for the scoring and click Score
:
Optional: Index your code
To enable better context-aware suggestions, you can index your code from the Code Snippets page. This will help Artemis understand your entire codebase better. See Code Indexing for details.
Step 6: Evaluate scores
Go to the Snippets
tab of your code project. Check the scores under the Scores
column to understand the quality of each code snippet.
Step 7: Create new versions
Go to the Snippets
tab of your code project. Click the "plus" sign next to the Versions
column. Select which LLMs you would like to use to generate the new versions.
Step 8: View and understand the new code versions
Go to the Snippets
tab in your code project. Under versions, you will see a list of alternative code snippets generated for each extracted code snippet. Click on each one of the entries to view them in detail, and use the code chat to clarify questions about the snippets.
Step 9: Evaluate versions
Go to the Snippets
tab in your code project. Click on the "balance" icon next to Version Scores
. Click which LLMs you would like to use for the scores and click Score
.
Once the scores are generated, use them to evaluate the quality of the snippets generated.
Step 10: Validate versions
Go to the Snippets
tab in your code project. Click on the "play" icon next to the Validations
column and select which tests you would like to use to validate new code versions. Click Run
. Use the validation outcomes to evaluate the quality of the code snippets.