Run this model with HF Jobs
Run ericzhang1122/AVIDa-SARS-CoV-2-Alpha 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/AVIDa-SARS-CoV-2-Alpha. 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/AVIDa-SARS-CoV-2-Alpha 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/AVIDa-SARS-CoV-2-Alpha with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ericzhang1122/AVIDa-SARS-CoV-2-Alpha with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("westlake-repl/SaProt_35M_AF2") model = PeftModel.from_pretrained(base_model, "ericzhang1122/AVIDa-SARS-CoV-2-Alpha") - Notebooks
- Google Colab
- Kaggle
Commit ·
68f27ff
1
Parent(s): bed1b7c
Upload adapter model
Browse filesFiles changed (5)
- Model-demo-35M.zipAdded+3
- README.mdAdded+46
- adapter_config.jsonAdded+34
- adapter_model.safetensorsAdded+3
- metadata.jsonAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:af7cbf62e87ee0f0ff57fd3793033932016f7989dee4ee90442a7bbaa063fb09size 394436412345678910111213141516171819202122232425262728293031323334353637383940414243444546
---
base_model: westlake-repl/SaProt_35M_AF2
library_name: peft
---
# Model Card for Model-demo-35MThis model is used for a demo classification task
## Task typeProtein-level Classification
## Model input typeSA Sequence
## Label meanings
0: A
1: B
## LoRA config
- **r:** 8- **lora_dropout:** 0.0- **lora_alpha:** 16- **target_modules:** ['output.dense', 'key', 'intermediate.dense', '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
12345678910111213141516171819202122232425262728293031323334{ "alpha_pattern": {}, "auto_mapping": null, "base_model_name_or_path": "westlake-repl/SaProt_35M_AF2", "bias": "none", "fan_in_fan_out": false, "inference_mode": true, "init_lora_weights": true, "layer_replication": null, "layers_pattern": null, "layers_to_transform": null, "loftq_config": {}, "lora_alpha": 16, "lora_dropout": 0.0, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": [ "classifier" ], "peft_type": "LORA", "r": 8, "rank_pattern": {}, "revision": null, "target_modules": [ "output.dense", "key", "intermediate.dense", "query", "value" ], "task_type": "SEQ_CLS", "use_dora": false, "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:e02a79c95396664e5db03147dde69854e93f487bd1cfb30ac3abbaf01badd718size 4265400123{ "training_data_type": "SA"}Model-demo-35M.zipAdded+3
README.mdAdded+46
adapter_config.jsonAdded+34
adapter_model.safetensorsAdded+3
metadata.jsonAdded+3