# Playground *[Hydra]: Codename for LLM Studio Most models in Hydra not only provide descriptive information but also offer an interactive trial feature. For example, you can chat with a large language model to directly experience its capabilities. ## Trial Entry Points Hydra provides two convenient entry points for Playground. Choose the one that best suits your needs: - **Option 1:** On the [Model Gallery](./index.md) page, select a model you like and click **Try** to enter the trial interface. - **Option 2:** From the left menu, click **Playground**, select a model type, and begin. Currently supported types are **Text Models** and **Image Models**. ## Trial Overview When you first enter the **Playground**, the system will recommend popular high-quality models for you to try. You can: - Click on a recommended model to immediately start a chat with it; - Or select other models of interest from the **Public Models** list; - If you’ve deployed your own models, you can also try them from the **Model Services** list. ## Model Types ### Text Models The Playground supports pre-configured conversational models, as well as your self-deployed models. Multiple online text models can be selected at once. ### Image Models Currently supports the preconfigured image generation model, along with user-deployed services. Only **one** image model can be used in a trial at a time. ### Completing a Full Conversation Just three steps to complete a trial conversation: 1. On your first visit, choose an API Key. If you don't have one, the platform can auto-generate it for you. 2. Select a model from the list and click it to begin. If you’ve already added a model, you can skip this step and start directly. 3. If you're not satisfied with the response, click **Refresh** to regenerate. Click **Copy** to copy the generated content. At the bottom of the conversation, the number of tokens used is displayed, which helps evaluate model performance. ## More Conversation Features Click **Clear Context** in the upper-right of the chat box to end the current session and reset the context — new messages won’t be influenced by previous ones. ## Model Comparison Click **Add Model** in the top-right to compare up to **three** text-generation models side by side. ## Switching Models Click the **Switch Model** button in the top information bar to switch to another model. ## Model Parameters Hydra allows users to adjust various model parameters. Different configurations affect the generated response. Click **Model Config** in the top bar to adjust settings. Hover over the **?** next to each parameter to see its detailed explanation. | Parameter | Description | Suggested Value | | ----- | ------- | ------ | | System Role | Defines the model's behavior guidelines and background information, clarifying the responsibilities the model needs to take on and the role it plays. | For example, "You are an AI assistant". | | top_p | Controls the diversity of the output text. The larger the value, the richer and more diverse the generated text. | 0.8 | | temperature | The higher the value, the more random and diverse the output; the lower the value, the more focused and deterministic the output. | 0.7 | | max_tokens | The maximum number of tokens the model can generate. If set to 0, there is no limit. | General chat: 500–800;
Short text: 800–2000;
Code: 2000–3600;
Long text: 4000+ | !!! note Both `temperature` and `top_p` can control the randomness of the model output, but in different ways. - `temperature` adjusts the overall probability distribution. The higher the value, the more random and creative the output; the lower the value, the more stable and deterministic the output. You can think of it as "a knob for adjusting how bold the model is". - `top_p` limits the range of candidate words that participate in sampling. The model only selects the next word from high-probability words whose cumulative probability reaches the threshold, thereby filtering out low-probability "long-tail" words. You can think of it as "removing unreliable options before picking a word". In engineering practice, usually only one of them is needed: - When you want stable and controllable output, prefer `temperature` - When you want the output to be natural and fluent without being too divergent, prefer `top_p` For more information, see the [parameter descriptions in the Hugging Face documentation](https://huggingface.co/docs/transformers/).