| # data-intelligence-management-import-development | |
| Time series forecasting model for import development prediction. | |
| ## Model details | |
| - Task: Time series forecasting | |
| - Architecture: LSTM-based model | |
| - Input: 5 time steps | |
| - Output: 5 future predictions | |
| ## Usage with Hugging Face Inference API | |
| ```python | |
| import requests | |
| API_URL = "https://api-inference.huggingface.co/models/data-intelligence-management-import-development" | |
| headers = {"Authorization": "Bearer YOUR_API_TOKEN"} | |
| def query(data): | |
| response = requests.post(API_URL, headers=headers, json={"inputs": data}) | |
| return response.json() | |
| # Example input: last 5 time steps | |
| data = [10, 15, 20, 25, 30] | |
| predictions = query(data) | |
| print(predictions) # Returns 5 future predictions | |
| ``` | |