Skip to content

Commit 39d589c

Browse files
authored
Merge branch 'main' into fix-typos
2 parents 981b0d6 + 843a8bc commit 39d589c

File tree

416 files changed

+26077
-428
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

416 files changed

+26077
-428
lines changed

authors.yaml

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ MW-OAI:
275275
dwigg-openai:
276276
name: "Danny Wigg"
277277
website: "https://www.linkedin.com/in/dannywigg/"
278-
avatar: "https://media.licdn.com/dms/image/v2/C4D03AQEjMSl0pMR_qw/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1587647134114?e=1743033600&v=beta&t=XmULCSmk6V6YFmlyBggxj5uJeoYYuaYUKgcByKlS0K0"
278+
avatar: "https://avatars.githubusercontent.com/u/4661060?v=4"
279279

280280
msingh-openai:
281281
name: "Mandeep Singh"
@@ -360,4 +360,39 @@ phundal-openai:
360360
rkoenig-openai:
361361
name: "Robin Koenig"
362362
website: "https://www.linkedin.com/in/robinkoenig/"
363-
avatar: "https://media.licdn.com/dms/image/v2/C5603AQEqUVtbts8Huw/profile-displayphoto-shrink_400_400/profile-displayphoto-shrink_400_400/0/1558137883581?e=1753920000&v=beta&t=jcm-qNJfmgVJsS6uNHxHu5T2nQoUWkXivthzxTJMWqA"
363+
avatar: "https://media.licdn.com/dms/image/v2/C5603AQEqUVtbts8Huw/profile-displayphoto-shrink_400_400/profile-displayphoto-shrink_400_400/0/1558137883581?e=1753920000&v=beta&t=jcm-qNJfmgVJsS6uNHxHu5T2nQoUWkXivthzxTJMWqA"
364+
365+
joshbickett:
366+
name: "Josh Bickett"
367+
website: "https://www.linkedin.com/in/josh-bickett-4219b166/"
368+
avatar: "https://avatars.githubusercontent.com/u/42594239"
369+
370+
lupie:
371+
name: "Lucie Lozinski"
372+
website: "https://twitter.com/thisloops"
373+
avatar: "https://avatars.githubusercontent.com/u/6293148"
374+
375+
alexl-oai:
376+
name: "Alex Lowden"
377+
website: "https://www.linkedin.com/in/alex-lowden01/"
378+
avatar: "https://avatars.githubusercontent.com/u/215167546"
379+
380+
lara-openai:
381+
name: "Lara Rachidi"
382+
website: "https://www.linkedin.com/in/lara-rachidi/"
383+
avatar: "https://avatars.githubusercontent.com/u/208707651?v=4"
384+
385+
glojain:
386+
name: "Glory Jain"
387+
website: "https://www.linkedin.com/in/gloryjain/"
388+
avatar: "https://media.licdn.com/dms/image/v2/C4E03AQH72n6Sm5q69Q/profile-displayphoto-shrink_400_400/profile-displayphoto-shrink_400_400/0/1557995338725?e=1756339200&v=beta&t=FGTXiCZwTZvqHCY-wd8It15EDf11Rex1oLlBKRGHNtY"
389+
390+
corwin:
391+
name: "Corwin Cheung"
392+
website: "https://www.linkedin.com/in/corwincubes/"
393+
avatar: "https://avatars.githubusercontent.com/u/85517581?v=4"
394+
395+
daisyshe-oai:
396+
name: "Daisy Sheng"
397+
website: "https://www.linkedin.com/in/daisysheng/"
398+
avatar: "https://avatars.githubusercontent.com/u/212609991?v=4"

examples/Context_summarization_with_realtime_api.ipynb

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,14 @@
333333
" return resp.choices[0].message.content.strip()"
334334
]
335335
},
336+
{
337+
"cell_type": "markdown",
338+
"metadata": {},
339+
"source": [
340+
"Important implementation detail:\n",
341+
"- The summary is appended as a SYSTEM message rather than an ASSISTANT message. Testing revealed that, during extended conversations, using ASSISTANT messages for summaries can cause the model to mistakenly switch from audio responses to text responses. By using SYSTEM messages for summaries (which can also include additional custom instructions), we clearly signal to the model that these are context-setting instructions, preventing it from incorrectly adopting the modality of the ongoing user-assistant interaction."
342+
]
343+
},
336344
{
337345
"cell_type": "code",
338346
"execution_count": 11,
@@ -367,8 +375,8 @@
367375
" \"item\": {\n",
368376
" \"id\": summary_id,\n",
369377
" \"type\": \"message\",\n",
370-
" \"role\": \"assistant\",\n",
371-
" \"content\": [{\"type\": \"text\", \"text\": summary_text}],\n",
378+
" \"role\": \"system\",\n",
379+
" \"content\": [{\"type\": \"input_text\", \"text\": summary_text}],\n",
372380
" },\n",
373381
" }))\n",
374382
"\n",

examples/Fine_tuning_direct_preference_optimization_guide.ipynb

Lines changed: 698 additions & 0 deletions
Large diffs are not rendered by default.

examples/Generate_Images_With_High_Input_Fidelity.ipynb

Lines changed: 945 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)