Instructions to use AbdulElahGwaith/transformers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AbdulElahGwaith/transformers with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("AbdulElahGwaith/transformers", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download docs/source/ko/main_classes/peft.md from AbdulElahGwaith/transformers: direct link, hf CLI and curl.
- Browser
- Download file 1.43 kB
-
https://huggingface.co/AbdulElahGwaith/transformers/resolve/main/docs/source/ko/main_classes/peft.md
- Command line
-
hf download hf://AbdulElahGwaith/transformers/docs/source/ko/main_classes/peft.md
-
curl -L -o peft.md https://huggingface.co/AbdulElahGwaith/transformers/resolve/main/docs/source/ko/main_classes/peft.md
1.43 kB
PEFT[[transformers.integrations.PeftAdapterMixin]]
[~integrations.PeftAdapterMixin]์ Transformers ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ํจ๊ป ์ด๋ํฐ๋ฅผ ๊ด๋ฆฌํ ์ ์๋๋ก PEFT ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ํจ์๋ค์ ์ ๊ณตํฉ๋๋ค. ์ด ๋ฏน์ค์ธ์ ํ์ฌ LoRA, IA3, AdaLora๋ฅผ ์ง์ํฉ๋๋ค. ํ๋ฆฌํฝ์ค ํ๋ ๋ฐฉ๋ฒ๋ค(ํ๋กฌํํธ ํ๋, ํ๋กฌํํธ ํ์ต)์ torch ๋ชจ๋์ ์ฝ์
ํ ์ ์๋ ๊ตฌ์กฐ์ด๋ฏ๋ก ์ง์๋์ง ์์ต๋๋ค.
[[autodoc]] integrations.PeftAdapterMixin - load_adapter - add_adapter - set_adapter - disable_adapters - enable_adapters - active_adapters - get_adapter_state_dict