Skip to content

Training Models? #45

Closed
Closed

Description

@coogle

Your question

Does this library support Training of models? e.g. the Trainer class? I don't see any documentation for it. In our use case we'd like to train a model to label user input based on a known-set of approximately 200 potential labels.

Context (optional)

No response

Reference (optional)

No response

Activity

  1. CodeWithKyrian commented on Jul 12, 2024

    @CodeWithKyrian
    Owner

    Hi @coogle, unfortunately TransformersPHP doesn't support training at the moment, just inferencing as stated in the docs. Training or fine tuning has to be done using another stack like Pytorch or Tensorflow, and the model weights can now be converted to ONNX format afterwards to run inferencing in PHP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions