# Versions

The **Versions** view is where you track all the saved versions of code-model pairs in your project. From here, you can [select](#switching-and-modifying-model-versions) which model to examine in the [Network Tab](/user-interface/project/network.md), add a model run (i.e. a specific [evaluation](/user-interface/project/menu-bar/evaluate-a-model.md)) for analysis in the [dashboard](/user-interface/dashboards.md), [delete](#deleting-and-renaming-models-and-model-runs), [export](#export-and-upload-a-model-from-tensorleap), and [upload](#export-and-upload-a-model-from-tensorleap) new models via the Platform.

## Versions Layout Overview

Click ![](/files/Vm3Q75ovClc18OEzSvvI) on the top left to open the **Versions** view. Once open, you can choose to minimize the view by clicking ![](/files/SZt56i4qxpBJMANnCEKj)

<figure><img src="/files/WKC8lc1HCYlppQ4A9yxZ" alt=""><figcaption><p>The version view pinned using the top right pinning</p></figcaption></figure>

The **Versions** view lists all the code-model pairs you have in your project. The selected version is also highlighted in a different background color than the other versions ![](/files/lH2sZ6zu0vLUJlx7gFp9)

Many [evaluation](/user-interface/project/menu-bar/evaluate-a-model.md) of the same model could be made. Each of these would result in a model run, that could be viewed within the version control by expanding a version. hovering over a Run would present it's start time.

{% hint style="info" %}
Models that were not yet evaluated would not show any available runs
{% endhint %}

## Switching & modifying Model versions&#x20;

To review and modify different version that exists in the platform - simply hover the mouse over the required model, and click "Add to Dashboard"&#x20;

<figure><img src="/files/Ev2LE2dMhK5gIGwN1Som" alt=""><figcaption><p>Switching Models in the Network view</p></figcaption></figure>

{% hint style="info" %}
Switching Reviewed versions in the Network Tab has no effect on the Dashboard analysis
{% endhint %}

## Deleting and renaming Models and Model Runs

To delete a model or a model run: hover over it, and click the trash can icon.

To rename a model or a model run: click over the name of the requested version and enter a new name.

### Adding a model run to dashboard analysis

Once an evaluate is completed, multiple Model Runs could be added to the dashboard panel for analysis purposes. To do so, click the "Add To Dashboard" Icon that is to right of each Model Run.

{% hint style="info" %}
If the "Add To Dashboard" Icon is not selectable next to a Model Run it indicates that the evaluate didn't start yet or it was finished unsuccessfully, and there's no data to analyze.
{% endhint %}

## Export & Upload a model from Tensorleap

### Exporting a model

<figure><img src="/files/QEz3WrXUL3lFkKLMYojl" alt=""><figcaption></figcaption></figure>

To export a trained model out of Tensorleap:

1. With the **Versions** view open, search for the model
2. Hover your mouse on the model, then click <img src="/files/RczcqEIDunvVJ06xbjvV" alt="" data-size="line"> on the right to open the **Export Model** window.
3. On the **Export Model** window, select the format in which the model will be saved.
4. Click <img src="/files/pZlZYcgDJih97idFXFWk" alt="" data-size="line"> to start the export process.
5. The job appears on the list to the right with status set to ***Pending***. A notification message also appears briefly on your screen.

&#x20; 6\. Once Tensorleap completes compiling the file, status is set to ***Finished***.

{% hint style="info" %}
If status is still set to ***Pending*** after some time, you may need to refresh the page to see the change in status to ***Finished***.
{% endhint %}

&#x20; 7\. Click <img src="/files/oD1XVQfmjWT5mHQVZkSA" alt="" data-size="line"> to save the file to your computer.

![Downloading an exported model](/files/0YXw7dUU0mLCfTofkgjT)

The available export formats are [Json](https://www.tensorflow.org/api_docs/python/tf/keras/models/model_from_json) (Tensorflow 2), [H5](https://www.tensorflow.org/tutorials/keras/save_and_load) (Tensorflow 2), [ONNX](https://pytorch.org/docs/stable/onnx.html) , [SavedModel](https://www.tensorflow.org/api_docs/python/tf/keras/models/save_model) (Tensorflow)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tensorleap.ai/user-interface/project/versions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
