Closed michaelfeil closed 2 years ago
idea:
Class Predict: __init__(hydra_config, path_to_chph): self.tokenizer = .. self.model = .. load(ckph) predict(string): tokenized = self.tokenizer(string) preds = self.model(tokenized)
use this class then in cloud function local / anywhere else.
@still we have no tests.
works
idea:
use this class then in cloud function local / anywhere else.