> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oumi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# IMPORTING MODELS

> Bring your own model into Oumi to evaluate and deploy it

Importing a model brings external weights into your project so you can evaluate and deploy them just like a model trained in Oumi. You can pull from a HuggingFace repo or from a presigned S3 URL.

***

## WHEN TO IMPORT A MODEL

Import a model when you want to:

* Evaluate an open-source or third-party model alongside your own
* Deploy a model you trained outside of Oumi
* Bring a fine-tuned checkpoint into a project to serve it

***

## HOW TO IMPORT A MODEL

1. Go to the **Models** page.
2. Click the **More actions** button (the three dots) at the top right.
3. Choose **Import from HuggingFace** or **Import from S3**.

<img src="https://mintcdn.com/oumi/zAzZuSKal0VQuU1X/images/import-model-menu.png?fit=max&auto=format&n=zAzZuSKal0VQuU1X&q=85&s=2a951981fde794d6f6a2f862876599cf" alt="Import model menu" width="792" height="472" data-path="images/import-model-menu.png" />

### Import from HuggingFace

Pull model weights from a HuggingFace Hub repo into your project.

1. Enter a **Display name** for the model.
2. Enter the **Repo ID** in `org/repo` format, for example `meta-llama/Llama-3.2-1B`.
3. Set the **Base model** (see [Set the base model](#set-the-base-model)).
4. Click to start the import.

<img src="https://mintcdn.com/oumi/zAzZuSKal0VQuU1X/images/import-huggingface-dialog.png?fit=max&auto=format&n=zAzZuSKal0VQuU1X&q=85&s=56eb8516939dc1a93499fed961870e01" alt="Import from HuggingFace" width="1136" height="926" data-path="images/import-huggingface-dialog.png" />

<Note>Only the repo's default branch is imported. For gated or private repos, add a HuggingFace token to your project first so Oumi can access the weights.</Note>

### Import from S3

Pull a model artifact from a presigned S3 URL into your project.

1. Enter a **Display name** for the model.
2. Paste the **Presigned URL** to your model artifact.
3. Set the **Base model** (see [Set the base model](#set-the-base-model)).
4. Click to start the import.

<img src="https://mintcdn.com/oumi/zAzZuSKal0VQuU1X/images/import-s3-dialog.png?fit=max&auto=format&n=zAzZuSKal0VQuU1X&q=85&s=663a0a2d54442cc51e58483e08b56a2e" alt="Import from S3" width="1118" height="856" data-path="images/import-s3-dialog.png" />

<Warning>Treat the presigned URL as a secret. The signature grants direct read access to your file.</Warning>

The URL can point to a single weight file or an archive (`.zip`, `.tar`, `.tar.gz`), up to 2 TB uncompressed and 100,000 files.

***

## SET THE BASE MODEL

The **base model** tells Oumi which model your weights derive from. Oumi uses it to apply the correct chat template and to enable accurate evaluation and deployment, so setting it right matters.

* For HuggingFace imports, Oumi auto-detects the base model from the Repo ID. Leave it on **Auto-detect** unless your weights derive from a different model.
* For S3 imports, set the base model yourself. Use the HuggingFace ID of the model your weights are based on, for example `Qwen/Qwen3-0.6B`.
* If your base model isn't in the list, choose **Other** and type its HuggingFace ID.

<img src="https://mintcdn.com/oumi/zAzZuSKal0VQuU1X/images/import-base-model.png?fit=max&auto=format&n=zAzZuSKal0VQuU1X&q=85&s=a424b72a381b9cc8bf1e5f49d3edd697" alt="Set the base model" width="1194" height="1370" data-path="images/import-base-model.png" />

<Tip>If you fine-tuned a model, the base model is the original model you started from, not your fine-tuned checkpoint.</Tip>

***

## AFTER IMPORTING

HuggingFace and S3 imports run in the background. You'll see a confirmation that the import has started, and the model appears on the **Models** page once it finishes. Larger models take longer to copy in.

***

## USING YOUR IMPORTED MODEL

Once imported, your model works anywhere a custom model does:

<CardGroup cols={2}>
  <Card title="Run an evaluation" icon="chart-column" href="/guides/evaluations/running">
    Select your imported model as the model under test and score it with your evaluators.
  </Card>

  <Card title="Deploy for inference" icon="cloud" href="/guides/deployment/hosted-inference">
    Serve your imported model as a live API endpoint with hosted inference.
  </Card>
</CardGroup>

***

## IMPORTING WITH THE OUMI AGENT

You can also import a model by asking the Oumi Agent. Tell it which model you want to bring in, for example "import `meta-llama/Llama-3.2-1B` from HuggingFace," and the Agent walks you through the import and can continue straight into evaluation or deployment.
