Instructions to use vector-institute/atomformer-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vector-institute/atomformer-base with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("vector-institute/atomformer-base", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -48,7 +48,7 @@ coords = torch.randn(1, 10, 3)
|
|
| 48 |
attn_mask = torch.ones(1, 10)
|
| 49 |
|
| 50 |
output = model(input_ids, coords=coords, attention_mask=attention_mask)
|
| 51 |
-
output
|
| 52 |
```
|
| 53 |
|
| 54 |
|
|
|
|
| 48 |
attn_mask = torch.ones(1, 10)
|
| 49 |
|
| 50 |
output = model(input_ids, coords=coords, attention_mask=attention_mask)
|
| 51 |
+
output.shape # (torch.Size([1, 10, 768])
|
| 52 |
```
|
| 53 |
|
| 54 |
|