kunal732 commited on
Commit
de1c84f
·
verified ·
1 Parent(s): 76a9d54

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +28 -0
  2. config.json +38 -0
  3. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: mlx
3
+ tags:
4
+ - mlx
5
+ - time-series
6
+ - forecasting
7
+ - kairos
8
+ base_model: mldi-lab/Kairos_50m
9
+ ---
10
+
11
+ # kunal732/Kairos_50m-mlx
12
+
13
+ This model was converted from [`mldi-lab/Kairos_50m`](https://huggingface.co/mldi-lab/Kairos_50m)
14
+ using [MLX-Swift-TS](https://github.com/kunal732/MLX-Swift-TS).
15
+
16
+ ## Use with MLX-Swift-TS
17
+
18
+ ```swift
19
+ import MLXTimeSeries
20
+
21
+ let forecaster = try await TimeSeriesForecaster.loadFromHub(id: "kunal732/Kairos_50m-mlx")
22
+ let input = TimeSeriesInput.univariate(historicalValues)
23
+ let prediction = forecaster.forecast(input: input, predictionLength: 64)
24
+ ```
25
+
26
+ ## Original Model
27
+
28
+ [mldi-lab/Kairos_50m](https://huggingface.co/mldi-lab/Kairos_50m)
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "kairos",
3
+ "ts_model_class": "KairosModel",
4
+ "hidden_size": 512,
5
+ "num_layers": 6,
6
+ "num_heads": 8,
7
+ "input_format": "dynamic_patches",
8
+ "output_format": "quantiles",
9
+ "context_length": 2048,
10
+ "prediction_length": 64,
11
+ "d_model": 512,
12
+ "d_ff": 2048,
13
+ "d_kv": 64,
14
+ "num_decoder_layers": 6,
15
+ "num_decoder_segments": 2,
16
+ "input_patch_size": 128,
17
+ "input_patch_stride": 128,
18
+ "levels": 3,
19
+ "n_activated_experts": 3,
20
+ "n_null_experts": 2,
21
+ "moe_inter_dim": 1408,
22
+ "position_embedding_type": "instance_wise_rope",
23
+ "instance_rope_input_feature_dim": 128,
24
+ "is_gated_act": false,
25
+ "dense_act_fn": "relu",
26
+ "quantiles": [
27
+ 0.1,
28
+ 0.2,
29
+ 0.3,
30
+ 0.4,
31
+ 0.5,
32
+ 0.6,
33
+ 0.7,
34
+ 0.8,
35
+ 0.9
36
+ ],
37
+ "use_reg_token": true
38
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d98b1c1d95fd4dcc888390d93cc3db7936eb2cf712357c46891df9a2743ed30a
3
+ size 100293466