this-word-does-not-exist
this-word-does-not-exist copied to clipboard
Type Error
Hey there, first of all: great work. I am getting the following error when running the sample code. Would someone be able to give a hint where i am doing wrong?
Best
0%| | 0/1 [00:00<?, ?it/s]Traceback (most recent call last): File ".../main.py", line 12, in <module> print(word_generator.generate_word()) File "...\title_maker_pro\word_generator.py", line 72, in generate_word use_custom_generate=True, File "...\title_maker_pro\datasets.py", line 638, in generate_words example_match_pos_pipeline, l_example, start_title_idx, len(t_rstrip) File "...\title_maker_pro\datasets.py", line 346, in approx_pos m = start_end_re.match(word.misc) TypeError: expected string or bytes-like object
Hello there -- what version of python are you using here? This looks like it might be related to an older version
Hey, thanks for your reply. It runs on python 3.7
@niklassoeder did you have any luck resolving this? Having the same issue. using Python 3.9.7
Same issue here, python 3.6
@niklassoeder @gerbill Fixed it by fixing Stanza version to 1.0.0 (I also have transformers fixed to 2.8.0)