diff --git a/notebooks/fNIRS_Glossary_Hardware.docx b/notebooks/fNIRS_Glossary_Hardware.docx new file mode 100644 index 0000000..a52733b Binary files /dev/null and b/notebooks/fNIRS_Glossary_Hardware.docx differ diff --git a/notebooks/local-model-rag-implementation.ipynb b/notebooks/local-model-rag-implementation.ipynb index 3ff0146..2d2242e 100644 --- a/notebooks/local-model-rag-implementation.ipynb +++ b/notebooks/local-model-rag-implementation.ipynb @@ -10,7 +10,7 @@ }, { "cell_type": "code", - "execution_count": 26, + "execution_count": 33, "id": "4c312410", "metadata": {}, "outputs": [], @@ -24,12 +24,12 @@ "CONTEXT_SIZE = 8192\n", "EMBEDDER = \"all-MiniLM-L6-v2\"\n", "RAG_PATH = \"./build/rag_db\"\n", - "DOCS_PATH = \"C:\\\\Users\\\\nalab\\\\Downloads\\\\fNIRS_Glossary_Hardware.docx\"" + "DOCS_PATH = \"fNIRS_Glossary_Hardware.docx\"" ] }, { "cell_type": "code", - "execution_count": 27, + "execution_count": 34, "id": "90bae527", "metadata": {}, "outputs": [], @@ -61,7 +61,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 35, "id": "34efbc7c", "metadata": {}, "outputs": [], @@ -84,7 +84,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 36, "id": "ed2cc1ff", "metadata": {}, "outputs": [], @@ -119,7 +119,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 37, "id": "6fa9fd10", "metadata": {}, "outputs": [ @@ -130,7 +130,7 @@ "Number of documents: 68\n", "Document lengths: [1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 63]\n", "Retrieved docs length: 1\n", - "Prompt length: 630\n" + "Prompt length: 627\n" ] } ], @@ -145,7 +145,7 @@ }, { "cell_type": "code", - "execution_count": 32, + "execution_count": 38, "id": "5a82353e", "metadata": {}, "outputs": [ @@ -155,7 +155,7 @@ "'Frequency-domain (FD) multidistance NIRS technique can estimate absolute values of absorption and scattering of the medium, and subsequently chromophore concentrations.'" ] }, - "execution_count": 32, + "execution_count": 38, "metadata": {}, "output_type": "execute_result" }