Instructions to use MohitAndSahu/FineTunedModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use MohitAndSahu/FineTunedModel with PEFT:
from peft import PeftModel from transformers import AutoModel base_model = AutoModel.from_pretrained("IDEA-Research/grounding-dino-base") model = PeftModel.from_pretrained(base_model, "MohitAndSahu/FineTunedModel") - Transformers
How to use MohitAndSahu/FineTunedModel with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("MohitAndSahu/FineTunedModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle