Instructions to use mrinaldi/albertina_M9 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mrinaldi/albertina_M9 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mrinaldi/albertina_M9", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from mrinaldi/albertina_M9: direct link, hf CLI and curl.
- Browser
- Download file 435 Bytes
-
https://huggingface.co/mrinaldi/albertina_M9/resolve/main/README.md
- Command line
-
hf download hf://mrinaldi/albertina_M9/README.md
-
curl -L -o README.md https://huggingface.co/mrinaldi/albertina_M9/resolve/main/README.md
435 Bytes
| 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_M9", | |
| trust_remote_code=True | |
| ) | |
| ``` | |