Instructions to use hsmashiana/optimized_model_hpml with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hsmashiana/optimized_model_hpml with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hsmashiana/optimized_model_hpml")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("hsmashiana/optimized_model_hpml") model = AutoModel.from_pretrained("hsmashiana/optimized_model_hpml", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload model_quantized.onnx with huggingface_hub
Verified signature72653b6 -
Upload model.onnx with huggingface_hub
Verified signatureddbeacc -
Upload vocab.txt with huggingface_hub
Verified signature9bc3ea4 -
Upload tokenizer.json with huggingface_hub
Verified signatured34b02b -
Upload config.json with huggingface_hub
Verified signature278ff35 -
Upload special_tokens_map.json with huggingface_hub
Verified signature5b6e27a -
Upload tokenizer_config.json with huggingface_hub
Verified signature8582803 -
initial commit
Verified signature5efc719