Instructions to use Misti-sage/Little-Helper with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use Misti-sage/Little-Helper with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("<base-model-id>") model.load_adapter("Misti-sage/Little-Helper", set_active=True) - Notebooks
- Google Colab
- Kaggle
Download load_mode.py from Misti-sage/Little-Helper: direct link, hf CLI and curl.
- Browser
- Download file 289 Bytes
-
https://huggingface.co/Misti-sage/Little-Helper/resolve/main/load_mode.py
- Command line
-
hf download hf://Misti-sage/Little-Helper/load_mode.py
-
curl -L -o load_mode.py https://huggingface.co/Misti-sage/Little-Helper/resolve/main/load_mode.py
289 Bytes
| from transformers import AutoTokenizer, AutoModelForCausalLM | |
| # Load model directly | |
| tokenizer = AutoTokenizer.from_pretrained("microsoft/Phi-3.5-mini-instruct", trust_remote_code=True) | |
| model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-3.5-mini-instruct", trust_remote_code=True) | |