allenai/c4
Viewer • Updated • 10.4B • 773k • 688
How to use jinaai/jina-bert-implementation with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("jinaai/jina-bert-implementation", device_map="auto")Core implementation of JinaBert. This is referenced by the other models.
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("jinaai/jina-bert-implementation", device_map="auto")