Instructions to use fathyshalab/minilm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fathyshalab/minilm with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="fathyshalab/minilm")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("fathyshalab/minilm") model = AutoModelForQuestionAnswering.from_pretrained("fathyshalab/minilm", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Training in progress, step 4500
ea377ee -
Training in progress, step 4000
cd9f1fc
-
Training in progress, step 3500
e8a1a94 -
Training in progress, step 3000
9a170c9 -
Training in progress, step 2500
5c56c89 -
Training in progress, step 2000
417a754 -
Training in progress, step 1500
98e266d -
Training in progress, step 1000
5a5104a -
Training in progress, step 500
f053ed0 -
initial commit
f2a77c9