Instructions to use CreatorPhan/lora_scratch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use CreatorPhan/lora_scratch with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/mnt/d/VTS/anhpn46/vietcuna-3b") model = PeftModel.from_pretrained(base_model, "CreatorPhan/lora_scratch") - Notebooks
- Google Colab
- Kaggle
| { | |
| "bos_token": "<s>", | |
| "eos_token": "</s>", | |
| "pad_token": "<pad>", | |
| "unk_token": "<unk>" | |
| } | |