Run this model with HF Jobs
Run ericzhang1122/demo_cls on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/ericzhang1122/demo_cls. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/ericzhang1122/demo_cls on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use ericzhang1122/demo_cls with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ericzhang1122/demo_cls with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("ProTrekHub/Protein_Encoder_35M") model = PeftModel.from_pretrained(base_model, "ericzhang1122/demo_cls") - Notebooks
- Google Colab
- Kaggle
Model Card for Model-demo-35M
This model is used for a demo classification task
Task type
Protein-level Classification
Model input type
SA Sequence
Label meanings
0: A
1: B
LoRA config
- r: 8
- lora_dropout: 0.0
- lora_alpha: 16
- target_modules: ['output.dense', 'intermediate.dense', 'key', 'query', 'value']
- modules_to_save: ['classifier']
Training config
- optimizer:
- class: AdamW
- betas: (0.9, 0.98)
- weight_decay: 0.01
- learning rate: 0.001
- epoch: 1
- batch size: 64
- precision: 16-mixed
- Downloads last month
- 4
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
Model tree for ericzhang1122/demo_cls
Base model
ProTrekHub/Protein_Encoder_35M