Instructions to use hf-internal-testing/explicit_transformers_weight_in_config_sharded with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/explicit_transformers_weight_in_config_sharded with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hf-internal-testing/explicit_transformers_weight_in_config_sharded")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/explicit_transformers_weight_in_config_sharded") model = AutoModelForSequenceClassification.from_pretrained("hf-internal-testing/explicit_transformers_weight_in_config_sharded") - Notebooks
- Google Colab
- Kaggle