S-MurilloG commited on
Commit
a05c28f
1 Parent(s): af6a4a2

Fine-tuning modification

Browse files
Files changed (1) hide show
  1. CARSE_02_FineTuning.ipynb +3 -7
CARSE_02_FineTuning.ipynb CHANGED
@@ -93,11 +93,7 @@
93
  "outputs": [],
94
  "source": [
95
  "# Llamadas a la función para crear la separación\n",
96
- "\"\"\"\n",
97
- "dividir_training_validation('Training_Data/Training_Prompts_1.jsonl')\n",
98
- "dividir_training_validation('Training_Data/Training_Prompts_2.jsonl')\n",
99
- "dividir_training_validation('Training_Data/Training_Prompts_3.jsonl')\n",
100
- "\"\"\""
101
  ]
102
  },
103
  {
@@ -115,13 +111,13 @@
115
  "source": [
116
  "# Para Training\n",
117
  "upload_train_response = client.files.create(\n",
118
- " file=open(\"Training_Data/Training_Prompts_1_train.jsonl\", \"rb\"),\n",
119
  " purpose=\"fine-tune\"\n",
120
  ")\n",
121
  "\n",
122
  "# Para Validation\n",
123
  "upload_val_response = client.files.create(\n",
124
- " file=open(\"Training_Data/Training_Prompts_1_val.jsonl\", \"rb\"),\n",
125
  " purpose=\"fine-tune\"\n",
126
  ")"
127
  ]
 
93
  "outputs": [],
94
  "source": [
95
  "# Llamadas a la función para crear la separación\n",
96
+ "dividir_training_validation('Training_Data/Training_Prompts.jsonl')"
 
 
 
 
97
  ]
98
  },
99
  {
 
111
  "source": [
112
  "# Para Training\n",
113
  "upload_train_response = client.files.create(\n",
114
+ " file=open(\"Training_Data/Training_Prompts_train.jsonl\", \"rb\"),\n",
115
  " purpose=\"fine-tune\"\n",
116
  ")\n",
117
  "\n",
118
  "# Para Validation\n",
119
  "upload_val_response = client.files.create(\n",
120
+ " file=open(\"Training_Data/Training_Prompts_val.jsonl\", \"rb\"),\n",
121
  " purpose=\"fine-tune\"\n",
122
  ")"
123
  ]