Retrieve information about the currently authenticated user.
Requires a valid Hugging Face token to be set.
Arguments
- token
Character string containing your HF token. If NULL, uses the
HUGGING_FACE_HUB_TOKEN environment variable.
Value
A tibble with user information including name, email, and organizations.
Examples
if (FALSE) { # \dontrun{
# Check current user
hf_whoami()
} # }