Download modeling_config.py from OpenGVLab/VideoMAEv2-Base: direct link, hf CLI and curl.
- Browser
- Download file 517 Bytes
-
https://huggingface.co/OpenGVLab/VideoMAEv2-Base/resolve/main/modeling_config.py
- Command line
-
hf download hf://OpenGVLab/VideoMAEv2-Base/modeling_config.py
-
curl -L -o modeling_config.py https://huggingface.co/OpenGVLab/VideoMAEv2-Base/resolve/main/modeling_config.py
517 Bytes
| import copy | |
| import re, ast | |
| from transformers import AutoConfig, LlamaConfig | |
| from transformers.configuration_utils import PretrainedConfig | |
| from transformers.utils import logging | |
| from easydict import EasyDict as MyEasyDict | |
| from importlib import import_module | |
| import os.path as osp | |
| import argparse | |
| import json | |
| from copy import deepcopy | |
| import sys | |
| class VideoMAEv2Config(PretrainedConfig): | |
| model_type = 'VideoMAEv2_Base' | |
| def __init__( | |
| self, | |
| **kwargs): | |
| super().__init__(**kwargs) |