from pathlib import Path import json LOCAL_MODEL_DIR = Path("models--MoritzLaurer--deberta-v3-large-zeroshot-v2.0/snapshots/cf44676c28ba7312e5c5f8f8d2c22b3e0c9cdae2") for file in ["config.json", "tokenizer_config.json", "special_tokens_map.json", "added_tokens.json"]: path = LOCAL_MODEL_DIR / file if path.exists(): try: json.load(open(path, encoding="utf-8")) print(f"✅ OK: {file}") except Exception as e: print(f"❌ BAD: {file} -> {e}")