Instructions to use hf-internal-testing/tiny-random-ErnieForMaskedLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-ErnieForMaskedLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="hf-internal-testing/tiny-random-ErnieForMaskedLM")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-ErnieForMaskedLM") model = AutoModelForMaskedLM.from_pretrained("hf-internal-testing/tiny-random-ErnieForMaskedLM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- d802c890f5ee2343fbc9e4ab399618896cb7fd8540484cc463e3b2708cae273a
- Size of remote file:
- 371 kB
- SHA256:
- 56ff41356ba2b7043e94a99b8e40992299c1ba41060d9a79c29b500f9c0b9017
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.