Download config.json from MR0b0t/cpp-to-python-transformer: direct link, hf CLI and curl.
- Browser
- Download file 560 Bytes
-
https://huggingface.co/MR0b0t/cpp-to-python-transformer/resolve/main/config.json
- Command line
-
hf download hf://MR0b0t/cpp-to-python-transformer/config.json
-
curl -L -o config.json https://huggingface.co/MR0b0t/cpp-to-python-transformer/resolve/main/config.json
560 Bytes
| { | |
| "model_type": "encoder-decoder-transformer", | |
| "_note": "Architecture metadata. Also the file the Hugging Face Hub counts downloads on for repos without a registered library.", | |
| "d_model": 256, | |
| "num_encoder_layers": 4, | |
| "num_decoder_layers": 4, | |
| "num_heads": 8, | |
| "d_ff": 512, | |
| "dropout": 0.1, | |
| "max_seq_len": 300, | |
| "src_vocab_size": 14476, | |
| "tgt_vocab_size": 14512, | |
| "src_language": "C++", | |
| "tgt_language": "Python", | |
| "train_data": "XLCoST C++-Python pair_data_tok_full", | |
| "checkpoint": "best_model.pt", | |
| "epoch": 19, | |
| "val_loss": 2.0474 | |
| } | |