Instructions to use nlpaueb/sec-bert-shape with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nlpaueb/sec-bert-shape with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="nlpaueb/sec-bert-shape")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("nlpaueb/sec-bert-shape") model = AutoModelForPreTraining.from_pretrained("nlpaueb/sec-bert-shape", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.6609eb5
-
Update tokenizer_config.json
9829e59
-
Update README.md
3554213
-
Update README.md
db9b583 -
Update README.md
228bebd -
Update README.md
3265839 -
Update README.md
43cb40f -
Update README.md
848fc87
-
Update README.md
8e0690c -
Update README.md
7106194 -
Update README.md
1e5d4e8 -
Update README.md
df19cbe -
Update README.md
199c8ec -
Update README.md
268eeab -
Update README.md
cd3d964 -
Update README.md
af87f26 -
Update README.md
2170dfc -
Update README.md
20ecec1 -
Update README.md
86078dc -
Update README.md
e87cd29 -
Update README.md
f56c452 -
Update README.md
ffe99c3 -
Update README.md
94dadb0 -
Update README.md
2f7ef0f
-
Update README.md
10c9643 -
Upload vocab.txt
9047b80 -
Upload tokenizer_config.json
e7fb0ed -
Upload special_tokens_map.json
4b65dc3
-
Upload vocab.txt
da2ad12 -
Upload tokenizer_config.json
615e516 -
Upload tf_model.h5 with git-lfs
d8bcf98 -
Upload special_tokens_map.json
657bd7e -
Upload pytorch_model.bin with git-lfs
a8f978c -
Upload config.json
7c66a02
-
Update README.md
08799be -
initial commit
175b919