Logs
Upload, tag, and delete training logs in AI Studio.
This article explains how to manage training logs in Hyperstack AI Studio. It covers file upload via signed URLs, saving logs in real time, deleting logs, required formats like JSONL, and tagging strategies to organize your data effectively.
You can also upload and manage training logs programmatically. See the Training Data API reference for all log operations, including request formats, parameters, and example responses.
Manage Logs
Upload Logs
You can upload logs directly through the AI Studio UI using the following steps:
-
Open the Logs Page
Navigate to the Logs & Datasets page.
-
Upload Your
.jsonlFileEnsure your logs meet the required file format as outlined in the JSONL File Format guidelines.
Click the Upload Logs button in the top-right corner, then either select your
.jsonlfile from your device or drag and drop it into the upload area. -
Add Tags
Enter at least one tag to help categorize your logs (e.g.,
testing). -
Validate and Upload
Click Validate & Upload.
The system will automatically check your file format and structure, then upload the logs if validation succeeds.
Once uploaded, you can:
- View and manage logs individually.
- Associate logs with datasets for training.
- Add metadata tags to improve filtering and traceability.
Delete Logs
You can delete logs directly through the AI Studio UI using the following steps:
-
Open the Logs & Datasets Page
Navigate to the Logs & Datasets page and switch to the Logs tab.
-
Filter Logs for Deletion
Use the filtering options to select logs based on:
- Model
- Tags
To delete individual logs, first apply a unique tag to only those logs, then filter by that tag.
-
Delete Selected Logs
Once the desired logs have been selected, click the Delete button to remove them permanently.
Deleting logs is irreversible—once deleted, the data cannot be recovered.
JSONL File Format
The JSONL file must contain one JSON object per line, where each object represents a conversation or interaction. Here's an example of the expected format:
{"messages": [{"role": "user", "content": "What's the capital of Australia?"}, {"role": "assistant", "content": "The capital of Australia is Canberra."}]}
{"messages": [{"role": "system", "content": "You are a travel advisor."}, {"role": "user", "content": "Where should I go in Europe for a summer vacation?"}, {"role": "assistant", "content": "Consider Italy, Spain, or Greece—they offer great weather, food, and culture in the summer!"}]}
{"messages": [{"role": "user", "content": "What's the capital of Australia?"}, {"role": "assistant", "content": "The capital of Australia is Canberra."}]}
Each line in the JSONL file must be a valid JSON object containing:
messages: An array of message objects- Each message object must have:
role: Either "system", "user", or "assistant"content: The text content of the message
Make sure your JSONL file:
- Has one complete JSON object per line
- Uses proper JSON formatting
- Contains the required fields for each message
- Has no trailing commas
- Uses UTF-8 encoding
The total number of tokens in your input (system prompt, prior messages, and current prompt) plus the model’s generated output must not exceed the maximum context length of 8192 tokens.