Skip to content

Commit

Permalink
layerfreezing
Browse files Browse the repository at this point in the history
  • Loading branch information
v-chen_data committed Nov 30, 2024
1 parent a46bcc5 commit 53da8a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_full_nlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from torchmetrics.classification import MulticlassAccuracy
from transformers import BertConfig, BertForMaskedLM, BertForSequenceClassification, BertTokenizerFast

from composer.algorithms import LabelSmoothing
from composer.algorithms import LayerFreezing
from composer.loggers import RemoteUploaderDownloader
from composer.metrics.nlp import LanguageCrossEntropy, MaskedAccuracy
from composer.models import HuggingFaceModel
Expand Down Expand Up @@ -233,7 +233,7 @@ def inference_test_helper(
@pytest.mark.parametrize(
'model_type,algorithms,save_format',
[
('tinybert_hf', [LabelSmoothing], 'onnx'),
('tinybert_hf', [LayerFreezing], 'onnx'),
('simpletransformer', [], 'torchscript'),
],
)
Expand Down

0 comments on commit 53da8a8

Please sign in to comment.