From 80b33b9e0c5fba1fcaf7a62c529c3f2614160368 Mon Sep 17 00:00:00 2001 From: Luis Quintanilla <46974588+luisquintanilla@users.noreply.github.com> Date: Wed, 27 Mar 2024 00:50:54 +0000 Subject: [PATCH] Update notebooks and broken data --- .devcontainer/ai/Dockerfile | 10 +- .../Notebooks/03-Introduction-ChatGPT.ipynb | 82 ++++++----- .../04-Prompts-Prompt-Engineering.ipynb | 63 ++++----- ...trieval-Augmented-Generation-Context.ipynb | 128 ++++++++---------- .../07-Introduction-AI-Services.ipynb | 6 +- .../Notebooks/08-Train-AI-Services.ipynb | 4 +- .../Notebooks/10-Introduction-AutoML.ipynb | 107 ++++++++++----- .../sample-code/scripts/download-data.ps1 | 2 +- .../sample-code/scripts/download-data.sh | 2 +- 9 files changed, 210 insertions(+), 194 deletions(-) mode change 100644 => 100755 Artificial Intelligence and Machine Learning/sample-code/scripts/download-data.sh diff --git a/.devcontainer/ai/Dockerfile b/.devcontainer/ai/Dockerfile index 793fc1a..235d7eb 100644 --- a/.devcontainer/ai/Dockerfile +++ b/.devcontainer/ai/Dockerfile @@ -1,7 +1,7 @@ -FROM mcr.microsoft.com/dotnet/sdk:7.0 -RUN wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -O packages-microsoft-prod.deb -RUN dpkg -i packages-microsoft-prod.deb -RUN rm packages-microsoft-prod.deb -RUN apt update && apt upgrade -y && apt install unzip curl dotnet-sdk-6.0 -y +FROM mcr.microsoft.com/dotnet/sdk:8.0 +# RUN wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -O packages-microsoft-prod.deb +# RUN dpkg -i packages-microsoft-prod.deb +# RUN rm packages-microsoft-prod.deb +# RUN apt update && apt upgrade -y && apt install unzip curl dotnet-sdk-8.0 -y RUN dotnet tool install -g mlnet-linux-x64 ENV PATH="$PATH:/root/.dotnet/tools" \ No newline at end of file diff --git a/Artificial Intelligence and Machine Learning/sample-code/Notebooks/03-Introduction-ChatGPT.ipynb b/Artificial Intelligence and Machine Learning/sample-code/Notebooks/03-Introduction-ChatGPT.ipynb index 4188ce9..5349fcf 100644 --- a/Artificial Intelligence and Machine Learning/sample-code/Notebooks/03-Introduction-ChatGPT.ipynb +++ b/Artificial Intelligence and Machine Learning/sample-code/Notebooks/03-Introduction-ChatGPT.ipynb @@ -16,7 +16,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": 3, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -29,7 +29,7 @@ { "data": { "text/html": [ - "
Submission#6+Document
Embedding | [ 0.0150072165, 0.009965043, 0.010806452, -0.031345617, -0.00073584024, -0.010448539, -0.0044425125, -0.015120241, -0.016526775, 0.001671829, 0.02639763, 0.014253716, -0.034686133, -0.01564769, -0.046415623, 0.0055319485, 0.018397968, 0.007905475, 0.007930592, -0.023685029 ... (1516 more) ] | ||||||||
Metadata |
|
Title | 24-hour clock |
Text | The 24-hour clock is a way of telling the time in which the day runs from midnight to midnight and is divided into 24 hours, numbered from 0 to 23. It does not use a.m. or p.m. This system is also referred to (only in the US and the English speaking parts of Canada) as military time or (only in the United Kingdom and now very rarely) as continental time. In some parts of the world, it is called railway time. Also, the international standard notation of time (ISO 8601) is based on this format. |
WikiId | 9985 |
ParagraphId | 0 |