tarekziade HF Staff
Keep the real checkpoint's weight names, prefix and file format (tensors unchanged; reload verified bit-exact)
ad3dba8 verified Download build.json from huggingface-mic/privacy-filter-mic: direct link, hf CLI and curl.
- Browser
- Download file 6.41 kB
-
https://huggingface.co/huggingface-mic/privacy-filter-mic/resolve/main/build.json
- Command line
-
hf download hf://huggingface-mic/privacy-filter-mic/build.json
-
curl -L -o build.json https://huggingface.co/huggingface-mic/privacy-filter-mic/resolve/main/build.json
6.41 kB
| { | |
| "fixture": "huggingface-mic/privacy-filter-mic", | |
| "key": "6e7bf1f7474181289fbb7588b9ac9e5979ef1113032e8059f5151532c12fb4bc", | |
| "key_fields": { | |
| "architectures": [ | |
| "OpenAIPrivacyFilterForTokenClassification" | |
| ], | |
| "output_hidden_states": false, | |
| "return_dict": true, | |
| "chunk_size_feed_forward": 0, | |
| "is_encoder_decoder": false, | |
| "id2label": { | |
| "0": "O", | |
| "1": "B-account_number", | |
| "2": "I-account_number", | |
| "3": "E-account_number", | |
| "4": "S-account_number", | |
| "5": "B-private_address", | |
| "6": "I-private_address", | |
| "7": "E-private_address", | |
| "8": "S-private_address", | |
| "9": "B-private_date", | |
| "10": "I-private_date", | |
| "11": "E-private_date", | |
| "12": "S-private_date", | |
| "13": "B-private_email", | |
| "14": "I-private_email", | |
| "15": "E-private_email", | |
| "16": "S-private_email", | |
| "17": "B-private_person", | |
| "18": "I-private_person", | |
| "19": "E-private_person", | |
| "20": "S-private_person", | |
| "21": "B-private_phone", | |
| "22": "I-private_phone", | |
| "23": "E-private_phone", | |
| "24": "S-private_phone", | |
| "25": "B-private_url", | |
| "26": "I-private_url", | |
| "27": "E-private_url", | |
| "28": "S-private_url", | |
| "29": "B-secret", | |
| "30": "I-secret", | |
| "31": "E-secret", | |
| "32": "S-secret" | |
| }, | |
| "label2id": { | |
| "B-account_number": 1, | |
| "B-private_address": 5, | |
| "B-private_date": 9, | |
| "B-private_email": 13, | |
| "B-private_person": 17, | |
| "B-private_phone": 21, | |
| "B-private_url": 25, | |
| "B-secret": 29, | |
| "E-account_number": 3, | |
| "E-private_address": 7, | |
| "E-private_date": 11, | |
| "E-private_email": 15, | |
| "E-private_person": 19, | |
| "E-private_phone": 23, | |
| "E-private_url": 27, | |
| "E-secret": 31, | |
| "I-account_number": 2, | |
| "I-private_address": 6, | |
| "I-private_date": 10, | |
| "I-private_email": 14, | |
| "I-private_person": 18, | |
| "I-private_phone": 22, | |
| "I-private_url": 26, | |
| "I-secret": 30, | |
| "O": 0, | |
| "S-account_number": 4, | |
| "S-private_address": 8, | |
| "S-private_date": 12, | |
| "S-private_email": 16, | |
| "S-private_person": 20, | |
| "S-private_phone": 24, | |
| "S-private_url": 28, | |
| "S-secret": 32 | |
| }, | |
| "problem_type": null, | |
| "num_hidden_layers": 2, | |
| "num_local_experts": 4, | |
| "vocab_size": 200064, | |
| "hidden_size": 64, | |
| "intermediate_size": 128, | |
| "head_dim": 16, | |
| "num_attention_heads": 4, | |
| "num_key_value_heads": 2, | |
| "sliding_window": 128, | |
| "tie_word_embeddings": false, | |
| "initializer_range": 0.02, | |
| "max_position_embeddings": 131072, | |
| "rms_norm_eps": 1e-05, | |
| "rope_parameters": { | |
| "beta_fast": 32.0, | |
| "beta_slow": 1.0, | |
| "factor": 32.0, | |
| "original_max_position_embeddings": 4096, | |
| "rope_theta": 150000.0, | |
| "rope_type": "yarn", | |
| "truncate": false | |
| }, | |
| "attention_dropout": 0.0, | |
| "num_experts_per_tok": 2, | |
| "swiglu_alpha": 1.702, | |
| "swiglu_limit": 7.0, | |
| "router_aux_loss_coef": 0.001, | |
| "output_router_logits": false, | |
| "use_cache": true, | |
| "pad_token_id": 199999, | |
| "bos_token_id": null, | |
| "eos_token_id": 199999, | |
| "attention_bias": true, | |
| "classifier_dropout": 0.0, | |
| "default_n_ctx": 128000, | |
| "hidden_act": "silu", | |
| "initial_context_length": 4096, | |
| "model_type": "openai_privacy_filter", | |
| "transformers.js_config": { | |
| "use_external_data_format": { | |
| "model.onnx": 3, | |
| "model_fp16.onnx": 2, | |
| "model": 1 | |
| } | |
| }, | |
| "output_attentions": false, | |
| "dtype": "bfloat16" | |
| }, | |
| "covers": { | |
| "openai/privacy-filter": "7ffa9a043d54d1be65afb281eddf0ffbe629385b" | |
| }, | |
| "built_from": { | |
| "repo": "openai/privacy-filter", | |
| "revision": "7ffa9a043d54d1be65afb281eddf0ffbe629385b" | |
| }, | |
| "seed": 17, | |
| "dtype": "bfloat16", | |
| "builder": "example/build_fixtures.py", | |
| "builder_revision": "6bc67f82d758f0e6828177388f45bf743c61f348", | |
| "recipe": { | |
| "seed": 17, | |
| "model_class": "OpenAIPrivacyFilterForTokenClassification" | |
| }, | |
| "shrink": "rule", | |
| "model_class": "OpenAIPrivacyFilterForTokenClassification", | |
| "parameters": 13031217, | |
| "missing_parameters": [], | |
| "checkpoint_inspection": "parameter headers/indexes; bounded binary fallback", | |
| "numeric_health_scope": "CPU float32/bfloat16/float16; autocast for low-precision losses", | |
| "captured": { | |
| "call": "training step", | |
| "inputs": [ | |
| "attention_mask", | |
| "input_ids", | |
| "labels" | |
| ], | |
| "class": "OpenAIPrivacyFilterForTokenClassification" | |
| }, | |
| "weights": "random", | |
| "gate": { | |
| "random": { | |
| "pass": true, | |
| "accepted_insensitive": {}, | |
| "threshold": 0.001, | |
| "deltas": { | |
| "input_ids:roll_batch": 0.921875, | |
| "input_ids:reverse": 0.625, | |
| "attention_mask:all_ones": 0.388671875 | |
| }, | |
| "weakest": "attention_mask:all_ones", | |
| "no_perturbation_defined": [], | |
| "not_a_forward_parameter": [] | |
| } | |
| }, | |
| "numeric_health": { | |
| "float32": { | |
| "outputs_finite": true, | |
| "loss_finite": true, | |
| "gradients_finite": true, | |
| "finite": true | |
| }, | |
| "bfloat16": { | |
| "outputs_finite": true, | |
| "loss_finite": true, | |
| "gradients_finite": true, | |
| "finite": true | |
| }, | |
| "float16": { | |
| "outputs_finite": true, | |
| "loss_finite": true, | |
| "unscaled_gradients_finite": true, | |
| "finite": true | |
| } | |
| }, | |
| "copied_unchanged": [ | |
| "model.sig", | |
| "tokenizer.json", | |
| "tokenizer_config.json", | |
| "viterbi_calibration.json" | |
| ], | |
| "environment": { | |
| "python": "3.12.12", | |
| "machine": "arm64", | |
| "torch": "2.14.1", | |
| "transformers": "5.22.0.dev0", | |
| "tokenizers": "0.23.3" | |
| }, | |
| "sha256": { | |
| "config.json": "6837cc44c23be372b54a74a48ba161ee9cec677ef99fbab6c53442e537ace80a", | |
| "model.safetensors": "9b5fe12a35310b8c15ff0b5854962c452e991312cdea1c1adb0ca480aaffa7d1", | |
| "model.sig": "cb1f2ba7878e0796a2ae9fe338d307245da483d59552fe2b688293cbeb1c1414", | |
| "tokenizer.json": "0614fe83cadab421296e664e1f48f4261fa8fef6e03e63bb75c20f38e37d07d3", | |
| "tokenizer_config.json": "6c14af9ce1a284d3c3c5146b26efe4cd589c68e1dd4e9d94455606ec911ba774", | |
| "viterbi_calibration.json": "bbc8611ef08a55ed72d64856cbbbb9a91db8dfa881f0a92e2afbad6e4bbc775a" | |
| }, | |
| "serialization": { | |
| "file": "model.safetensors", | |
| "reverted_conversions": [], | |
| "migrated_from": "model.safetensors" | |
| } | |
| } | |