Instructions to use ClovenDoug/tiny_64_all-MiniLM-L6-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ClovenDoug/tiny_64_all-MiniLM-L6-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="ClovenDoug/tiny_64_all-MiniLM-L6-v2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("ClovenDoug/tiny_64_all-MiniLM-L6-v2") model = AutoModel.from_pretrained("ClovenDoug/tiny_64_all-MiniLM-L6-v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download modules.json from ClovenDoug/tiny_64_all-MiniLM-L6-v2: direct link, hf CLI and curl.
- Browser
- Download file 465 Bytes
-
https://huggingface.co/ClovenDoug/tiny_64_all-MiniLM-L6-v2/resolve/main/modules.json
- Command line
-
hf download hf://ClovenDoug/tiny_64_all-MiniLM-L6-v2/modules.json
-
curl -L -o modules.json https://huggingface.co/ClovenDoug/tiny_64_all-MiniLM-L6-v2/resolve/main/modules.json
465 Bytes
| [ | |
| { | |
| "idx": 0, | |
| "name": "0", | |
| "path": "", | |
| "type": "sentence_transformers.models.Transformer" | |
| }, | |
| { | |
| "idx": 1, | |
| "name": "1", | |
| "path": "1_Pooling", | |
| "type": "sentence_transformers.models.Pooling" | |
| }, | |
| { | |
| "idx": 2, | |
| "name": "2", | |
| "path": "2_Normalize", | |
| "type": "sentence_transformers.models.Normalize" | |
| }, | |
| { | |
| "idx": 3, | |
| "name": "dense", | |
| "path": "3_Dense", | |
| "type": "sentence_transformers.models.Dense" | |
| } | |
| ] |