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
Download training_args.bin from strectelite/MyBERT_LORA: direct link, hf CLI and curl.
- Browser
- Download file 5.3 kB
-
https://huggingface.co/strectelite/MyBERT_LORA/resolve/main/training_args.bin
- Command line
-
hf download hf://strectelite/MyBERT_LORA/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/strectelite/MyBERT_LORA/resolve/main/training_args.bin
5.3 kB
- Xet hash:
- b2c358122f9c928b76beaaf19e8003b98ee0538063b310a06d7dcdcc964ac5c9
- Size of remote file:
- 5.3 kB
- SHA256:
- 653660450f5257766a2b80774226390724f9a8137c386d1e86707870a8b77e11
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.