# Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("claudios/longcoder-base")
model = AutoModel.from_pretrained("claudios/longcoder-base")Quick Links
This is an unofficial reupload of microsoft/longcoder-base in the SafeTensors format using transformers 4.40.1. The goal of this reupload is to prevent older models that are still relevant baselines from becoming stale as a result of changes in HuggingFace. Additionally, I may include minor corrections, such as model max length configuration.
- Downloads last month
- 4
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="claudios/longcoder-base")