Interface CausalLM

All Superinterfaces:
Trainable
All Known Implementing Classes:
DecoderOnlyModel, DeepJLoop, DeepJNova, DeepJOrbit, DeepJOrigin, DeepJPrism

public interface CausalLM extends Trainable
  • Method Details

    • forward

      Tensor forward(int[] inputIds)
    • supportsBatchedForward

      default boolean supportsBatchedForward()
    • forwardBatch

      default Tensor forwardBatch(int[][] inputIds)
    • openGeneration

      default GenerationSession openGeneration()
    • openGeneration

      default GenerationSession openGeneration(ContextWindowMode mode)
    • gradClipNorm

      float gradClipNorm()