Updated the ‘generate_typicality’ function to be compatible with ‘Inference Providers’ API instead of the deprecated ‘Hugging Face’ API.
Improved the ‘generate_typicality’ function by using the argument ‘n’ to specify the number of samples to generate, instead of using a loop to save input tokens.
Made minor changes for ‘CRAN’ release (e.g., added line breaks for the documentation)