I dont know now how to read these failurs #74
|
../tests/test_tokenizer.py::test_roundtrip_empty FAILED ================================================= FAILURES =================================================
E AttributeError: 'NoneType' object has no attribute 'encode' ../tests/test_tokenizer.py:83: AttributeError
E AttributeError: 'NoneType' object has no attribute 'encode' ../tests/test_tokenizer.py:97: AttributeError
E AttributeError: 'NoneType' object has no attribute 'encode' ../tests/test_tokenizer.py:113: AttributeError
E AttributeError: 'NoneType' object has no attribute 'encode' ../tests/test_tokenizer.py:127: AttributeError
E AttributeError: 'NoneType' object has no attribute 'encode' ../tests/test_tokenizer.py:143: AttributeError
E AttributeError: 'NoneType' object has no attribute 'encode' ../tests/test_tokenizer.py:157: AttributeError
E AttributeError: 'NoneType' object has no attribute 'encode' ../tests/test_tokenizer.py:170: AttributeError
E AttributeError: 'NoneType' object has no attribute 'encode' ../tests/test_tokenizer.py:183: AttributeError
E AttributeError: 'NoneType' object has no attribute 'encode' ../tests/test_tokenizer.py:199: AttributeError
E AttributeError: 'NoneType' object has no attribute 'encode' ../tests/test_tokenizer.py:212: AttributeError
E AttributeError: 'NoneType' object has no attribute 'encode' ../tests/test_tokenizer.py:224: AttributeError
E AttributeError: 'NoneType' object has no attribute 'encode' ../tests/test_tokenizer.py:241: AttributeError
E AttributeError: 'NoneType' object has no attribute 'encode' ../tests/test_tokenizer.py:256: AttributeError
E AttributeError: 'NoneType' object has no attribute 'encode' ../tests/test_tokenizer.py:273: AttributeError
E AttributeError: 'NoneType' object has no attribute 'encode' ../tests/test_tokenizer.py:287: AttributeError
E AttributeError: 'NoneType' object has no attribute 'encode' ../tests/test_tokenizer.py:302: AttributeError
E AttributeError: 'NoneType' object has no attribute 'encode' ../tests/test_tokenizer.py:316: AttributeError
E AttributeError: 'NoneType' object has no attribute 'encode' ../tests/test_tokenizer.py:331: AttributeError
E AttributeError: 'NoneType' object has no attribute 'encode' ../tests/test_tokenizer.py:344: AttributeError
E AttributeError: 'NoneType' object has no attribute 'encode' ../tests/test_tokenizer.py:360: AttributeError
E AttributeError: 'NoneType' object has no attribute 'encode' ../tests/test_tokenizer.py:376: AttributeError
E AttributeError: 'NoneType' object has no attribute 'encode_iterable' ../tests/test_tokenizer.py:390: AttributeError
E AttributeError: 'NoneType' object has no attribute 'encode_iterable' ../tests/test_tokenizer.py:408: AttributeError
../tests/test_tokenizer.py:427: tokenizer = None
E AttributeError: 'NoneType' object has no attribute 'encode_iterable' ../tests/test_tokenizer.py:455: AttributeError -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html These are the issues i face |
Replies: 1 comment
|
This means your |
This means your
get_tokenizer_from_vocab_merges_pathis returningNone, or has noreturnstatement. The error is telling youtokenizeris of typeNoneTypewhich doesn't have the method the test is expecting.