Use property decorator for model
& tokenizer
objects
#98
Labels
3 - Quality of Life
Not a priority
enhancement
New feature or request
NLP
Issue related to the NLP template
NUM
Issue related to the NUM template
VISION
Issue related to the VISION template
Problem
We have many attributes that can be properties, such as
model
&tokenizer
objects.Hence we could get rid of the
_get_model
&_get_tokenizer
functions.Concerned template
Solution
Set
model
&tokenizer
objects as properties.Additional context
Tests will need changes
The text was updated successfully, but these errors were encountered: