Text Classification
Transformers
Safetensors
English
bert
MiniLM
MiniLM-L12
Intent-Matching
Intent
text-embeddings-inference
Instructions to use Kami0867/MiniLM-L12-Intent-Matching with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kami0867/MiniLM-L12-Intent-Matching with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Kami0867/MiniLM-L12-Intent-Matching")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Kami0867/MiniLM-L12-Intent-Matching") model = AutoModelForSequenceClassification.from_pretrained("Kami0867/MiniLM-L12-Intent-Matching", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from Kami0867/MiniLM-L12-Intent-Matching: direct link, hf CLI and curl.
- Browser
- Download file 618 Bytes
-
https://huggingface.co/Kami0867/MiniLM-L12-Intent-Matching/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://Kami0867/MiniLM-L12-Intent-Matching/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/Kami0867/MiniLM-L12-Intent-Matching/resolve/main/tokenizer_config.json
618 Bytes
| { | |
| "backend": "tokenizers", | |
| "cls_token": "[CLS]", | |
| "do_basic_tokenize": true, | |
| "do_lower_case": true, | |
| "is_local": false, | |
| "local_files_only": false, | |
| "mask_token": "[MASK]", | |
| "max_length": 128, | |
| "model_max_length": 512, | |
| "never_split": null, | |
| "pad_to_multiple_of": null, | |
| "pad_token": "[PAD]", | |
| "pad_token_type_id": 0, | |
| "padding_side": "right", | |
| "sep_token": "[SEP]", | |
| "stride": 0, | |
| "strip_accents": null, | |
| "tokenize_chinese_chars": true, | |
| "tokenizer_class": "BertTokenizer", | |
| "truncation_side": "right", | |
| "truncation_strategy": "longest_first", | |
| "unk_token": "[UNK]" | |
| } | |