About 214 results
Open links in new tab
  1. Failed to import transformers.data.data_collator because of the ...

    Nov 15, 2024 · return self.ensure_sync (self.view_functions [rule.endpoint]) (**view_args) # type: ignore [no-any-return] File "/data-ai/adp/label-rag-server/main.py", line 41, in match_concept

  2. TypeError: To be compatible with tf.contrib.eager.defun, Python ...

    Jul 13, 2020 · TypeError: To be compatible with tf.contrib.eager.defun, Python functions must return zero or more Tensors; in compilation of <function tf_if_stmt.<locals>.error_checking_body at …

  3. ImportError: cannot import name 'list_datasets' #10048

    Feb 7, 2021 · I get an import error when I try to import any of the built in functions, list_datasets, load_dataset, etc. I have tried installing different versions of datasets and I have tried installing …

  4. transformers/src/transformers/models/pixio/modeling_pixio.py

    testing_utils.py time_series_utils.py tokenization_mistral_common.py tokenization_python.py tokenization_utils_base.py tokenization_utils_sentencepiece.py tokenization_utils_tokenizers.py

  5. _tokenizer.decode TypeError: 'list' object cannot be ... - GitHub

    Mar 7, 2011 · I don't actually understand why this is happening, because I have built the compute metrics function according to this tutorial https://neptune.ai/blog/hugging-face-pre-trained-models-find …

  6. transformers/src/transformers/pipelines/image_feature ... - GitHub

    Args: images (`str`, `list [str]`, `PIL.Image` or `list [PIL.Image]`): The pipeline handles three types of images: - A string containing a http link pointing to an image - A string containing a local path to an …

  7. Problem with Huggingface Agent · Issue #23328 - GitHub

    May 12, 2023 · Use tf.config.list_physical_devices('GPU') instead. 2023-05-12 10:54:01.265612: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:47] Overriding orig_value setting …

  8. TypeError: '>' not supported between instances of 'NoneType' and 'int'

    Nov 15, 2023 · Install python libraries from within pycharm. Install transformers development version as requested by script. Run script, after first epoch error is thrown. Expected behavior I'm running into …

  9. UserWarning: Creating a tensor from a list of numpy.ndarrays is ...

    Jul 12, 2023 · when i use tokenizer (...,padding=True), i will get a warnning : "UserWarning: Creating a tensor from a list of numpy.ndarrays is extremely slow. Please consider converting the list to a single …

  10. RuntimeError: Failed to import transformers.pipelines because of the ...

    Mar 15, 2023 · The error is coming from python not being able to import a specific scipy module and so isn't a transformers related bug per se. I would try reinstalling transformers with a package manager …