You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: notebooks/text_classification/pytorch_text_classification/PyTorch_Text_Classifier_fine_tuning.ipynb
+2-2
Original file line number
Diff line number
Diff line change
@@ -296,7 +296,7 @@
296
296
"\n",
297
297
"Instead of using a dataset from the Hugging Face dataset catalog, a custom dataset from your local system or a download can be used.\n",
298
298
"\n",
299
-
"In this example, we download the [SMS Spam Collection dataset](https://archive-beta.ics.uci.edu/ml/datasets/sms+spam+collection). (Note: Please see this dataset's applicable license for terms and conditions. Intel Corporation does not own the rights to this data set and does not confer any rights to it.) The zip file has a single tab-separated value file with two columns. The first column is the label (`ham` or `spam`) and the second column is the text of the SMS message:\n",
299
+
"In this example, we download the [SMS Spam Collection dataset](https://archive.ics.uci.edu/ml/datasets/sms+spam+collection). (Note: Please see this dataset's applicable license for terms and conditions. Intel Corporation does not own the rights to this data set and does not confer any rights to it.) The zip file has a single tab-separated value file with two columns. The first column is the label (`ham` or `spam`) and the second column is the text of the SMS message:\n",
300
300
"```\n",
301
301
"<ham or spam>\t<text>\n",
302
302
"<ham or spam>\t<text>\n",
@@ -379,7 +379,7 @@
379
379
"\n",
380
380
"# Modify the variables below to use a different dataset or a csv file on your local system.\n",
381
381
"# The csv_path variable should be pointing to a csv file with 2 columns (the label and the text)\n",
Copy file name to clipboardExpand all lines: notebooks/text_classification/tfhub_text_classification/BERT_Binary_Text_Classification.ipynb
+2-2
Original file line number
Diff line number
Diff line change
@@ -268,7 +268,7 @@
268
268
"\n",
269
269
"Instead of using a dataset from TensorFlow datasets, another dataset from your local system or a download can be used. \n",
270
270
"\n",
271
-
"In this example, we download the [SMS Spam Collection dataset](https://archive-beta.ics.uci.edu/ml/datasets/sms+spam+collection). (Note: Please see this dataset's applicable license for terms and conditions. Intel Corporation does not own the rights to this data set and does not confer any rights to it.) The zip file has a single tab-separated value file with two columns. The first column is the label (`ham` or `spam`) and the second column is the text of the SMS message:\n",
271
+
"In this example, we download the [SMS Spam Collection dataset](https://archive.ics.uci.edu/ml/datasets/sms+spam+collection). (Note: Please see this dataset's applicable license for terms and conditions. Intel Corporation does not own the rights to this data set and does not confer any rights to it.) The zip file has a single tab-separated value file with two columns. The first column is the label (`ham` or `spam`) and the second column is the text of the SMS message:\n",
272
272
"```\n",
273
273
"<ham or spam>\t<text>\n",
274
274
"<ham or spam>\t<text>\n",
@@ -357,7 +357,7 @@
357
357
"\n",
358
358
"# Modify the variables below to use a different dataset or a csv file on your local system.\n",
359
359
"# The csv_path variable should be pointing to a csv file with 2 columns (the label and the text)\n",
Copy file name to clipboardExpand all lines: notebooks/text_classification/tlt_api_pyt_text_classification/TLT_PYT_Text_Classification.ipynb
+2-2
Original file line number
Diff line number
Diff line change
@@ -120,7 +120,7 @@
120
120
"\n",
121
121
"If the .csv has more columns, the `select_cols` or `exclude_cols` parameters can be used to filter out which columns are parsed.\n",
122
122
"\n",
123
-
"This example is downloading the [SMS Spam Collection](https://archive-beta.ics.uci.edu/ml/datasets/sms+spam+collection) dataset, which has a tab separated value file in the .zip file. This dataset has labeled SMS text messages that are either being classified as `ham` or `spam`. The first column in the data file has the label (`ham` or `spam`) and the second column is the text of the SMS mesage. (Note: Please see this dataset's applicable license for terms and conditions. Intel Corporation does not own the rights to this data set and does not confer any rights to it.)\n",
123
+
"This example is downloading the [SMS Spam Collection](https://archive.ics.uci.edu/ml/datasets/sms+spam+collection) dataset, which has a tab separated value file in the .zip file. This dataset has labeled SMS text messages that are either being classified as `ham` or `spam`. The first column in the data file has the label (`ham` or `spam`) and the second column is the text of the SMS mesage. (Note: Please see this dataset's applicable license for terms and conditions. Intel Corporation does not own the rights to this data set and does not confer any rights to it.)\n",
124
124
"\n",
125
125
"When using your own dataset, update the path to your dataset directory, as well the other variables with properties about the dataset like the csv file name, class names, delimiter, header, and the map function (if string labels need to be translated into numerical values)."
126
126
]
@@ -134,7 +134,7 @@
134
134
"source": [
135
135
"# Modify the variables below to use a different dataset or a csv file on your local system.\n",
136
136
"# The csv_path variable should be pointing to a csv file with 2 columns (the label and the text)\n",
Copy file name to clipboardExpand all lines: notebooks/text_classification/tlt_api_tf_text_classification/TLT_TF_Text_Classification.ipynb
+2-2
Original file line number
Diff line number
Diff line change
@@ -120,7 +120,7 @@
120
120
"\n",
121
121
"If the .csv has more columns, the `select_cols` or `exclude_cols` parameters can be used to filter out which columns are parsed.\n",
122
122
"\n",
123
-
"This example is downloading the [SMS Spam Collection](https://archive-beta.ics.uci.edu/ml/datasets/sms+spam+collection) dataset, which has a tab separated value file in the .zip file. This dataset has labeled SMS text messages that are either being classified as `ham` or `spam`. The first column in the data file has the label (`ham` or `spam`) and the second column is the text of the SMS mesage. (Note: Please see this dataset's applicable license for terms and conditions. Intel Corporation does not own the rights to this data set and does not confer any rights to it.)\n",
123
+
"This example is downloading the [SMS Spam Collection](https://archive.ics.uci.edu/ml/datasets/sms+spam+collection) dataset, which has a tab separated value file in the .zip file. This dataset has labeled SMS text messages that are either being classified as `ham` or `spam`. The first column in the data file has the label (`ham` or `spam`) and the second column is the text of the SMS mesage. (Note: Please see this dataset's applicable license for terms and conditions. Intel Corporation does not own the rights to this data set and does not confer any rights to it.)\n",
124
124
"\n",
125
125
"When using your own dataset, update the path to your dataset directory, as well the other variables with properties about the dataset like the csv file name, class names, delimiter, header, and the map function (if string labels need to be translated into numerical values)."
0 commit comments