Instructions to use Recognai/selectra_small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Recognai/selectra_small with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("Recognai/selectra_small") model = AutoModelForPreTraining.from_pretrained("Recognai/selectra_small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis 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.a97ccfb
-
Update tokenizer_config.json
Davide45e0de
-
Update README.md
Davidcc009e2 -
Update README.md
Davidff2fccb
-
Update README.md
David0e78a90 -
Update README.md
Davidc9bf790
-
Upload vocab.txt
David34323c5 -
Upload tokenizer_config.json
David536955a -
Upload config.json
Davidf65013c -
Upload pytorch_model.bin with git-lfs
Davida0ae7b9 -
Update README.md
Davida70faad -
Update README.md
Davidbc7c5f6 -
Update README.md
David6864ed8
-
Update README.md
Davidaea99f0 -
Create README.md
David20f9940 -
initial commit
ce08dcb