Instructions to use sharp-pixel/opensearch-compact-variables-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use sharp-pixel/opensearch-compact-variables-v2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("mistralai/Ministral-3-8B-Instruct-2512-BF16") model = PeftModel.from_pretrained(base_model, "sharp-pixel/opensearch-compact-variables-v2") - Notebooks
- Google Colab
- Kaggle
Download templates/optimized-query-v2.json.j2 from sharp-pixel/opensearch-compact-variables-v2: direct link, hf CLI and curl.
- Browser
- Download file 40 Bytes
-
https://huggingface.co/sharp-pixel/opensearch-compact-variables-v2/resolve/main/templates/optimized-query-v2.json.j2
- Command line
-
hf download hf://sharp-pixel/opensearch-compact-variables-v2/templates/optimized-query-v2.json.j2
-
curl -L -o optimized-query-v2.json.j2 https://huggingface.co/sharp-pixel/opensearch-compact-variables-v2/resolve/main/templates/optimized-query-v2.json.j2
40 Bytes
| {% include 'optimized-query.json.j2' %} | |