In the assignment for Course 4, Week 2, Part 4: Evaluation has the folllowing code:
# Get the model architecture
model = TransformerLM(mode='eval')
# Load the pre-trained weights
model.init_from_file('model.pkl.gz', weights_only=True)
but it has been running for many, many minutes now (so far). There’s usually a warning above or inside a code cell if it will take a long time to run, but I don’t see one. I’m about to finish the assignment but this is preventing me from doing so.