| library_name: mlx | |
| tags: | |
| - mlx | |
| - time-series | |
| - forecasting | |
| - tirex | |
| base_model: NX-AI/TiRex | |
| # kunal732/TiRex-mlx | |
| This model was converted from [`NX-AI/TiRex`](https://huggingface.co/NX-AI/TiRex) | |
| using [MLX-Swift-TS](https://github.com/kunal732/MLX-Swift-TS). | |
| ## Use with MLX-Swift-TS | |
| ```swift | |
| import MLXTimeSeries | |
| let forecaster = try await TimeSeriesForecaster.loadFromHub(id: "kunal732/TiRex-mlx") | |
| let input = TimeSeriesInput.univariate(historicalValues) | |
| let prediction = forecaster.forecast(input: input, predictionLength: 64) | |
| ``` | |
| ## Original Model | |
| [NX-AI/TiRex](https://huggingface.co/NX-AI/TiRex) | |