Readability and code quality improvements (#959)

* Consistent dataset naming

* consistent section headers
This commit is contained in:
Sebastian Raschka
2026-02-17 19:44:56 -05:00
committed by GitHub
parent 7b1f740f74
commit be5e2a3331
48 changed files with 419 additions and 297 deletions

View File

@@ -86,7 +86,8 @@
"id": "3a84cf35-b37f-4c15-8972-dfafc9fadc1c"
},
"source": [
"## 6.1 Different categories of finetuning"
" \n",
"### 6.1 Different categories of finetuning"
]
},
{
@@ -142,7 +143,8 @@
"id": "8c7017a2-32aa-4002-a2f3-12aac293ccdf"
},
"source": [
"## 6.2 Preparing the dataset"
" \n",
"### 6.2 Preparing the dataset"
]
},
{
@@ -699,7 +701,8 @@
"id": "a8d7a0c5-1d5f-458a-b685-3f49520b0094",
"metadata": {},
"source": [
"## 6.3 Creating data loaders"
" \n",
"### 6.3 Creating data loaders"
]
},
{
@@ -1019,7 +1022,8 @@
"id": "d1c4f61a-5f5d-4b3b-97cf-151b617d1d6c"
},
"source": [
"## 6.4 Initializing a model with pretrained weights"
" \n",
"### 6.4 Initializing a model with pretrained weights"
]
},
{
@@ -1219,7 +1223,8 @@
"id": "4c9ae440-32f9-412f-96cf-fd52cc3e2522"
},
"source": [
"## 6.5 Adding a classification head"
" \n",
"### 6.5 Adding a classification head"
]
},
{
@@ -1722,7 +1727,8 @@
"id": "32aa4aef-e1e9-491b-9adf-5aa973e59b8c",
"metadata": {},
"source": [
"## 6.6 Calculating the classification loss and accuracy"
" \n",
"### 6.6 Calculating the classification loss and accuracy"
]
},
{
@@ -2042,7 +2048,8 @@
"id": "456ae0fd-6261-42b4-ab6a-d24289953083"
},
"source": [
"## 6.7 Finetuning the model on supervised data"
" \n",
"### 6.7 Finetuning the model on supervised data"
]
},
{
@@ -2372,7 +2379,8 @@
"id": "a74d9ad7-3ec1-450e-8c9f-4fc46d3d5bb0",
"metadata": {},
"source": [
"## 6.8 Using the LLM as a spam classifier"
" \n",
"### 6.8 Using the LLM as a spam classifier"
]
},
{
@@ -2564,6 +2572,7 @@
"id": "5b70ac71-234f-4eeb-b33d-c62726d50cd4"
},
"source": [
" \n",
"## Summary and takeaways"
]
},