Feature Extraction
Transformers
Safetensors
English
modernbert
Generated from Trainer
text-embeddings-inference
Instructions to use lucas-lage/ReSB2-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lucas-lage/ReSB2-Base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="lucas-lage/ReSB2-Base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("lucas-lage/ReSB2-Base") model = AutoModel.from_pretrained("lucas-lage/ReSB2-Base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -49,4 +49,30 @@ The following hyperparameters were used during training:
|
|
| 49 |
|
| 50 |
- Transformers 4.57.3
|
| 51 |
- Pytorch 2.13.0+cu130
|
| 52 |
-
- Tokenizers 0.22.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
|
| 50 |
- Transformers 4.57.3
|
| 51 |
- Pytorch 2.13.0+cu130
|
| 52 |
+
- Tokenizers 0.22.2
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
### Citation
|
| 56 |
+
|
| 57 |
+
If you use this model, please cite:
|
| 58 |
+
|
| 59 |
+
```bibtex
|
| 60 |
+
@inproceedings{lage2026resb2,
|
| 61 |
+
title={ReSB²: Machine-Assisted Linking of Legislative Bills using Domain-Adapted ModernBERT and Explainable AI},
|
| 62 |
+
author={Lage, Lucas Gabriel and others},
|
| 63 |
+
booktitle={Proceedings of the ACM Conference on Hypertext and Social Media},
|
| 64 |
+
year={2026}
|
| 65 |
+
}
|
| 66 |
+
```
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
## License
|
| 70 |
+
|
| 71 |
+
The models developed and released in this repository, including the trained ReSB² models, are provided for research and academic purposes.
|
| 72 |
+
|
| 73 |
+
The use of the underlying pre-trained models is subject to the licenses and terms of use defined by their original providers. Users are responsible for complying with the respective licenses when using, modifying, or redistributing these models.
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
## Acknowledgments
|
| 77 |
+
|
| 78 |
+
This work was supported by the Legislative Assembly of Minas Gerais (ALMG), CNPq, CAPES, and FAPEMIG.
|