Skip to content

fix transformers special tokens #2501

fix transformers special tokens

fix transformers special tokens #2501

Triggered via pull request December 6, 2024 19:55
Status Failure
Total duration 14m 48s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
test: tests/model_test_utils.py#L98
TestTarsTagger.test_train_load_use_model[False] AttributeError: DistilBertTokenizerFast has no attribute _bos_token
test: tests/model_test_utils.py#L226
TestTarsTagger.test_context_is_set_correctly[False] AttributeError: DistilBertTokenizerFast has no attribute _bos_token
test: tests/models/test_tars_ner.py#L61
TestTarsTagger.test_init_tars_and_switch[False] AttributeError: BertTokenizerFast has no attribute _bos_token
test
Process completed with exit code 1.
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636