Instructions to use hf-internal-testing/tiny-random-DetrModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-DetrModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="hf-internal-testing/tiny-random-DetrModel")# Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("hf-internal-testing/tiny-random-DetrModel") model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-DetrModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
f15ce38 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:3f49b5fe3009863ac96ef718ba746f6efb8c61229392115cdf68563cb7b02906
size 102848037
|