Instructions to use ChillingDream/dap-mbert-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ChillingDream/dap-mbert-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="ChillingDream/dap-mbert-base")# Load model directly from transformers import AutoTokenizer, BertForRLM tokenizer = AutoTokenizer.from_pretrained("ChillingDream/dap-mbert-base") model = BertForRLM.from_pretrained("ChillingDream/dap-mbert-base") - Notebooks
- Google Colab
- Kaggle
metadata
license: mit
library_name: transformers
pipeline_tag: feature-extraction
This repository contains the model of the paper Dual-Alignment Pre-training for Cross-lingual Sentence Embedding.