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
Download tokenizer.json from TransferGraph/Guscode_DKbert-hatespeech-detection-finetuned-lora-tweet_eval_hate: direct link, hf CLI and curl.
- Browser
- Download file 753 kB
-
https://huggingface.co/TransferGraph/Guscode_DKbert-hatespeech-detection-finetuned-lora-tweet_eval_hate/resolve/main/tokenizer.json
- Command line
-
hf download hf://TransferGraph/Guscode_DKbert-hatespeech-detection-finetuned-lora-tweet_eval_hate/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/TransferGraph/Guscode_DKbert-hatespeech-detection-finetuned-lora-tweet_eval_hate/resolve/main/tokenizer.json
753 kB
File too large to display, you can check the raw version instead.