Instructions to use ExponentialScience/LedgerBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ExponentialScience/LedgerBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="ExponentialScience/LedgerBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("ExponentialScience/LedgerBERT") model = AutoModelForMaskedLM.from_pretrained("ExponentialScience/LedgerBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Improve model card metadata and add links to paper/code
Verified signatureHi! I'm Niels from the community science team at Hugging Face. I've noticed this great model and wanted to help improve its documentation. This PR adds: - `library_name: transformers` to enable the "Use in Transformers" button. - `pipeline_tag: feature-extraction` to help users find the model in the correct category. - `license: cc-by-nc-4.0` as specified in your model description. - Direct links to the associated paper and the GitHub repository for better accessibility.97ca5d9
-
Added citation to preprint
Verified signatureb1939c2
-
Added Model Card
Verified signature5faf9e0 -
Upload folder using huggingface_hub
Verified signature607a6f2 -
initial commit
Verified signatureffe4a0f