Instructions to use BenMurphy124/distilbert-imdb-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use BenMurphy124/distilbert-imdb-sentiment with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("distilbert/distilbert-base-uncased") model = PeftModel.from_pretrained(base_model, "BenMurphy124/distilbert-imdb-sentiment") - Transformers
How to use BenMurphy124/distilbert-imdb-sentiment with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("BenMurphy124/distilbert-imdb-sentiment", 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!