Skip to content

Finetuned BrainLM models aren't available #14

@maryjis

Description

@maryjis

https://github.com/vandijklab/BrainLM/blob/main/toolkit/BrainLM_Tutorial.ipynb

I try to run this tutorial, but then i run this cells:
modality = "Age.At.MHQ" # Choose from ["Age.At.MHQ", "PHQ9.Severity", "PCL.Score", "GAD7.Severity", "Neuroticism", "Depressed.At.Baseline", "Self.Harm.Ever", "Not.Worth.Living", "Gender"]
ft_model = f"/gpfs/gibbs/pi/dijk/BrainLM_mihir_files/BrainLM_fine_{modality}_mihir_run/111M/"
ft_modelname="finetune_age_FromScratch_Nov24th_1225_111M"

config = ViTMAEFinetuneConfig.from_pretrained("vandijklab/brainlm_finetuned", subfolder="age")
model = ViTMAEForFinetuning.from_pretrained("vandijklab/brainlm_finetuned", config=config, subfolder="age")
I get such error:

OSError: vandijklab/brainlm_finetuned is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
If this is a private repository, make sure to pass a token having permission to this repo with use_auth_token or log in with huggingface-cli login and pass use_auth_token=True.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions