Push model files 68f12d7
RikVN commited on
How to use MaCoCu/MaltBERTa with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="MaCoCu/MaltBERTa") # Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("MaCoCu/MaltBERTa")
model = AutoModel.from_pretrained("MaCoCu/MaltBERTa")