Hello! I’m attempting to run through the sentiment analysis demo here:(How to fine-tune a model for common downstream tasks) and to fine tune it with TF. What is the most efficient method to get accuracy and other metrics reported when I run model.compile, and model.fit. I’m getting errors when I attempt to add metrics. Thank you all for your time and expertise! I’m new to HF.
metrics=["accuracy"], for example, doesn’t work, you can try using a
KerasMetricCallback and pass it as a callback to
model.fit() (Keras callbacks).
Thanks for the suggestions!