Environment info transformers version: 4.1.1 Platform: Google Colab Python version: 3.7 PyTorch version (GPU?): 1.8.1 Tensorflow version (GPU?): Using GPU in script?: Yes Using distributed or parallel set-up in script?: Who can help Info...
07.04.2020 · Browse other questions tagged python python-3.x nlp pytorch huggingface-transformers or ask your own question. The Overflow Blog Skills, not schools, are in demand among developers
28.08.2020 · AttributeError: 'MarianTokenizer' object has no attribute 'prepare_translation_batch' Problem 2: When I downloa... Problem 1: When I load tokenizer from local directory. And use it according MarianMT tutorial.
Ask questions [MarianMTModel] 'list' object has no attribute 'size' Environment info You can run the command transformers-cli env and copy-and-paste its output below.
'tuple' object doesn't have attribute as_list #14346. Closed ndgnuh opened this issue Nov 10, 2021 · 6 comments ... in shape_list static = tensor.shape.as_list() AttributeError: 'tuple' object has no attribute 'as_list' ... Fix edge case: tensor is a numpy …
13.03.2021 · I am trying to use Huggingface to transform stuff from English to Hindi. ... AttributeError: 'list' object has no attribute 'size' Hugging-Face transformers. Ask Question Asked 9 months ago. Active 9 months ago. Viewed 938 times 0 I ...
14.07.2017 · Here I am jus extracting a csv file and reading the "TV"values, calculating average and printing using tensorflow. But I am getting "AttributError" list has no attribute 'size' ". Can anyone please...
By default, the type of input_ids is a list – and this seems to be updated in some recent version of HuggingFace. The error indicates that a list has no ‘size’ attribute, which is correct; Python lists don’t have them.
AttributeError: 'list' object has no attribute 'size' with HuggingFace model ... I am running the following code for machine translation with HuggingFace ...