# Batch Processing with Private Models

In addition to supporting batch API for models that are publicly available on Hugging Face, Parasail also supports the batch API on models that are stored in private Hugging Face repos. This page explains how to run such private models via the batch API.

Please follow these steps:

* Create a dedicated deployment with the private model. See [Deploying private models through Hugging Face repositories](#getting-started-with-our-parasail-batch-helper-library) to learn how to achieve this. The dedicated deployment doesn't need to be running in order for the rest of the steps to work, so you can pause it immediately. This deployment is essentially used by the backend to determine what models, HF token, and certain configurations to use for processing a batch.
* Find the endpoint name of the dedicated deployment. You can find this at the top of the UI page of the dedicated deployment in the description section or from the examples provided for the deployment at the bottom of the page. Endpoint names are typically prefixed with your account name followed by a name that you choose when creating the dedicated deployment.
* Now follow the standard workflow as explained in the [Batch API documentation](https://docs.parasail.io/parasail-docs/batch/batch-quickstart), except that you should use the endpoint name of the dedicated deployment as the model name. Everything else remains the same.


---

# 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.parasail.io/parasail-docs/batch/batch-processing-with-private-models.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.
