Instructions to use hf-internal-testing/test_dynamic_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/test_dynamic_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hf-internal-testing/test_dynamic_model", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("hf-internal-testing/test_dynamic_model", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
Verified signature- Adding `safetensors` variant of this model (f844d6303ca9127dd2c0d676ad185ed271bde5ec) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>c8ae8a2
-
initial commit
24ce5bc