View source: R/blurr_hugging_face.R
| HF_SummarizationModelCallback | R Documentation | 
Basic class handling tweaks of the training loop by changing a 'Learner' in various events
HF_SummarizationModelCallback(
  rouge_metrics = c("rouge1", "rouge2", "rougeL"),
  ignore_token_id = -100,
  ...
)
| rouge_metrics | rouge metrics | 
| ignore_token_id | integer, ignore token id | 
| ... | additional arguments | 
None
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.