Skip to main content

Endpoint


Paramètres


Formats disponibles

json — JSON standard


jsonl — JSON Lines (une ligne par exemple)

Idéal pour le streaming et le fine-tuning GPT-style.

csv — CSV classique


openai — Format OpenAI Chat fine-tuning

Prêt pour openai api fine_tuning.jobs.create.

huggingface — HuggingFace Datasets

Compatible avec datasets.load_dataset('json', data_files=...).

alpaca — Format Alpaca instruction-tuning


Split train / val / test

La réponse contient 3 fichiers dans une archive ZIP :
Les ratios doivent additionner à 1.0 exactement. Si seulement trainRatio est fourni, l’export retourne un fichier unique sans split.

Usage Python complet