MCPcopy Create free account
hub / github.com/PAIR-code/lit / predict

Method predict

lit_nlp/api/model.py:232–235  ·  view source on GitHub ↗
(
      self, inputs: Iterable[JsonDict], *args, **kw
  )

Source from the content-addressed store, hash-verified

230 return self.wrapped.supports_concurrent_predictions
231
232 def predict(
233 self, inputs: Iterable[JsonDict], *args, **kw
234 ) -> Iterable[JsonDict]:
235 return self.wrapped.predict(inputs, *args, **kw)
236
237 def load(self, path: str):
238 """Load a new model and wrap it with this class."""

Callers

nothing calls this directly

Calls 1

predictMethod · 0.45

Tested by

no test coverage detected