Instructions to use FounderOfHuggingface/gpt2_lora_r16_dbpedia_14_t300_e5_member_shadow36 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use FounderOfHuggingface/gpt2_lora_r16_dbpedia_14_t300_e5_member_shadow36 with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("gpt2") model = PeftModel.from_pretrained(base_model, "FounderOfHuggingface/gpt2_lora_r16_dbpedia_14_t300_e5_member_shadow36") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!