Instructions to use srmishra/ce-MiniLM-L6layer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use srmishra/ce-MiniLM-L6layer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="srmishra/ce-MiniLM-L6layer")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("srmishra/ce-MiniLM-L6layer") model = AutoModelForSequenceClassification.from_pretrained("srmishra/ce-MiniLM-L6layer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
71ea3ad | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:c70a50dd1fba84a18188996e7082fbc174c8968e4f723cdd28a675b46bec88b1
size 4664
|