Instructions to use juliushanusch/ChronosBoltBERT-Default with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use juliushanusch/ChronosBoltBERT-Default with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, ChronosBoltModelForForecasting tokenizer = AutoTokenizer.from_pretrained("juliushanusch/ChronosBoltBERT-Default") model = ChronosBoltModelForForecasting.from_pretrained("juliushanusch/ChronosBoltBERT-Default", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from juliushanusch/ChronosBoltBERT-Default: direct link, hf CLI and curl.
- Browser
- Download file 1.44 kB
-
https://huggingface.co/juliushanusch/ChronosBoltBERT-Default/resolve/main/config.json
- Command line
-
hf download hf://juliushanusch/ChronosBoltBERT-Default/config.json
-
curl -L -o config.json https://huggingface.co/juliushanusch/ChronosBoltBERT-Default/resolve/main/config.json
1.44 kB
| { | |
| "_name_or_path": "/data/horse/ws/juha972b-AION-BERT-Chronos/BERTi/BertModel/Bolt/BertBolt200k256/run-0/checkpoint-final", | |
| "architectures": [ | |
| "ChronosBoltModelForForecasting" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "chronos_config": { | |
| "context_length": 4096, | |
| "debug_batch_idx": 0, | |
| "debug_max_patches": 3, | |
| "debug_patching": false, | |
| "individual_dropout": 0.05, | |
| "input_patch_size": 16, | |
| "input_patch_stride": 16, | |
| "masking_prob": 0.15, | |
| "model_id": "prajjwal1/bert-small", | |
| "patch_masking_prob": 0.8, | |
| "patch_perturbation_noise_strength": 0.1, | |
| "patch_perturbation_prob": 0.1, | |
| "patch_perturbation_scale_strength": 0.1, | |
| "prediction_length": 1, | |
| "quantiles": [ | |
| 0.1, | |
| 0.2, | |
| 0.3, | |
| 0.4, | |
| 0.5, | |
| 0.6, | |
| 0.7, | |
| 0.8, | |
| 0.9 | |
| ], | |
| "unchanged_patch_prob": 0.1, | |
| "use_reg_token": false | |
| }, | |
| "classifier_dropout": null, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 512, | |
| "initializer_range": 0.05, | |
| "intermediate_size": 2048, | |
| "layer_norm_eps": 1e-12, | |
| "mask_token_id": 1, | |
| "max_position_embeddings": 512, | |
| "model_type": "bert", | |
| "num_attention_heads": 8, | |
| "num_hidden_layers": 4, | |
| "pad_token_id": 0, | |
| "position_embedding_type": "absolute", | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.49.0", | |
| "type_vocab_size": 2, | |
| "use_cache": true, | |
| "vocab_size": 2 | |
| } | |