Instructions to use Intel/dynamic-minilmv2-L6-H384-squad1.1-int8-static with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Intel/dynamic-minilmv2-L6-H384-squad1.1-int8-static with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="Intel/dynamic-minilmv2-L6-H384-squad1.1-int8-static")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("Intel/dynamic-minilmv2-L6-H384-squad1.1-int8-static") model = AutoModelForQuestionAnswering.from_pretrained("Intel/dynamic-minilmv2-L6-H384-squad1.1-int8-static", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K