# Download Scoring Code from the Leaderboard
URL: https://docs.datarobot.com/en/docs/classic-ui/predictions/port-pred/scoring-code/sc-download-leaderboard.html

> Download a Scoring Code JAR file directly from the Leaderboard.

# Download Scoring Code from the Leaderboard

You can download [Scoring Code](https://docs.datarobot.com/en/docs/classic-ui/predictions/port-pred/scoring-code/index.html) for models as pre-compiled JAR files (with all dependencies included) to be used outside of the DataRobot platform. This topic describes how to download Scoring Code from the Leaderboard. Alternatively, you can download from a [deployment](https://docs.datarobot.com/en/docs/classic-ui/predictions/port-pred/scoring-code/sc-download-leaderboard.html#deployment-download).

## Leaderboard download

> [!NOTE] Availability information
> The ability to download Scoring Code for a model from the Leaderboard depends on the MLOps configuration for your organization.

If you have built a model with AutoML and want to download Scoring Code, you can download directly from the Leaderboard:

1. Navigate to the model on the Leaderboard, select thePredict > Portable Predictionstab, and selectScoring Code. Complete the fields described below. ElementDescription1Scoring CodeProvides a Java package containing your DataRobot model. UnderPortable Prediction Method, selectScoring Code. You can alternatively selectPortable Prediction Serverto set up a REST API-based prediction server.2Coding languageSelect the location from which you want to call the Scoring Code:Python API,Java API, or thecommand line interface (CLI). Selecting a location updates the example snippet displayed below to the corresponding language.3Include Prediction ExplanationsIncludes code to calculatePrediction Explanationswith your Scoring Code. This allows you to get Prediction Explanations from your Scoring Code by adding the command line option:--with-explanations. SeeScoring at the command linefor more information.4Include Prediction Intervals (for time series)Includes code to calculatePrediction Intervalswith your Scoring Code. This allows you to get Prediction Intervals (from 1 to 99) from your Scoring Code by adding the command line option:--interval_length=<integer value from 1 to 99>. SeeScoring at the command linefor more information.5Prepare and download / Prepare and download as source codePrepare and download: Downloads the Scoring Code as a Java package. The package contains compiled Java executables, which include all dependencies and can be used to make predictions.Prepare and download as source code: Downloads Java source code files. These are a non-obfuscated version of the model; they cannot be used to score the model since they are not compiled and dependency packages are not included. Use the source files to explore the model’s decision-making process. This option is only available if you don't have the monitoring agent and prediction explanations enabled.6ExampleProvides a code example that calls the Scoring Code using the selected coding language.7Copy to clipboardCopies the Scoring Code example to your clipboard so that you can paste it in your IDE or on the command line. TipAccess theDataRobot Prediction Libraryto make predictions using Scoring Code and other prediction methods supported by DataRobot via a Python API. The library provides a common interface for making predictions, making it easy to swap out any underlying implementation.
2. Once the settings are configured, clickPrepare and downloadto download a Java package orPrepare and download as source codeto download source code files. The download appears in the downloads bar when complete.
3. Use the snippet provided on the tab to call the Scoring Code.

---
