async function loadMetadata(name) {
  const metadataUrl =
      modelUrls[name].replace('model.json', 'tagger_metadata.json');
  try {
    const resp = await fetch(metadataUrl);
    return resp.json();
  } catch (e) {
    // Could not load that model. This is not necessarily an error
    // as the user may not have trained all the available model types
    console.log(`Could not load "${name}" metadata`);
  }
}
Load metadata for a model.
@param {string} name Name of model. Should be a key in modelUrls