Canonical: https://instain.ru/en/ai/salesforce-moirai/
Language: en

Salesforce AI Research  Time series forecasting model

# Moirai. 

Predicts values based on the measurement sequence

4.28 / 5    [Directory score](https://instain.ru/en/ai/salesforce-moirai/#editorial-rating) [Official website ](https://huggingface.co/Salesforce/moirai-2.0-R-small)

Moirai from Salesforce builds forecasts for measurement sequences. The developer publishes the weights and code to run in its own environment.

![Salesforce card with Moirai model description for series forecasting](https://instain.ru/assets/images/salesforce-moirai-screen-ca2a27352b0a-1200.webp)

Salesforce card with Moirai model description for series prediction.  [Open the source ](https://huggingface.co/Salesforce/moirai-2.0-R-small)

## Working hours and frequency of measurements

Imagine that the library needs to decide when to open an additional room for classes. The counter of visits records the result once per hour. From such a story, you can build a forecast for the next working day. First, make sure that each record corresponds to one hour period: closed hours and counter failures cannot automatically be considered the same empty values.

## Set aside whole days

The first experiments with published weights can be carried out without your own training. From the entire sequence, allocate a few working days for evaluation and leave before each of them only the story that was known the day before. Compare Moirai with a simple forecast for a similar day of the week and look separately at the hours when the hall is usually filled.

## Make mistakes where they are important.

The average error per day can look acceptable thanks to the quiet hours in the morning, even if the model underestimates the evening peak. Write down how many times both forecasts lead to the wrong decision to open the hall. If the library has just changed the schedule, keep a check mark on the change of mode. For the new schedule, it is better to repeat the check as the fresh history accumulates.

## Save launch conditions

The model card shows how to run these weights and which settings must match the series. Save the Uni2TS version, sampling frequency, history length, and forecast horizon. This makes it easier to explain why the results change later or reproduce the experiment on another machine.

## Suitable tasks

- Predict the hourly load of the common space

- Comparison of models in one historical period

Features 

## Strengths

- For the first forecast, published weights can be used

- The model card contains an example of time series processing

Things to consider 

## Limitations

- The data frequency and entry features should match the selected option.

- For Moirai 2.0 Small there is a non-commercial license.

## Selection and conditions

Free access

Not confirmed

Trial period

Not confirmed

No sign-up required

Not confirmed

Russian interface

Not confirmed

Local installation

Yes

API

Not confirmed

“Not confirmed” means there is not enough information. The feature may still be available; check the developer’s terms.

Input formats

Table, Data

Result

Data

### Terms

Data frequency and input features must match the selected variant. Moirai 2.0 Small uses a noncommercial license.

From task to first result

## Practical example

Task

Predict the hourly load of the common space

What to prepare

Hourly attendance data of the fictional library and several working days for verification.

### Task brief or prompt

Estimate the number of visits by hour and compare it with the corresponding day of the previous week.

### Expected result

Predictive range with hourly errors and separately marked overflow hours.

### How to check the result

- Distinguish between meter passes and closed hours.

- Compare the decisions to open the hall on the postponed days.

An editorial teaching example of a task brief, not the result of hands-on testing of the service. Check that the required mode is available, that you have rights to the source material and that the intended use of the result is permitted.

Check details

## Official sources

-  [Moirai 2.0 card from Salesforce ](https://huggingface.co/Salesforce/moirai-2.0-R-small)

-  [Uni2TS Repository by Salesforce AI Research ](https://github.com/SalesforceAIResearch/uni2ts)

This description is based on the developer’s material. Features, prices and availability may change; check the primary source before use.

About the tool

Developer

Salesforce AI Research

Category

[Work and study](https://instain.ru/en/category/productivity/)

Access

Set up the Python environment according to the Uni2TS guide and download the Moirai variant you need. To test it, use the example from the exact model card.

Payment

The Moirai 2.0 Small weights are released under the noncommercial CC BY-NC 4.0 license. Computing costs depend on the length of the series and your hardware.

API

No separate API specified

[Developer terms ](https://huggingface.co/Salesforce/moirai-2.0-R-small)

Directory score

4.28 / 5 

Features

4.30 / 5 

Workflows

4.10 / 5 

Ecosystem

4.20 / 5 

Documentation

4.50 / 5 

Scores are an editorial guide to the directory. They are not user reviews or the results of personal testing.

[See the methodology ](https://instain.ru/en/methodology/)
