Skip to content

Commit

Permalink
remove archive config thign:
Browse files Browse the repository at this point in the history
  • Loading branch information
jadechoghari committed Feb 23, 2025
1 parent faceed5 commit 6dfbb34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/transformers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@
"FastSpeech2ConformerTokenizer",
"FastSpeech2ConformerWithHifiGanConfig",
],
"models.fast": ["FAST_PRETRAINED_CONFIG_ARCHIVE_MAP", "FastConfig"],
"models.fast": ["FastConfig"],
"models.flaubert": ["FlaubertConfig", "FlaubertTokenizer"],
"models.flava": [
"FlavaConfig",
Expand Down Expand Up @@ -5563,7 +5563,7 @@
from .models.esm import EsmConfig, EsmTokenizer
from .models.falcon import FalconConfig
from .models.falcon_mamba import FalconMambaConfig
from .models.fast import FAST_PRETRAINED_CONFIG_ARCHIVE_MAP, FastConfig
from .models.fast import FastConfig
from .models.fastspeech2_conformer import (
FastSpeech2ConformerConfig,
FastSpeech2ConformerHifiGanConfig,
Expand Down
5 changes: 0 additions & 5 deletions src/transformers/models/fast/configuration_fast.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@

logger = logging.get_logger(__name__)

FAST_PRETRAINED_CONFIG_ARCHIVE_MAP = {
"fast_base_tt_800_finetune_ic17mlt": ("https://huggingface.co/jadechoghari/fast-tiny/raw/main/config.json"),
}


class FastConfig(PretrainedConfig):
r"""
This is the configuration class to store the configuration of a [`FastForSceneTextRecognition`]. It is used to
Expand Down

0 comments on commit 6dfbb34

Please sign in to comment.