falmuqhim commited on
Commit
f23e3d7
·
verified ·
1 Parent(s): 1a88b91

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -0
README.md CHANGED
@@ -3,6 +3,8 @@ tags:
3
  - self-supervised-learning
4
  - neuroimaging
5
  - fMRI
 
 
6
  library_name: transformers
7
  inference: false
8
  snippets:
@@ -10,7 +12,12 @@ snippets:
10
  from transformers import AutoModel
11
  import torch
12
 
 
13
  model = AutoModel.from_pretrained("SaeedLab/NeuroCLR", trust_remote_code=True)
 
 
 
 
14
  ---
15
 
16
  # NeuroCLR
 
3
  - self-supervised-learning
4
  - neuroimaging
5
  - fMRI
6
+ - pytorch
7
+
8
  library_name: transformers
9
  inference: false
10
  snippets:
 
12
  from transformers import AutoModel
13
  import torch
14
 
15
+ # Load NeuroCLR directly (the pipeline block should now be gone)
16
  model = AutoModel.from_pretrained("SaeedLab/NeuroCLR", trust_remote_code=True)
17
+
18
+ # Input shape: [batch, 1, 128]
19
+ x = torch.randn(1, 1, 128)
20
+ outputs = model(x)
21
  ---
22
 
23
  # NeuroCLR