You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! First and foremost - thank you for these notebooks!!!
In your spancat notebook,
I have followed your lead and used your data.csv but sadly, I am getting an error. This is with spacy==3.5.3, which is the latest version as I am writing this (June 15, 2023).
In [8], which in your notebook is the following cell:
#start training the spancat component all_losses= []
withnlp.disable_pipes(*unaffected_pipes):
foriterationintqdm(range(10)):
# shuffling examples before every iterationrandom.shuffle(train_data)
losses= {}
batches=minibatch(train_data, size=compounding(4.0, 32.0, 1.001))
forbatchinbatches:
nlp.update(list(batch), losses=losses, drop=0.1, sgd=sgd)
print("epoch: {} Losses: {}".format(iteration, str(losses)))
all_losses.append(losses['spancat'])
I am getting this error right when I start running:
Hi! First and foremost - thank you for these notebooks!!!
In your spancat notebook,
I have followed your lead and used your
data.csv
but sadly, I am getting an error. This is withspacy==3.5.3
, which is the latest version as I am writing this (June 15, 2023).In [8]
, which in your notebook is the following cell:I am getting this error right when I start running:
The text was updated successfully, but these errors were encountered: