| hf_ez_token_classification_local_inference | R Documentation |
Token Classification Local Inference
hf_ez_token_classification_local_inference(
string,
aggregation_strategy = "simple",
tidy = TRUE,
...
)
string |
a string to be classified |
aggregation_strategy |
(Default: simple). There are several aggregation strategies. |
tidy |
Whether to tidy the results into a tibble. Default: TRUE (tidy the results) |
... |
Additional arguments passed internally, including the model object or model ID. |
The results of the inference
https://huggingface.co/docs/transformers/main/en/pipeline_tutorial
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.