Download train/llava/model/__init__.py from GuoruiSong/ReVID: direct link, hf CLI and curl.
- Browser
- Download file 361 Bytes
-
https://huggingface.co/GuoruiSong/ReVID/resolve/main/train/llava/model/__init__.py
- Command line
-
hf download hf://GuoruiSong/ReVID/train/llava/model/__init__.py
-
curl -L -o __init__.py https://huggingface.co/GuoruiSong/ReVID/resolve/main/train/llava/model/__init__.py
361 Bytes
| import os | |
| AVAILABLE_MODELS = { | |
| "llava_llada": "LlavaLLaDAModelLM, LlavaLLaDAConfig", | |
| } | |
| for model_name, model_classes in AVAILABLE_MODELS.items(): | |
| try: | |
| exec(f"from .language_model.{model_name} import {model_classes}") | |
| except Exception as e: | |
| print(f"Failed to import {model_name} from llava.language_model.{model_name}. Error: {e}") | |