"examples/vscode:/vscode.git/clone" did not exist on "f9453d15e5342bb5a60498916635f1a5e5c6cb14"
Commit f88c104d authored by Julien Chaumond's avatar Julien Chaumond
Browse files

[run_tf_glue] Add comment for context

parent 30968d70
......@@ -73,6 +73,8 @@ model.save_pretrained('./save/')
if TASK == "mrpc":
# Load the TensorFlow model in PyTorch for inspection
# This is to demo the interoperability between the two frameworks, you don't have to
# do this in real life (you can run the inference on the TF model).
pytorch_model = BertForSequenceClassification.from_pretrained('./save/', from_tf=True)
# Quickly test a few predictions - MRPC is a paraphrasing task, let's see if our model learned the task
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment