diff --git "a/notebooks/mental_health_kaggle_noteboook.ipynb" "b/notebooks/mental_health_kaggle_noteboook.ipynb" new file mode 100644--- /dev/null +++ "b/notebooks/mental_health_kaggle_noteboook.ipynb" @@ -0,0 +1,506 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 2, + "metadata": {}, + "outputs": [], + "source": [ + "import pandas as pd" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "metadata": {}, + "outputs": [], + "source": [ + "\n", + "path = '/Users/lsacy/data/menduChat/Mental_Health_FAQ.csv'" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + " | Question_ID | \n", + "Questions | \n", + "Answers | \n", + "
---|---|---|---|
0 | \n", + "1590140 | \n", + "What does it mean to have a mental illness? | \n", + "Mental illnesses are health conditions that di... | \n", + "
1 | \n", + "2110618 | \n", + "Who does mental illness affect? | \n", + "It is estimated that mental illness affects 1 ... | \n", + "
2 | \n", + "6361820 | \n", + "What causes mental illness? | \n", + "It is estimated that mental illness affects 1 ... | \n", + "
3 | \n", + "9434130 | \n", + "What are some of the warning signs of mental i... | \n", + "Symptoms of mental health disorders vary depen... | \n", + "
4 | \n", + "7657263 | \n", + "Can people with mental illness recover? | \n", + "When healing from mental illness, early identi... | \n", + "
... | \n", + "... | \n", + "... | \n", + "... | \n", + "
93 | \n", + "4373204 | \n", + "How do I know if I'm drinking too much? | \n", + "Sorting out if you are drinking too much can b... | \n", + "
94 | \n", + "7807643 | \n", + "If cannabis is dangerous, why are we legalizin... | \n", + "Cannabis smoke, for example, contains cancer-c... | \n", + "
95 | \n", + "4352464 | \n", + "How can I convince my kids not to use drugs? | \n", + "You can't. But you can influence their capacit... | \n", + "
96 | \n", + "6521784 | \n", + "What is the legal status (and evidence) of CBD... | \n", + "Cannabidiol or CBD is a naturally occurring co... | \n", + "
97 | \n", + "3221856 | \n", + "What is the evidence on vaping? | \n", + "\"Vaping\" is the term for using a device where ... | \n", + "
98 rows × 3 columns
\n", + "\n", + " | prompt | \n", + "completion | \n", + "
---|---|---|
0 | \n", + "What does it mean to have a mental illness? | \n", + "Mental illnesses are health conditions that di... | \n", + "
1 | \n", + "Who does mental illness affect? | \n", + "It is estimated that mental illness affects 1 ... | \n", + "
2 | \n", + "What causes mental illness? | \n", + "It is estimated that mental illness affects 1 ... | \n", + "
3 | \n", + "What are some of the warning signs of mental i... | \n", + "Symptoms of mental health disorders vary depen... | \n", + "
4 | \n", + "Can people with mental illness recover? | \n", + "When healing from mental illness, early identi... | \n", + "
... | \n", + "... | \n", + "... | \n", + "
93 | \n", + "How do I know if I'm drinking too much? | \n", + "Sorting out if you are drinking too much can b... | \n", + "
94 | \n", + "If cannabis is dangerous, why are we legalizin... | \n", + "Cannabis smoke, for example, contains cancer-c... | \n", + "
95 | \n", + "How can I convince my kids not to use drugs? | \n", + "You can't. But you can influence their capacit... | \n", + "
96 | \n", + "What is the legal status (and evidence) of CBD... | \n", + "Cannabidiol or CBD is a naturally occurring co... | \n", + "
97 | \n", + "What is the evidence on vaping? | \n", + "\"Vaping\" is the term for using a device where ... | \n", + "
98 rows × 2 columns
\n", + "