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

# Basics

> Definition of `.serva` files, Serva Encoder UX (datasets, security, training efficiency), web app workflow, and operational guidance.

![Serva Encoder](https://mintcdn.com/servamind/ZepuPg9fqB7I8LaW/assets/Serva-Encoder-Color.png?fit=max\&auto=format\&n=ZepuPg9fqB7I8LaW\&q=85\&s=7fd3dec0f43e0f613d29e65c8dccddb1)

## What are .Serva files

A **`.serva` file** is the Servamind **encoded** representation of your data in a single, portable binary format. The format is **data-agnostic**: it does not encode a specific domain or schema. How those bytes are interpreted, when training, serving, or integrating with other systems, is determined by your application and loading logic.

In practice:

* **Extension**: `.serva`. **Encoding** uses the [Serva web app](https://serva.servamind.com). One encoded artifact can feed training, analytics, and other downstream processes without maintaining a distinct preprocess pipeline for each consumer.
* **On disk**, `.serva` files follow ordinary file semantics: path resolution, access permissions, and byte-level reads behave as they would for any other binary file.

![Workflow comparison: without Servamind, separate preprocess and train paths per model; with Servamind, one encode to .SERVA then branch to multiple training jobs.](https://mintcdn.com/servamind/1JGsjXxfFWG132sf/assets/servamind-dataset-comparison.jpg?fit=max\&auto=format\&n=1JGsjXxfFWG132sf\&q=85\&s=3f41b4ab7cfd402c01d80b58cf2fe7a9)

> [!NOTE]
>
> **Training** in this documentation means **training from scratch** or **pre-training**, which is the expected use of the Serva Encoder web app.

***

## Encoder and your data

### Raw data and compression

The **larger and messier**, **more raw** data that is uploaded, the **better compression rates** you will see. **Users should want to upload big data.**

### AI dataset preparation

**Upload** the data files, **convert** them to `.serva` files, and **load** the encoded bytes directly into arrays for training. The data is already **regularized** by the encoding — **no need** to preprocess (for example PCA, z-whitening, normalization, cropping, etc.).

### Multi-modal datasets

Convert a **mixed file-type** dataset (for example images, audio, text) **to all `.serva`**—then you have **one dataset** ready for model training with **mixed media** formats, **as opposed to** converting everything to all images, or all time series, etc.

***

## Training efficiency

**Cost:** Training on a `.serva` dataset is **cheaper** in **compute** cost and **OPEX** (including **data engineering / data scientist time**) **compared to** training on a non-`.serva` dataset.

**Energy:** Training on a `.serva` dataset **reduces** overall **GPU or CPU** energy expenditure **compared to** training on the **original** dataset.

**Speed:** The **overall time** to train is **less** if training happens on **`.serva` files** **compared to** the **same** dataset **not** in `.serva` files.

***

## Applications

Use `.serva` files when you need to:

* **Encode** raw inputs into Servamind’s compressed representation for storage, transfer, or reuse under one consistent contract.
* **Distribute one artifact** to multiple models, services, or teams—encode once, then consume independently (see the diagram above).

**Common usage:**

* Reference **paths** to `.serva` files in configuration or code—local directories, object storage, or other data locations your environment already uses.
* Read bytes using your existing stack: direct file I/O, dataset abstractions, or custom loaders, according to your integration requirements.

***

## How to use

1. **Encode via the web application.** Sign in to the **[Serva web app](https://serva.servamind.com)**, upload the source data, and download the resulting `.serva` file. No additional encoding interfaces are available at this time.
2. **Stage the files** where your jobs expect them: local filesystems, cloud buckets, shared storage, or equivalent paths used for training data.
3. **Integrate with your pipeline.** Load bytes in training or batch processes; the tutorials provide worked examples across common stacks (for example, PyTorch and NumPy).
4. **Consult the tutorials** for end-to-end procedures and patterns.

***

## Q\&A

> [accordion] How do I obtain `.serva` files?
>
> Use the **[Serva web app](https://serva.servamind.com)**. Authenticate, upload the data to encode, run the encode step, and download the `.serva` file. Subsequent steps (local use, training pipelines, and related workflows) are documented in the tutorials.

> [accordion] Can I recover the original file from a .serva file?
>
> Yes. Decode it in the web app and you’ll get the original content back.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.