Skip to content

Commit b4d4d61

Browse files
authored
Update docs-text-classification-python-multi-label-go_emotions.ipynb (#2107)
* Update docs-text-classification-python-multi-label-go_emotions.ipynb * Update docs-text-classification-python-multi-label-go_emotions.ipynb
1 parent 8ee3e64 commit b4d4d61

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

integrations/huggingface-transformers/tutorials/text-classification/docs-text-classification-python-multi-label-go_emotions.ipynb

+1-3
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@
649649
},
650650
"outputs": [],
651651
"source": [
652-
"%cat ./transfer_recipe/recipe/recipe_original.md"
652+
"%cat ./transfer_recipe/recipe.md"
653653
]
654654
},
655655
{
@@ -811,13 +811,11 @@
811811
"model_kwargs = {\"config\": config}\n",
812812
"model_kwargs[\"state_dict\"], s_delayed = SparseAutoModel._loadable_state_dict(model_path)\n",
813813
"model = AutoModelForSequenceClassification.from_pretrained(model_path, **model_kwargs,)\n",
814-
"SparseAutoModel.log_model_load(model, model_path, \"student\", s_delayed) # prints metrics on sparsity profile\n",
815814
"\n",
816815
"# initialize teacher using familiar HF AutoModel\n",
817816
"teacher_kwargs = {\"config\": teacher_config}\n",
818817
"teacher_kwargs[\"state_dict\"], t_delayed = SparseAutoModel._loadable_state_dict(teacher_path)\n",
819818
"teacher = AutoModelForSequenceClassification.from_pretrained(teacher_path, **teacher_kwargs,)\n",
820-
"SparseAutoModel.log_model_load(teacher, teacher_path, \"teacher\", t_delayed) # prints metrics on sparsity profile"
821819
]
822820
},
823821
{

0 commit comments

Comments
 (0)