Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Current bow.py will fail without cuda #77

@trdavidson

Description

@trdavidson

Hi guys, just wanted to highlight that currently the bow.py example will fail when not GPUs are available due to the hard-coded .cuda conversions in senteval/tools/classifier.py. An easy fix is to init the classifier with a device variable, and simply set .to(self.device) everywhere. Thanks for making this framework available!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions