Instructions to use aaurelions/phi4-word-keeper-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use aaurelions/phi4-word-keeper-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-4-mini-instruct") model = PeftModel.from_pretrained(base_model, "aaurelions/phi4-word-keeper-lora") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from aaurelions/phi4-word-keeper-lora: direct link, hf CLI and curl.
- Browser
- Download file 587 Bytes
-
https://huggingface.co/aaurelions/phi4-word-keeper-lora/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://aaurelions/phi4-word-keeper-lora/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/aaurelions/phi4-word-keeper-lora/resolve/main/special_tokens_map.json
587 Bytes
| { | |
| "bos_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "unk_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |