Instructions to use mrinaldi/albertina-micro-posenc-mixed-alibi-rope with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mrinaldi/albertina-micro-posenc-mixed-alibi-rope with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mrinaldi/albertina-micro-posenc-mixed-alibi-rope", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
metadata
tags:
- matformer
- custom-model
library_name: transformers
Matformer Model
Trained using Matformer.
Installation
pip install git+https://github.com/mrinaldi97/matformer.git
Usage
import torch
from transformers import AutoModelForMaskedLM
model = AutoModelForMaskedLM.from_pretrained(
"mrinaldi/albertina-micro-posenc-mixed-alibi-rope",
trust_remote_code=True
)