Instructions to use strectelite/MyBERT_LORA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use strectelite/MyBERT_LORA with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("bert-base-uncased") model = PeftModel.from_pretrained(base_model, "strectelite/MyBERT_LORA") - Transformers
How to use strectelite/MyBERT_LORA with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("strectelite/MyBERT_LORA", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
ff95323 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:653660450f5257766a2b80774226390724f9a8137c386d1e86707870a8b77e11
size 5304
|