# Web UI

## Let's start:soon:

### 1. Create an experiment

Let's create an experiment at first. Click "Create New" to create a new experiment or "History" to use the previous recipe

![Create New / History](/files/-MduwqRvHsNrMDmumEgl)

### 2. Experiment Parameters

Set up the environment for your experiment\
&#x20;     1\) Enter "Name" as the name of the experiment and "Description" to describe the details of the experiment\
&#x20;     2\) Choose "Image" which includes the environment and basic setupackage\
&#x20;     3\) Choose the core number of "CPU", size of "RAM" and type of "GPU"

> You can choose on-demand or spot instance in "Instance type" (Spot instance will cost down your budget but with an unstable instance)

![](/files/-MduxIzDgjtJGo-1JhAl)

### 3. Choose Function and Requirements

Upload your function which is a model with trainer to find the optimal weights and hyper parameters, or you can only design your own model and use our trainer

> You can upload / delete function, model and requirements here.

{% hint style="info" %}
User Function / Model will be saved in File Manager.
{% endhint %}

![](/files/-MduxwuCTCL5nUK7LwGv)

### 4. Function / Model Configuration

Our [**Magic** ](/innocuous-book/experiment-1/experiment/magic.md)will automatically load function or model arguments into **Function Config**. If you just have model without trainer, our **Trainer Config** can set hyperparameters for you. There are some basic settings in **Trialer Config** for the experiment to follow.

{% hint style="info" %}
Only Model have Trainer Config
{% endhint %}

![Function Config](/files/-Mduyrvm_Gsk90Xfl-z5)

![Trainer Config](/files/-Mdv7Kuzv3FS5zdvUKkh)

![Trialer Config](/files/-Mdv7SvTJDncl9BpJywC)

{% hint style="info" %}
Use magic.log(\*args) web can auto load metric
{% endhint %}

### 5. Choose Dataset

Upload your data as the model input to train

> You can upload / delete dataset here.

![Choose Dataset](/files/-MdyjPev_XSXRb_N5Rha)

### 6. Review

Make sure all the details of your experiment and launch

![Review](/files/-Mdyjg0mFQoYZUP1QsKC)


---

# 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://innocuous-book.gitbook.io/innocuous-book/experiment-1/experiment/web-ui.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.
