Instructions to use hf-internal-testing/dummy_remote_code with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/dummy_remote_code with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hf-internal-testing/dummy_remote_code", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("hf-internal-testing/dummy_remote_code", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 811ef578c26c2c61bd7306207a38f86cee33f6426640ea95b8719cde244c412a
- Size of remote file:
- 7.14 kB
- SHA256:
- c934bb5c4832433b9e03640316dbf85c848612c9d4d78324298e9c790edb68d2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.