Skip to content

Commit bda5d2a

Browse files
committed
hiding a few more cell inputs and fix bulltpoint rendering
1 parent a90f041 commit bda5d2a

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

notebooks/influence_sentiment_analysis.ipynb

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"Not all the methods for influence function calculation can scale to large models and datasets. In this notebook we will use the [Kronecker-Factored Approximate Curvature](https://arxiv.org/abs/1503.05671) method, which is the only one that can scale to current state-of-the-art language models.\n",
1717
"\n",
1818
"The notebook is structured as follows:\n",
19+
"\n",
1920
"- [Setup](#Setup) imports the required libraries and downloads the dataset and the model.\n",
2021
"- [Sentiment analysis](#Sentiment-analysis) loads the model and the dataset and goes through a few examples of sentiment analysis.\n",
2122
"- [Model and data preparation](#Model-and-data-preparation) prepares the model and the dataset for influence function calculation. In particular, it assigns all the linear layers to require gradients and wraps the model so that only logits are returned (and not the loss or attention masks).\n",
@@ -1045,7 +1046,11 @@
10451046
{
10461047
"cell_type": "code",
10471048
"execution_count": 30,
1048-
"metadata": {},
1049+
"metadata": {
1050+
"tags": [
1051+
"hide-input"
1052+
]
1053+
},
10491054
"outputs": [
10501055
{
10511056
"data": {
@@ -1216,7 +1221,11 @@
12161221
{
12171222
"cell_type": "code",
12181223
"execution_count": 35,
1219-
"metadata": {},
1224+
"metadata": {
1225+
"tags": [
1226+
"hide-input"
1227+
]
1228+
},
12201229
"outputs": [
12211230
{
12221231
"data": {

0 commit comments

Comments
 (0)