Instructions to use mrinaldi/albertina_mini_alibi_7B_tokens with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mrinaldi/albertina_mini_alibi_7B_tokens with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mrinaldi/albertina_mini_alibi_7B_tokens", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
File size: 453 Bytes
b7c976d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | ---
tags:
- matformer
- custom-model
library_name: transformers
---
# Matformer Model
Trained using [Matformer](https://github.com/mrinaldi97/matformer).
## Installation
```bash
pip install git+https://github.com/mrinaldi97/matformer.git
```
## Usage
```python
import torch
from transformers import AutoModelForMaskedLM
model = AutoModelForMaskedLM.from_pretrained(
"mrinaldi/albertina_mini_alibi_7B_tokens",
trust_remote_code=True
)
```
|