Update README.md
Browse files3 unmodified lines45678910111213141516171819202122233 unmodified lines- neuroimaging- fMRIlibrary_name: transformerspipeline_tag: feature-extractioninference: false # This removes the "Hosted Inference" text box that doesn't work for fMRIsnippets:- torch: |from transformers import AutoModelimport torch# Load the NeuroCLR SSL Encodermodel = AutoModel.from_pretrained("SaeedLab/NeuroCLR", trust_remote_code=True)# Input: [batch, 1, 128] (raw fMRI time series)x = torch.randn(1, 1, 128)outputs = model(x)print(outputs["h"].shape) # [1, 128]---# NeuroCLR3 unmodified lines456789101112131415161718193 unmodified lines- neuroimaging- fMRIlibrary_name: transformersinference: falsesnippets:- torch: |from transformers import AutoModelimport torchmodel = AutoModel.from_pretrained("SaeedLab/NeuroCLR", trust_remote_code=True)# Input shape: [batch, 1, 128]x = torch.randn(1, 1, 128)output = model(x)---# NeuroCLR
README.md+3-7