replicate-python icon indicating copy to clipboard operation
replicate-python copied to clipboard

document the training API

Open zeke opened this issue 2 years ago • 2 comments

Followup to https://github.com/replicate/replicate-python/pull/82

zeke avatar Apr 25 '23 20:04 zeke

Another user ran into this today. @fool1280

zeke avatar May 31 '23 02:05 zeke

training = replicate.trainings.create(
  version="replicate/flan-t5-xl:3ae0799123a1fe11f8c89fd99632f843fc5f7a761630160521c4253149754523",
  input={
    "train_data": "https://storage.googleapis.com/dan-scratch-public/fine-tuning/70k_samples.jsonl",
  },
  destination="replicate/robohacker"
)

module 'replicate' has no attribute 'trainings'

zeke avatar May 31 '23 02:05 zeke