code: def test_build_layer_specific_params_invalid_gradual_unfreezing_args(
      self,
  ):
      model = AutoModelForSequenceClassification.from_pretrained(
          "sshleifer/tiny-distilroberta-base"
      )
  
      base_lr = 2e-5
      gradual_unfreezing = 4
      fine_tuning_arguments = FineTuningArguments(
          base_lr, 0.95, gradual_unfreezing=gradual_unfreezing
      )
  
      with self.assertRaisesRegex(
          ValueError,
          "Invalid gradual unfreezing parameters: No trainable layers left.",
      ):
          _build_layer_specific_params(
              model, base_lr, fine_tuning_arguments
          )
  
file_path: small-text/tests/unit/small_text/integrations/transformers/utils/test_classification.py
imports: import unittest
  import pytest
  import numpy
  from unittest.mock import patch, MagicMock
  from small_text.integrations.pytorch.exceptions import PytorchNotFoundError
label_desc: Use image node_id 3 for calling the BuildLayerSpecificParamsTest obj's underlying member method code with example usage: obj.test_build_layer_specific_params_invalid_gradual_unfreezing_args() without return types