Update README.md
Browse files
README.md
CHANGED
|
@@ -10,7 +10,20 @@ tags:
|
|
| 10 |
- domain-generalization
|
| 11 |
- transfer-learning
|
| 12 |
- pytorch
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
# NeuroCLR
|
|
|
|
| 10 |
- domain-generalization
|
| 11 |
- transfer-learning
|
| 12 |
- pytorch
|
| 13 |
+
library_name: transformers
|
| 14 |
+
pipeline_tag: feature-extraction
|
| 15 |
+
# This section overrides the default "Use in Transformers" popup text
|
| 16 |
+
model_creator: SaeedLab
|
| 17 |
+
model_type: custom
|
| 18 |
+
snippets:
|
| 19 |
+
- torch: |
|
| 20 |
+
from transformers import AutoModel
|
| 21 |
+
import torch
|
| 22 |
+
|
| 23 |
+
model = AutoModel.from_pretrained("SaeedLab/NeuroCLR", trust_remote_code=True)
|
| 24 |
+
# Input shape: [batch, 1, 128]
|
| 25 |
+
x = torch.randn(1, 1, 128)
|
| 26 |
+
output = model(x)
|
| 27 |
---
|
| 28 |
|
| 29 |
# NeuroCLR
|