> For the complete documentation index, see [llms.txt](https://team-jai-jts.gitbook.io/en-jts-ai-studio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://team-jai-jts.gitbook.io/en-jts-ai-studio/detail/using-jts-ai-studio/deploy.md).

# Deployment

Deploying a model allows it to be used as a service. This section explains the deployment process.

### Deploying Models <a href="#undefined" id="undefined"></a>

{% hint style="info" %}
✔︎ Deployable Models

* Foundation model: A model that has not undergone training
* Trained model: A foundation model trained with custom data

✔ Permissions: Group Member

✔︎ Menu: Deployment
{% endhint %}

**Step1.** Click the "New" button.

<figure><img src="https://1700523543-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNHSxAOna3NeMSyiBFBX%2Fuploads%2FmMUFaOUOk1R8UjHD5bZg%2F%EC%8A%A4%ED%81%AC%EB%A6%B0%EC%83%B7%202025-12-02%20232241.png?alt=media&amp;token=b11052c3-e0a4-42b2-b804-5fc106f514c7" alt=""><figcaption></figcaption></figure>

**Step2.** Enter a deployment ID and select the model to deploy.

<figure><img src="https://1700523543-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNHSxAOna3NeMSyiBFBX%2Fuploads%2FUb8KCog5wOxXTR3ozDh8%2Fimage.png?alt=media&amp;token=fd802b19-6f32-4be2-afba-a57703d9b36f" alt=""><figcaption></figcaption></figure>

* If selecting a PEFT model, you can add an adapter.

<figure><img src="https://1700523543-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNHSxAOna3NeMSyiBFBX%2Fuploads%2FIEoCf6tcVyFK8JGHro16%2Fimage.png?alt=media&amp;token=23b39d4b-4ae9-45c0-9220-e00268f1f69a" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You may also input a system prompt suited to the specific task

(\* optional setting for configuring LLM behavior)

✔︎ Example Prompt (for a basic conversation task)

* JAI Thai LLM : “You are JAI, an AI bot by JTS loved by many people. Be smart, cheerful, and fun. Give short, engaging answers and avoid appropriate language.”
  {% endhint %}

**Step3.** Set the parameters. (The available parameters vary depending on the model.)

<figure><img src="https://1700523543-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNHSxAOna3NeMSyiBFBX%2Fuploads%2F7Q1CPCghdeXpodXVLZ5f%2Fimage.png?alt=media&amp;token=5ad5a766-6f56-4800-b00c-8acc867890ee" alt=""><figcaption></figcaption></figure>

* Inference Parameters

<table><thead><tr><th width="216">Parameters</th><th width="166">Type (Required)</th><th width="137">Default Value</th><th>Description</th></tr></thead><tbody><tr><td>Temperature (0~1)</td><td>Number(x)</td><td>1</td><td>Controls the range and diversity of responses by influencing response selection probabilities. Values close to 0 make the model choose the highest probability next word, while values close to 1 yield more varied results. Generally, for predictable responses, set closer to 0; for creative and diverse responses, set closer to 1.</td></tr><tr><td>Top-K (1~)</td><td>Number(x)</td><td>10</td><td>Randomly selects from the top k most probable next tokens.</td></tr><tr><td>Top-P (0~1)</td><td>Number(x)</td><td>1</td><td><p>Selects only from candidates within the top cumulative probability distribution (p%). Higher p values</p><p>yield more varied word choices.</p></td></tr><tr><td>Repetition Penalty (1~)</td><td>Number(x)</td><td>1.15</td><td><p>Higher values help prevent repeated word generation by applying</p><p>a penalty to recurring tokens,</p><p>reducing their probability of being selected again.</p></td></tr><tr><td>Max token Length (1~2048)</td><td>Number(x)</td><td>1024</td><td>Limits the response to a specific length. (For Mi:dm-text-S, it's 1 to 1024.)</td></tr><tr><td>Number of Beams (1~)</td><td>Number(x)</td><td>1</td><td>Specifies the range of word options during decoding. Higher values increase the variety of candidate words, enhancing the model's ability to generate longer, more complex responses by considering multiple options. Conversely, lower values reduce computational cost, resulting in faster responses.</td></tr><tr><td>Presence penalty</td><td>Number(x)</td><td>0</td><td>A value between -2.0 and 2.0. Positive values impose a penalty based on whether new tokens appear in the existing text, thereby increasing the likelihood of the model discussing new topics.</td></tr><tr><td>Stop words</td><td>List(String)</td><td>[]</td><td>Up to four sequences can be specified, and the API will terminate token generation upon the occurrence of any of these sequences.</td></tr><tr><td>Inference seed</td><td>Number(x)</td><td>-1</td><td>The seed controls the reproducibility of the task. Using the same seed and task parameters should produce the same results, though slight differences may occasionally occur. If no seed is specified, one is generated automatically.</td></tr><tr><td>Log probs</td><td>Number(x)</td><td>0</td><td>An integer between 0 and 20 that specifies the number of tokens with the highest probability to return at each token position. Each token is accompanied by its log probability.</td></tr></tbody></table>

**Step4.** Set permissions.

<figure><img src="https://1700523543-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNHSxAOna3NeMSyiBFBX%2Fuploads%2FbUUUz3YL5H39CsPkxh1N%2Fimage.png?alt=media&amp;token=38dd068c-c624-43fd-89f2-8bf64b0ddab9" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}

* Allow All: Opens access to all clients registered in the group.
* Specify Allowed Clients: Restricts access to specific clients only. (\*If the desired client is not listed, please request registration from the group manager.)
  {% endhint %}

**Step5.** Review the summary and click the "New Deployment" button.

<figure><img src="https://1700523543-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNHSxAOna3NeMSyiBFBX%2Fuploads%2FCRgciSfQETbOf8KrIKQj%2Fimage.png?alt=media&amp;token=34ad716d-a9f6-4f98-9c12-6f7930969e2f" alt=""><figcaption></figcaption></figure>

### Deployment Service Details <a href="#undefined-1" id="undefined-1"></a>

In the deployment service list, click the "Details" button to view and edit details for each deployed service.

<figure><img src="https://1700523543-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNHSxAOna3NeMSyiBFBX%2Fuploads%2FXwEAHOkLwfcvrmOBfs9l%2F%EC%8A%A4%ED%81%AC%EB%A6%B0%EC%83%B7%202025-12-02%20232528.png?alt=media&amp;token=7ea554ec-b7c2-4612-ae09-d638da1ad8ce" alt=""><figcaption></figcaption></figure>

❶ Use the "Activation Status" toggle to enable or disable the deployment service.

{% hint style="warning" %}
Please be cautious, as deactivating the service may cause interruptions.
{% endhint %}

❷ Click the "Delete" button to remove the service.

❸ Use the "Edit" button to modify editable items within the service.
