Text Classification
Transformers
Safetensors
PEFT
branchone
feature-extraction
decision-model
multimodal
custom-code
custom_code
Instructions to use ndemirdemir/BranchOne with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ndemirdemir/BranchOne with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ndemirdemir/BranchOne", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ndemirdemir/BranchOne", trust_remote_code=True, device_map="auto") - PEFT
How to use ndemirdemir/BranchOne with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Download pyproject.toml from ndemirdemir/BranchOne: direct link, hf CLI and curl.
- Browser
- Download file 856 Bytes
-
https://huggingface.co/ndemirdemir/BranchOne/resolve/main/pyproject.toml
- Command line
-
hf download hf://ndemirdemir/BranchOne/pyproject.toml
-
curl -L -o pyproject.toml https://huggingface.co/ndemirdemir/BranchOne/resolve/main/pyproject.toml
856 Bytes
| [project] | |
| name = "branchone-inference-environment" | |
| version = "1.0.0" | |
| description = "Pinned CUDA inference dependencies for BranchOne" | |
| requires-python = ">=3.13,<3.14" | |
| dependencies = [ | |
| "torch==2.11.0+cu128", | |
| "torchvision==0.26.0+cu128", | |
| "transformers==5.17.0", | |
| "peft==0.21.0", | |
| "accelerate==1.14.0", | |
| "flash-linear-attention==0.5.2", | |
| "fla-core==0.5.2", | |
| "safetensors==0.8.0", | |
| "numpy==2.5.3", | |
| "Pillow==12.1.1", | |
| "huggingface-hub==1.33.0", | |
| "ninja", | |
| "packaging", | |
| "wheel", | |
| "setuptools", | |
| "pip", | |
| ] | |
| [tool.uv] | |
| package = false | |
| environments = ["sys_platform == 'linux' and platform_machine == 'x86_64'"] | |
| [[tool.uv.index]] | |
| name = "pytorch-cu128" | |
| url = "https://download.pytorch.org/whl/cu128" | |
| explicit = true | |
| [tool.uv.sources] | |
| torch = { index = "pytorch-cu128" } | |
| torchvision = { index = "pytorch-cu128" } | |