Transformers
Safetensors
time-series
patchtst
livestock
dairy
synthetic-data
student-project
time-series-classification
Instructions to use YasenDzhenkov/herdsight-patchtst with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use YasenDzhenkov/herdsight-patchtst with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("YasenDzhenkov/herdsight-patchtst", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,477 Bytes
a7cd1c1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | {
"activation_function": "gelu",
"architectures": [
"PatchTSTForClassification"
],
"attention_dropout": 0.0,
"bias": true,
"channel_attention": false,
"channel_consistent_masking": false,
"context_length": 14,
"d_model": 128,
"distribution_output": "student_t",
"do_mask_input": null,
"dropout": 0.2,
"dtype": "float32",
"ff_dropout": 0.0,
"ffn_dim": 512,
"head_dropout": 0.2,
"id2label": {
"0": "normal",
"1": "brd",
"2": "lame",
"3": "estrus",
"4": "calving_24h",
"5": "stray"
},
"init_std": 0.02,
"label2id": {
"brd": 1,
"calving_24h": 4,
"estrus": 3,
"lame": 2,
"normal": 0,
"stray": 5
},
"loss": "mse",
"mask_input": null,
"mask_type": "random",
"mask_value": 0,
"model_type": "patchtst",
"norm_eps": 1e-05,
"norm_type": "batchnorm",
"num_attention_heads": 16,
"num_forecast_mask_patches": [
2
],
"num_hidden_layers": 3,
"num_input_channels": 16,
"num_parallel_samples": 100,
"num_targets": 6,
"output_range": null,
"patch_length": 2,
"patch_stride": 1,
"path_dropout": 0.0,
"pooling_type": null,
"positional_dropout": 0.0,
"positional_encoding_type": "sincos",
"pre_norm": true,
"prediction_length": 96,
"random_mask_ratio": 0.5,
"scaling": null,
"seed_number": null,
"share_embedding": true,
"share_projection": true,
"transformers_version": "5.23.0",
"unmasked_channel_indices": null,
"use_cls_token": true
}
|