AttributeError: module 'huggingface_hub.hf_api' has no attribute 'DatasetInfo' Environment info datasetsversion: 1.13.3 Platform: macOS-11.3.1-arm64-arm-64bit Python version: 3.8.10 PyArrow version: 5.0.0 JTWang2000added thebugSomething isn't workinglabelOct 17, 2021 ...
Describe the bug I encountered an AttributeError when trying to import se_extractor from the openvoice package in Google Colab. The error message indicates that the huggingface_hub.constants module does not have an attribute named HF_HUB...
huggingface_hub import hf_hub_download import torch import torch.nn as nn import torch.nn.functional as F import keras from keras.layers import TorchModuleWrapper device = torch.device("cuda" if torch.cuda.is_available() else "cpu") # 'cuda' def load_model_hf( repo_id: str, filename:...
For models that end with HF or have a .bin inside its "Files and versions" on its HuggingFace page. Make sure you have aMODEL_IDselected. For example ->MODEL_ID = "TheBloke/guanaco-7B-HF" Go to theHuggingFace Repo For models that contain GPTQ in its name and or have a .no-act...
huggingface_hub 0.15.1 py39haa95532_0 hvplot 0.8.0 py39haa95532_0 hydra-core 1.3.2 pypi_0 pypi hyperlink 21.0.0 pyhd3eb1b0_0 icc_rt 2022.1.0 h6049295_2 icu 58.2 ha925a31_3 idna 3.4 py39haa95532_0 imagecodecs 2021.8.26 py39hc0a7faf_1 ...
huggingface_hub 0.15.1 py39haa95532_0 defaults hvplot 0.8.4 py39haa95532_0 defaults hyperlink 21.0.0 pyhd3eb1b0_0 defaults icc_rt 2022.1.0 h6049295_2 defaults icu 58.2 ha925a31_3 defaults idna 3.4 py39haa95532_0 defaults imagecodecs 2021.8.26 py39h319e4f4_2 defaults ...
(https://github.com/huggingface/transformers/blob/main/src/transformers/models/flaubert/modeling_flaubert.py#L37) this goes down to the accelerate package from transformers import (FlaubertWithLMHeadModel) NOTE: Redirects are currently not supported in Windows or MacOs. --- AttributeError Traceback ...
packages\transformers\tokenization_utils_base.py:1601: FutureWarning:clean_up_tokenization_spaceswas not set. It will be set toTrueby default. This behavior will be depracted in transformers v4.45, and will be then set toFalseby default. For more details check this issue:huggingface/transformers#...