Skip to content

AlpacaClient() instance is dead #10

@greenspray9

Description

@greenspray9

Hi, After I have at least 10 entries, I am waiting for the model to train but it never does so I ran the code in debug version. I see that alpaca_client instance times out without initialization. Is this a known issue?

The error is particularly generated by this code

def alpaca_online_learning(train_docs, annotations, epoch, batch):
    global alpaca_client
    response = alpaca_client.online_learning(train_docs, annotations, epoch, batch)
    if response == 'error':
        print('error')
        time.sleep(2)
        alpaca_client.online_learning(train_docs, annotations, epoch, batch)

alpaca_client is None so the whole function cannot execute.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions