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")
# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("ExponentialScience/LedgerBERT") model = AutoModelForMaskedLM.from_pretrained("ExponentialScience/LedgerBERT")
The community tab is the place to discuss and collaborate with the HF community!