"c:\\Projects\\private-projects\\SLIIT\\Group\\PP2 Progressing\\Edu Me ML\\PP2\\files/lesson-summarization is already a clone of https://huggingface.co/zuu/lesson-summarization. Make sure you pull the latest changes with `repo.git_pull()`.\n"
]
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "fc4f94541cda4fc0bbcf3043e834802b",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
" 0%| | 0/12800 [00:00<?, ?it/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"You're using a T5TokenizerFast tokenizer. Please note that with a fast tokenizer, using the `__call__` method is faster than using a method to encode the text followed by a call to the `pad` method to get a padded encoding.\n"
"Your max_length is set to 200, but your input_length is only 110. Since this is a summarization task, where outputs shorter than the input are typically wanted, you might consider decreasing max_length manually, e.g. summarizer('...', max_length=55)\n",
"Your max_length is set to 200, but your input_length is only 130. Since this is a summarization task, where outputs shorter than the input are typically wanted, you might consider decreasing max_length manually, e.g. summarizer('...', max_length=65)\n",
"Your max_length is set to 200, but your input_length is only 173. Since this is a summarization task, where outputs shorter than the input are typically wanted, you might consider decreasing max_length manually, e.g. summarizer('...', max_length=86)\n",
"Your max_length is set to 200, but your input_length is only 81. Since this is a summarization task, where outputs shorter than the input are typically wanted, you might consider decreasing max_length manually, e.g. summarizer('...', max_length=40)\n",
"Your max_length is set to 200, but your input_length is only 128. Since this is a summarization task, where outputs shorter than the input are typically wanted, you might consider decreasing max_length manually, e.g. summarizer('...', max_length=64)\n",
"Your max_length is set to 200, but your input_length is only 137. Since this is a summarization task, where outputs shorter than the input are typically wanted, you might consider decreasing max_length manually, e.g. summarizer('...', max_length=68)\n",
"Your max_length is set to 200, but your input_length is only 99. Since this is a summarization task, where outputs shorter than the input are typically wanted, you might consider decreasing max_length manually, e.g. summarizer('...', max_length=49)\n",
"Your max_length is set to 200, but your input_length is only 139. Since this is a summarization task, where outputs shorter than the input are typically wanted, you might consider decreasing max_length manually, e.g. summarizer('...', max_length=69)\n"
"Computer memory is represented as a sequence of bytes, grouped into words. Bytes have unique addresses or indices. The size of a word and byte determines the amount of memory that can be accessed. In C, a pointer is a variable that stores the memory address of another variable, which can also be a pointeder.\n",
"\n",
"The value pointed to by a pointer can be retrieved using the unary * operator, for example: int *p, and int x = *p;. The memory address of a variable can be obtained using the Unary ampersand (& ) operator, such as int*p = &x; to retrieve the value points to. In C, pointers use consecutive memory addresses without being able to identify them in the code\n",
"\n",
"Pointer arithmetic can be used to adjust w here a pointer pointer. For example, if pc points to the first element of an array, after executing pC+=3; then c points towards the fourth element. A pointer can even be dereferenced using array notation. For an array c, for example, the value of c[2] represents the value that the array el ement represents which is two elements beyond the array element currently pointed to\n",
"\n",
"In the second lecture, we defined functions that took an array as an argument. For instance, void reverse(char s[] affects the values of the array. It affects both the local value and the array itself.\n",
"\n",
"C allows the creation of arrays of pointers, such as int *a[5]. These arrays are particularly useful in strings. For instance, in C's support for command line arguments, main(int argc, char *argv[]), argv is an array of character pointers representing the command line argument.\n",
"\n",
"In C, to define an instance of a structure called circle, we write struct circle c;. Structures can also be initialized with values using the syntax 'struct circles c = 12, 23, 5;'.An automatic or local structure variable can be initialised by a function call. For instance, structure ci rcle c = circle_init(); initializes the structure variable c with values specified by the C function.A structure can be declared and int.Int y.\n",
"\n",
"In C, programmers can use pointers to functions, enabling functions to be passed as arguments to other functions. This allows for increased flexibility and parameterization of algorithms. For instance, a sorting algorithm can be designed to accept a pointer to a comparison function.\n",
"\n",
"A structure membe r can be accessed using the notation '. notation: 'structname.member; for example: pt.x', while comparisons between structures (pt1 > Pt2) are not defined, meaning points to structures can be defined using the 'structure circle *pc' operator, but it can look cumbersome, such as (*pc).x).\n",