ladderlore
  • S3 သို့မဟုတ် IAM လို service အမည်ကို ရိုက်ထည့်ပါ။

သဘောတရား

Built-in algorithms: text, sequence and forecasting

BlazingText, Seq2Seq, Object2Vec, LDA, NTM and DeepAR: what each does and the clue that picks it.

ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။

  • BlazingText

    Task
    Word vectors, text classes
    Note
    __label__ prefix for classes
  • Seq2Seq

    Task
    Translation, summaries
    Note
    Token IDs, GPU
  • Object2Vec

    Task
    Embeddings for pairs
    Note
    Similarity or classes
  • LDA

    Task
    Topics
    Note
    Single CPU instance
  • NTM

    Task
    Topics
    Note
    Neural, can use GPU
  • DeepAR

    Task
    Forecast many series
    Note
    JSON Lines or Parquet
Algorithms and their tasks.

1 / 2

  • BlazingText

    Task
    Word vectors, text classes
    Note
    __label__ prefix for classes
  • Seq2Seq

    Task
    Translation, summaries
    Note
    Token IDs, GPU
  • Object2Vec

    Task
    Embeddings for pairs
    Note
    Similarity or classes

2 / 2

  • LDA

    Task
    Topics
    Note
    Single CPU instance
  • NTM

    Task
    Topics
    Note
    Neural, can use GPU
  • DeepAR

    Task
    Forecast many series
    Note
    JSON Lines or Parquet
Algorithms and their tasks.
  • Demand for thousands of products

    DeepAR
  • Word vectors or a fast text classifier

    BlazingText
  • Translate or summarize

    Seq2Seq
  • Themes in unlabeled documents

    LDA or NTM
  • Match pairs, such as question and answer

    Object2Vec
Pick by clue.

1 / 2

  • Demand for thousands of products

    DeepAR
  • Word vectors or a fast text classifier

    BlazingText
  • Translate or summarize

    Seq2Seq
  • Themes in unlabeled documents

    LDA or NTM

2 / 2

  • Match pairs, such as question and answer

    Object2Vec
Pick by clue.

ဘာလဲ

BlazingText has two jobs. Word2vec mode turns words into vectors. Supervised mode is a fast text classifier: each training line starts with a label such as __label__sports, then the text. Seq2Seq is an encoder-decoder for sequence to sequence tasks such as machine translation and summarization. Text becomes integer token IDs in recordIO-protobuf, and it trains on GPU instances. Object2Vec learns embeddings for pairs of objects, such as a question and an answer or a user and an item, for similarity or classification.

ဘာလဲ

Topic models find topics in unlabeled documents. Latent Dirichlet Allocation (LDA) is a probabilistic model and trains on a single CPU instance. Neural Topic Model (NTM) uses a neural network and can use GPUs. For both, you set the number of topics.

DeepAR forecasts time series with a recurrent neural network trained across many related series, such as demand for thousands of products. Because it learns from all the series at once, it can forecast a new series with little history, and it gives probabilistic forecasts: a range, not one number. Input is JSON Lines or Parquet.

မှတ်ထားရန်

  • BlazingText: word vectors (Word2vec) or a fast text classifier with __label__ prefixes.
  • Seq2Seq: translation and summarization. GPU, with token IDs.
  • Object2Vec: embeddings for pairs, for similarity or classification.
  • LDA and NTM: topics without labels. You choose the number of topics.

မှတ်ထားရန်

  • DeepAR: forecasts for many related series, with ranges. It helps new series with little history.
  • One lone time series may not gain from DeepAR. It shines across many related series.

စာမေးပွဲမှာ

  • “Forecast demand for 10,000 products with one model” points to DeepAR.
  • “A fast text classifier with labels in the training file” points to BlazingText supervised mode.
  • “Translate sentences using your own parallel text” points to Seq2Seq.
  • “Find themes in thousands of unlabeled documents” points to LDA or Neural Topic Model.