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/internal/modeling_utils.md from AbdulElahGwaith/transformers: direct link, hf CLI and curl.
- Browser
- Download file 1.35 kB
-
https://huggingface.co/AbdulElahGwaith/transformers/resolve/main/docs/source/ko/internal/modeling_utils.md
- Command line
-
hf download hf://AbdulElahGwaith/transformers/docs/source/ko/internal/modeling_utils.md
-
curl -L -o modeling_utils.md https://huggingface.co/AbdulElahGwaith/transformers/resolve/main/docs/source/ko/internal/modeling_utils.md
1.35 kB
| <!--Copyright 2020 The HuggingFace Team. All rights reserved. | |
| Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with | |
| the License. You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on | |
| an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the | |
| specific language governing permissions and limitations under the License. | |
| โ ๏ธ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be | |
| rendered properly in your Markdown viewer. | |
| --> | |
| # ์ฌ์ฉ์ ์ ์ ๋ ์ด์ด ๋ฐ ์ ํธ๋ฆฌํฐ [[custom-layers-and-utilities]] | |
| ์ด ํ์ด์ง๋ ๋ผ์ด๋ธ๋ฌ๋ฆฌ์์ ์ฌ์ฉ๋๋ ์ฌ์ฉ์ ์ ์ ๋ ์ด์ด์ ๋ชจ๋ธ๋ง์ ์ํ ์ ํธ๋ฆฌํฐ ํจ์๋ค์ ๋์ดํฉ๋๋ค. | |
| ์ด ํจ์๋ค ๋๋ถ๋ถ์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๋ด์ ๋ชจ๋ธ ์ฝ๋๋ฅผ ์ฐ๊ตฌํ ๋๋ง ์ ์ฉํฉ๋๋ค. | |
| ## PyTorch ์ฌ์ฉ์ ์ ์ ๋ชจ๋ [[transformers.Conv1D]] | |
| [[autodoc]] pytorch_utils.Conv1D | |
| ## PyTorch ํฌํผ(helper) ํจ์ [[transformers.apply_chunking_to_forward]] | |
| [[autodoc]] pytorch_utils.apply_chunking_to_forward | |
| [[autodoc]] pytorch_utils.prune_linear_layer | |