| 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/temp_model_2512", | |
| trust_remote_code=True | |
| ) | |
| ``` | |