omarsol commited on
Commit
fa07b77
1 Parent(s): 622271c

Upload csv_to_jsonl.ipynb with huggingface_hub

Browse files
Files changed (1) hide show
  1. csv_to_jsonl.ipynb +11 -11
csv_to_jsonl.ipynb CHANGED
@@ -9,7 +9,7 @@
9
  },
10
  {
11
  "cell_type": "code",
12
- "execution_count": 1,
13
  "metadata": {},
14
  "outputs": [
15
  {
@@ -18,7 +18,7 @@
18
  "'combined_data.jsonl'"
19
  ]
20
  },
21
- "execution_count": 1,
22
  "metadata": {},
23
  "output_type": "execute_result"
24
  }
@@ -30,15 +30,15 @@
30
  "\n",
31
  "# Define the path for the uploaded files\n",
32
  "files = [\n",
33
- " \"data/ai-tutor-csv-files/activeloop.csv\",\n",
34
- " \"data/ai-tutor-csv-files/advanced_rag_course.csv\",\n",
35
- " \"data/ai-tutor-csv-files/filtered_tai_v2.csv\",\n",
36
- " \"data/ai-tutor-csv-files/hf_transformers.csv\",\n",
37
- " \"data/ai-tutor-csv-files/langchain_course.csv\",\n",
38
- " \"data/ai-tutor-csv-files/langchain_docs.csv\",\n",
39
- " \"data/ai-tutor-csv-files/llm_course.csv\",\n",
40
- " \"data/ai-tutor-csv-files/openai.csv\",\n",
41
- " \"data/ai-tutor-csv-files/wiki.csv\"\n",
42
  "]\n",
43
  "\n",
44
  "# Function to load and clean CSV data\n",
 
9
  },
10
  {
11
  "cell_type": "code",
12
+ "execution_count": 2,
13
  "metadata": {},
14
  "outputs": [
15
  {
 
18
  "'combined_data.jsonl'"
19
  ]
20
  },
21
+ "execution_count": 2,
22
  "metadata": {},
23
  "output_type": "execute_result"
24
  }
 
30
  "\n",
31
  "# Define the path for the uploaded files\n",
32
  "files = [\n",
33
+ " \"activeloop.csv\",\n",
34
+ " \"advanced_rag_course.csv\",\n",
35
+ " \"filtered_tai_v2.csv\",\n",
36
+ " \"hf_transformers.csv\",\n",
37
+ " \"langchain_course.csv\",\n",
38
+ " \"langchain_docs.csv\",\n",
39
+ " \"llm_course.csv\",\n",
40
+ " \"openai.csv\",\n",
41
+ " \"wiki.csv\"\n",
42
  "]\n",
43
  "\n",
44
  "# Function to load and clean CSV data\n",