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

# Quickstart

> Get started with Facet AI in minutes - fine-tune your first Gemma model

## Welcome to Facet AI

This quickstart guide will walk you through creating your first fine-tuned model using Facet AI. You'll go from data upload to model deployment in just a few steps.

> [!NOTE]
>
> **Prerequisites:** You'll need a Facet AI account. If you don't have one,
> [sign up here](https://gemma-facet.vercel.app) first.

## Step 1: Create Your Account and Access the Platform

**1. Sign up for Facet AI**

1. Visit [Facet AI](https://gemma-facet.vercel.app)
2. Click "Get Started" and create your account
3. Verify your email address if required

> [!TIP]
>
> You should see the Facet AI dashboard after successful signup.

**2. Navigate to the Dashboard**

Once logged in, you'll see the main dashboard with sections for:

* **Datasets**: Manage your training data
* **Training**: Create and monitor fine-tuning jobs
* **Models**: View your trained models
* **Exports**: Download models in various formats

> [!TIP]
>
> Bookmark the dashboard URL for easy access to your projects.

## Step 2: Prepare Your Dataset

**1. Upload Your Data**

You have two options for getting your training data:

> [tab] Connect Hugging Face
>
> 1. Go to **Datasets** → **Create Dataset**
>
> 2. Choose "Import from Hugging Face"
>
> 3. Enter the dataset name (e.g., `huggingface/datasets`)
>
> 4. Select the specific split you want to use
>
> > [!TIP]
> >
> > Popular datasets for fine-tuning: `wikitext`, `openwebtext`, `alpaca`

> [tab] Upload Custom Data
>
> 1. Go to **Datasets** → **Create Dataset**
>
> 2. Choose "Upload from file"
>
> 3. Upload your data file (CSV, JSON, or TXT)
>
> 4. Give your dataset a descriptive name
>
> > [!WARNING]
> >
> > Supported formats: CSV, JSON, TXT. Maximum file size: 100MB per upload.

**2. Configure Dataset Processing**

1. After upload, configure your dataset:
   * **Task Type**: Choose from Language Modeling, Preference Tuning, or Multimodal
   * **Format**: Convert your dataset into conversational format for training
   * **Augmentation**: Setup data augmentation if desired
2. Click "Process Dataset"

> [!TIP]
>
> Processing typically takes 1-5 minutes depending on dataset size.

## Step 3: Start Your First Training Job

**1. Create Training Configuration**

1. Go to **Training** → **New Job**
2. Select your processed dataset from the dropdown
3. Choose your model:
   * **Gemma 3 270M**: Fastest, good for experimentation
   * **Gemma 3 1B**: Balanced performance and speed
   * **Gemma 3 4B**: Better quality, longer training time
   * **Gemma 3 12B**: High quality, requires more resources

> [!NOTE]
>
> For your first model, we recommend starting with Gemma 3 270M/1B to get quick results.

**2. Configure Training Parameters**

Set your training parameters (or use defaults):

* **Learning Rate**: Start with default (0.0001)
* **Batch Size**: Use default (4) for most cases
* **Epochs**: Generally 1-3 epochs suffice, for testing limit to 100-500 training steps
* **Training Method**: Select between SFT, DPO, or GRPO based on your task

> [!TIP]
>
> You can adjust these parameters later as you become more experienced with fine-tuning.

**3. Launch Training**

1. Review your configuration
2. Give your training job a descriptive name
3. Click "Start Training"

> [!TIP]
>
> Training will begin immediately. You can monitor progress in the Training section.

## Step 4: Monitor and Evaluate Your Model

**1. Track Training Progress**

1. Go to **Training** to see your active jobs
2. Click on your training job to view detailed progress
3. Monitor metrics like loss, learning rate, and training time

> [!NOTE]
>
> Training time varies: 270M models train in \~30 minutes, while 12B models can take several hours.

**2. Test Your Model**

Once training completes:

1. Go to **Models** section
2. Find your newly trained model
3. Click "Test Model" to run inference
4. Try different prompts to evaluate performance

> [!TIP]
>
> Test with various prompts to ensure your model performs well across different scenarios.

## Step 5: Export and Deploy Your Model

**1. Export Your Model**

1. Go to **Exports** → **Create Export**
2. Select your trained model
3. Choose export format:
   * **GGUF**: For local deployment with llama.cpp
   * **Adapter**: For Hugging Face transformers
   * **Merged**: Complete model ready for deployment
4. Select quantization level (4-bit, 8-bit, or 16-bit)
5. Click "Create Export"

> [!TIP]
>
> Export typically takes 5-15 minutes depending on model size and format.

**2. Download Your Model**

1. Once export completes, click "Download"
2. Save the model file to your local machine
3. Your model is now ready for deployment!

> [!WARNING]
>
> Keep your model files secure and don't share them publicly unless intended.

## Next Steps

Congratulations! You've successfully fine-tuned your first Gemma model. Here's what to explore next:

> [card] [Advanced Training](https://facetai.mintlify.site/fine-tuning/training.md)
>
> Learn about DPO, GRPO, and advanced training techniques for better model performance.

> [card] [Model Deployment](https://facetai.mintlify.site/deployment/deployment.md)
>
> Deploy your models to production using Google Cloud Run or other platforms.

> [card] [Evaluation Techniques](https://facetai.mintlify.site/evaluation/inference_export.md)
>
> Learn comprehensive evaluation methods to assess your model's quality.

> [card] [Dataset Best Practices](https://facetai.mintlify.site/dataset/datasets.md)
>
> Master dataset preparation for optimal fine-tuning results.

## Troubleshooting

> [accordion] Training fails to start
>
> * Check your dataset is properly processed
> * Ensure you have sufficient credits/quota
> * Verify your training parameters are valid

> [accordion] Poor model performance
>
> * Try a larger model size (1B → 4B → 12B) - Increase training steps - Check
>   your dataset quality and size - Consider data augmentation

> [accordion] Export issues
>
> * Ensure training completed successfully
> * Try a different export format
> * Check your available storage quota

> [!NOTE]
>
> **Need more help?** Check out our [comprehensive tutorials](https://facetai.mintlify.site/tutorials.md) or
> contact support at [facet.gemma@gmail.com](mailto:facet.gemma@gmail.com).


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