Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

HF_SummarizationModelCallback

HF_SummarizationModelCallback


Description

Basic class handling tweaks of the training loop by changing a 'Learner' in various events

Usage

HF_SummarizationModelCallback(
  rouge_metrics = c("rouge1", "rouge2", "rougeL"),
  ignore_token_id = -100,
  ...
)

Arguments

rouge_metrics

rouge metrics

ignore_token_id

integer, ignore token id

...

additional arguments

Value

None


fastai

Interface to 'fastai'

v2.0.7
Apache License 2.0
Authors
Turgut Abdullayev [ctb, cre, cph, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.