Text Generation
PEFT
Safetensors
lora
small-language-model
enterprise-benchmark
code-generation
conversational
Instructions to use yusifnuri/phi-4-mini-instruct_code_generation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use yusifnuri/phi-4-mini-instruct_code_generation 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, "yusifnuri/phi-4-mini-instruct_code_generation") - Notebooks
- Google Colab
- Kaggle
File size: 350 Bytes
bc1c1fa | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | {
"add_prefix_space": false,
"backend": "tokenizers",
"bos_token": "<|endoftext|>",
"clean_up_tokenization_spaces": false,
"eos_token": "<|endoftext|>",
"is_local": false,
"local_files_only": false,
"model_max_length": 131072,
"pad_token": "<|endoftext|>",
"tokenizer_class": "TokenizersBackend",
"unk_token": "<|endoftext|>"
}
|