Initial commit b973435
kiddothe2b commited on
How to use kiddothe2b/hierarchical-transformer-LC1-mini-1024 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="kiddothe2b/hierarchical-transformer-LC1-mini-1024", trust_remote_code=True) # Load model directly
from transformers import AutoModelForMaskedLM
model = AutoModelForMaskedLM.from_pretrained("kiddothe2b/hierarchical-transformer-LC1-mini-1024", trust_remote_code=True, dtype="auto")