Instructions to use Lujia/backdoored_bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Lujia/backdoored_bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Lujia/backdoored_bert")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Lujia/backdoored_bert") model = AutoModel.from_pretrained("Lujia/backdoored_bert") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
09110f3 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:5b8c1d19fe5f94b99246432558e870ca8e37101f8918a63cbde7993b09b914fb
size 437936109
|