Instructions to use TransferGraph/Guscode_DKbert-hatespeech-detection-finetuned-lora-tweet_eval_hate with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use TransferGraph/Guscode_DKbert-hatespeech-detection-finetuned-lora-tweet_eval_hate with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("Guscode/DKbert-hatespeech-detection") model = PeftModel.from_pretrained(base_model, "TransferGraph/Guscode_DKbert-hatespeech-detection-finetuned-lora-tweet_eval_hate") - Notebooks
- Google Colab
- Kaggle
| { | |
| "cls_token": "[CLS]", | |
| "mask_token": "[MASK]", | |
| "pad_token": "[PAD]", | |
| "sep_token": "[SEP]", | |
| "unk_token": "[UNK]" | |
| } | |