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

get_hf_objects

Get_hf_objects


Description

Returns the architecture (str), config (obj), tokenizer (obj), and model (obj) given at minimum a

Usage

get_hf_objects(...)

Arguments

...

parameters to pass

Details

'pre-trained model name or path'. Specify a 'task' to ensure the right "AutoModelFor<task>" is used to create the model. Optionally, you can pass a config (obj), tokenizer (class), and/or model (class) (along with any related kwargs for each) to get as specific as you want w/r/t what huggingface objects are returned.

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.