Description (Actual Behavior)
The names of the files following the pattern prompt_sentences-<model_name>-<language>.js are currently getting too big.
Expected Behavior
Have smaller file names.
Possible Approach
Have either smaller model names according to HuggingFace ids and maintain the pattern prompt_sentences-<model_name>-<language>.js or perhaps change it to corpus-<model_name>-<language>.js.
We could also use and modify the already existing function to generate the names, perhaps in a notebook recipe just for that.
# Converts model_id into filenames
def model_id_to_filename( model_id ):
return model_id.split('/')[1].lower()
Description (Actual Behavior)
The names of the files following the pattern
prompt_sentences-<model_name>-<language>.jsare currently getting too big.Expected Behavior
Have smaller file names.
Possible Approach
Have either smaller model names according to HuggingFace ids and maintain the pattern
prompt_sentences-<model_name>-<language>.jsor perhaps change it tocorpus-<model_name>-<language>.js.We could also use and modify the already existing function to generate the names, perhaps in a notebook recipe just for that.