Training API
With the Training API, you run your training loop in your own environment and send batches to Fireworks for processing.1. What data leaves my environment?
You do not need to upload your source dataset as a Fireworks dataset. Fireworks receives the batches you send for training. EachDatum combines model inputs with numeric inputs used to calculate the training loss. Depending on your request, these can include text token IDs, images, and loss tensors.
Tokenization is not anonymization or encryption. It represents text as numeric IDs that can be decoded with the matching tokenizer, although normalization can change the original formatting or bytes. Fireworks receives the training content in those batches and processes it to perform your training.
2. What is processed temporarily, and what is retained?
Batches and results pass through processing memory, queues, and retry buffers to run your training operations. Results can remain available for retrieval or retries after an operation completes; completion does not mean every copy is immediately deleted. Checkpoints and adapters preserve trained model state so you can resume training or use your trained model. Resumable checkpoints can also include optimizer state. These are sensitive learned artifacts, not anonymized copies of your dataset. Exported or promoted models have a separate lifecycle.3. What logs and metrics are retained, and why?
- Customer-visible training logs and numeric metrics help you evaluate performance and debug runs: operation timing, token counts, throughput, queue activity, and checkpoint events.
- Internal error diagnostics help investigate reliability issues. They can include request identifiers, storage paths, error messages, and stack traces. Error text can include information from a request.
- Optional performance profiles help diagnose performance when profiling is enabled. These diagnostic artifacts and operational logs are distinct from traces of training examples or conversations.
- Security audit and billing records support access auditing and accounting.