Instructions to use Chiaki111/phi4-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Chiaki111/phi4-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("microsoft/Phi-4-mini-instruct") model = PeftModel.from_pretrained(base_model, "Chiaki111/phi4-lora") - Transformers
How to use Chiaki111/phi4-lora with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Chiaki111/phi4-lora", dtype="auto") - Notebooks
- Google Colab
- Kaggle
File size: 321 Bytes
e6cff71 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | {
"add_prefix_space": false,
"backend": "tokenizers",
"bos_token": "<|endoftext|>",
"clean_up_tokenization_spaces": false,
"eos_token": "<|endoftext|>",
"is_local": false,
"model_max_length": 131072,
"pad_token": "<|endoftext|>",
"tokenizer_class": "TokenizersBackend",
"unk_token": "<|endoftext|>"
}
|