xaitalk
Add config.json so TF-only users can load from mirror without canonical repo
3c2c5dd verified Download config.json from xaitalk/distilbert-sst2-mirror: direct link, hf CLI and curl.
- Browser
- Download file 629 Bytes
-
https://huggingface.co/xaitalk/distilbert-sst2-mirror/resolve/main/config.json
- Command line
-
hf download hf://xaitalk/distilbert-sst2-mirror/config.json
-
curl -L -o config.json https://huggingface.co/xaitalk/distilbert-sst2-mirror/resolve/main/config.json
629 Bytes
| { | |
| "activation": "gelu", | |
| "architectures": [ | |
| "DistilBertForSequenceClassification" | |
| ], | |
| "attention_dropout": 0.1, | |
| "dim": 768, | |
| "dropout": 0.1, | |
| "finetuning_task": "sst-2", | |
| "hidden_dim": 3072, | |
| "id2label": { | |
| "0": "NEGATIVE", | |
| "1": "POSITIVE" | |
| }, | |
| "initializer_range": 0.02, | |
| "label2id": { | |
| "NEGATIVE": 0, | |
| "POSITIVE": 1 | |
| }, | |
| "max_position_embeddings": 512, | |
| "model_type": "distilbert", | |
| "n_heads": 12, | |
| "n_layers": 6, | |
| "output_past": true, | |
| "pad_token_id": 0, | |
| "qa_dropout": 0.1, | |
| "seq_classif_dropout": 0.2, | |
| "sinusoidal_pos_embds": false, | |
| "tie_weights_": true, | |
| "vocab_size": 30522 | |
| } | |