added model and tokenizer ce61465
Anja Reusch commited on
How to use AnReu/albert-for-arqmath-3 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="AnReu/albert-for-arqmath-3") # Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("AnReu/albert-for-arqmath-3")
model = AutoModel.from_pretrained("AnReu/albert-for-arqmath-3", device_map="auto")