Skip to content

Conversation

b2r66sun
Copy link

Summary

Transformer model in freqai utilizes a window dataset, in which squeeze operation in tensor raises bugs when the loss is switched to cross entropy for classifier models. This pull request changes the redundant unsqueeze operation and adds a transformer classifier example according to #8580.

Quick changelog

  • Modify the tensor squeeze/unsqueeze operations.
  • Add a transformer classifier example.

@xmatthias xmatthias added the freqAI Issues and PR's related to freqAI label Jan 12, 2025
@robcaulk
Copy link
Member

robcaulk commented Feb 8, 2025

Hello,

Do you know why the pipeline is failing @b2r66sun ?

Cheers,

Rob

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
freqAI Issues and PR's related to freqAI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants