How to use from the
Use from the
Transformers library
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForPreTraining

processor = AutoProcessor.from_pretrained("madatnlp/k2w2")
model = AutoModelForPreTraining.from_pretrained("madatnlp/k2w2", device_map="auto")
Quick Links
README.md exists but content is empty.
Downloads last month
16
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support