Instructions to use phunghuy159/test_lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use phunghuy159/test_lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2-0.5B") model = PeftModel.from_pretrained(base_model, "phunghuy159/test_lora") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from phunghuy159/test_lora: direct link, hf CLI and curl.
- Browser
- Download file 117 Bytes
-
https://huggingface.co/phunghuy159/test_lora/resolve/main/generation_config.json
- Command line
-
hf download hf://phunghuy159/test_lora/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/phunghuy159/test_lora/resolve/main/generation_config.json
117 Bytes
| { | |
| "bos_token_id": 151643, | |
| "eos_token_id": 151643, | |
| "max_new_tokens": 2048, | |
| "transformers_version": "4.51.3" | |
| } | |