fathinmp commited on
Commit
c2e771a
·
verified ·
1 Parent(s): b4a7d37

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. README.md +27 -0
  2. config.json +13 -0
  3. scaler.pkl +3 -0
  4. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ # data-intelligence-management-forecast
3
+
4
+ Time series forecasting model for forecast prediction.
5
+
6
+ ## Model details
7
+ - Task: Time series forecasting
8
+ - Architecture: LSTM-based model
9
+ - Input: 5 time steps
10
+ - Output: 5 future predictions
11
+
12
+ ## Usage with Hugging Face Inference API
13
+ ```python
14
+ import requests
15
+
16
+ API_URL = "https://api-inference.huggingface.co/models/data-intelligence-management-forecast"
17
+ headers = {"Authorization": "Bearer YOUR_API_TOKEN"}
18
+
19
+ def query(data):
20
+ response = requests.post(API_URL, headers=headers, json={"inputs": data})
21
+ return response.json()
22
+
23
+ # Example input: last 5 time steps
24
+ data = [10, 15, 20, 25, 30]
25
+ predictions = query(data)
26
+ print(predictions) # Returns 5 future predictions
27
+ ```
config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "time_series_forecast",
3
+ "architectures": [
4
+ "TimeSeriesModel"
5
+ ],
6
+ "hidden_size": 128,
7
+ "input_shape": [
8
+ 5,
9
+ 1
10
+ ],
11
+ "output_dim": 5,
12
+ "transformers_version": "4.28.1"
13
+ }
scaler.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a989fec4dbbc940c13253998c5e2a93b9548f738a441395fccf3712e7164d7ab
3
+ size 521
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbfe3f792e94381bef1681805f928fb58636e58a03b046e9c2fc1d03b3b92661
3
+ size 823584