Instructions to use KlaviXd/repeat_lora_77MLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use KlaviXd/repeat_lora_77MLM with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("DeepChem/ChemBERTa-77M-MLM") model = PeftModel.from_pretrained(base_model, "KlaviXd/repeat_lora_77MLM") - Transformers
How to use KlaviXd/repeat_lora_77MLM with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("KlaviXd/repeat_lora_77MLM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!