Instructions to use yhamidullah/custom-classifier-demo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yhamidullah/custom-classifier-demo with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("summarization", model="yhamidullah/custom-classifier-demo")# pip install -U transformers accelerate # Load model directly from transformers import CustomClassifier model = CustomClassifier.from_pretrained("yhamidullah/custom-classifier-demo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse filesFiles changed (3)
- config.jsonAdded+11
- model.safetensorsAdded+3
- training_args.binAdded+3
1234567891011{ "architectures": [ "CustomClassifier" ], "hidden_dim": 64, "input_dim": 32, "model_type": "custom_classifier", "num_classes": 2, "torch_dtype": "float32", "transformers_version": "4.53.1"}123version https://git-lfs.github.com/spec/v1oid sha256:1c79309b3ac45037e57d6a4f2bee0ed6c02989efb1bb4eff282b71fe878af96dsize 26096123version https://git-lfs.github.com/spec/v1oid sha256:0109dfded76d0a5060017ca1d68fa06c0160183a2993ea09b7e66296a980f008size 5368config.jsonAdded+11
model.safetensorsAdded+3
training_args.binAdded+3