Initial upload 95c9d02
Michał Bień commited on
How to use mbien/fma2vec with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="mbien/fma2vec") # Load model directly
from transformers import AutoProcessor, AutoModel
processor = AutoProcessor.from_pretrained("mbien/fma2vec")
model = AutoModel.from_pretrained("mbien/fma2vec")