Ana içeriğe atla

Bu tarayıcı artık desteklenmiyor.

En son özelliklerden, güvenlik güncelleştirmelerinden ve teknik destekten faydalanmak için Microsoft Edge’e yükseltin.

Microsoft Edge'i indirin Internet Explorer ve Microsoft Edge hakkında daha fazla bilgi
microsoft-foundry.rest.security.o-auth2-auth

Training

Forward and backward pass

POST /fine_tuning/sessions/{sessionId}/forward_backward

Submit a mini-batch for a combined forward and backward pass. Gradients accumulate until an optimizer step is issued. Poll the returned request identifier for the result.

Üst bilgi parametreleri

Foundry-Features enum gerekli

A feature flag opt-in required when using preview operations or modifying persisted preview resources.

FineTuningSessions=V1Preview

Yol parametreleri

sessionId string gerekli

Identifier of the fine-tuning session that will process the batch.

Sorgu parametreleri

api-version string gerekli

The API version to use for this operation.

İstek Gövdesi

Training batch and loss configuration for the forward-backward pass.

Content-Type: application/json
forward_backward_input SessionFineTuning.ForwardBackwardInput gerekli

Inner payload for a forward-backward request.

data SessionFineTuning.FineTuningDatum[] gerekli

Training examples to process in this batch.

loss_fn string | enum gerekli

Supported loss functions for forward-backward passes.

Aşağıdakilerden biri:
string
enum
cross_entropyimportance_samplingppocisposapo
loss_fn_config SessionFineTuning.LossFnConfig

Optional per-loss-function hyper-parameters.

clip_low_threshold number

PPO (Proximal Policy Optimization) / CISPO (Clipped Importance-Sampled Policy Optimization): lower clip threshold.

clip_high_threshold number

PPO (Proximal Policy Optimization) / CISPO (Clipped Importance-Sampled Policy Optimization): upper clip threshold.

tau_pos number

SAPO (Soft Adaptive Policy Optimization): positive advantage temperature.

tau_neg number

SAPO (Soft Adaptive Policy Optimization): negative advantage temperature.

Yanıtlar

The request has succeeded.

Gövde

Content-Type: application/json
request_id string gerekli

Request identifier to pass to the session's request-status endpoint.

status enum gerekli

Indicates that the request has not yet completed.

pending
session_id string gerekli

Identifier of the session processing this request.

Client error

Üst Bilgiler

x-ms-error-code string

String error code indicating what went wrong.

Gövde

Content-Type: application/json
error OpenAI.Error gerekli
code string | null gerekli
message string gerekli
param string | null
type string
misalignment OpenAI.MisalignmentErrorDetailsResource
review_target string | null
error_type string | enum
Aşağıdakilerden biri:
string
enum
potentially_unintended_data_transferpotentially_unintended_data_accesspotentially_unintended_destructive_activityother
detailed_explanation string

The public explanation for this block.

steer OpenAI._MisalignmentSteer
message string gerekli

The public continuation instruction.

details OpenAI.Error[]

Additional errors that contributed to this failure.

additionalInfo object

Additional structured information about the failure.

debugInfo object

Diagnostic information supplied by the service for troubleshooting.

Server error

Üst Bilgiler

x-ms-error-code string

String error code indicating what went wrong.

Gövde

Content-Type: application/json
error OpenAI.Error gerekli
code string | null gerekli
message string gerekli
param string | null
type string
misalignment OpenAI.MisalignmentErrorDetailsResource
review_target string | null
error_type string | enum
Aşağıdakilerden biri:
string
enum
potentially_unintended_data_transferpotentially_unintended_data_accesspotentially_unintended_destructive_activityother
detailed_explanation string

The public explanation for this block.

steer OpenAI._MisalignmentSteer
message string gerekli

The public continuation instruction.

details OpenAI.Error[]

Additional errors that contributed to this failure.

additionalInfo object

Additional structured information about the failure.

debugInfo object

Diagnostic information supplied by the service for troubleshooting.

İstek

POST /fine_tuning/sessions/{sessionId}/forward_backward HTTP/1.1

Response

Status: 200
Content-Type: application/json
Status: 4XX
Content-Type: application/json
Status: 5XX
Content-Type: application/json
tr-tr
Gizlilik Tercihleriniz
  • AI Bildirim
  • Önceki Sürümler
  • Blog
  • Katkıda Bulunun
  • Gizlilik
  • Tüketici Sağlığı Gizliliği
  • Kullanım Koşulları
  • Ticari Markalar
  • © Microsoft 2026