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 .github/workflows/codeql.yml from AbdulElahGwaith/transformers: direct link, hf CLI and curl.
- Browser
- Download file 521 Bytes
-
https://huggingface.co/AbdulElahGwaith/transformers/resolve/main/.github/workflows/codeql.yml
- Command line
-
hf download hf://AbdulElahGwaith/transformers/.github/workflows/codeql.yml
-
curl -L -o codeql.yml https://huggingface.co/AbdulElahGwaith/transformers/resolve/main/.github/workflows/codeql.yml
521 Bytes
| name: CodeQL Security Analysis | |
| on: | |
| push: | |
| branches: ["main", "fix_security_issue_*"] | |
| # pull_request: | |
| # branches: ["main"] | |
| workflow_dispatch: | |
| jobs: | |
| codeql: | |
| name: CodeQL Analysis | |
| uses: huggingface/security-workflows/.github/workflows/codeql-reusable.yml@main | |
| permissions: | |
| security-events: write | |
| packages: read | |
| actions: read | |
| contents: read | |
| with: | |
| languages: '["actions"]' | |
| queries: 'security-extended,security-and-quality' | |
| runner: 'ubuntu-latest' | |