Text Classification
PEFT
Safetensors
Transformers
Hebrew
dpo
lora
trl
hebrew
offensive-language-detection
content-moderation
explainable-ai
reasoning
Instructions to use KevynKrancenblum/hebrew-offensive-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use KevynKrancenblum/hebrew-offensive-detection with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("dicta-il/dictalm2.0-instruct") model = PeftModel.from_pretrained(base_model, "KevynKrancenblum/hebrew-offensive-detection") - Transformers
How to use KevynKrancenblum/hebrew-offensive-detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KevynKrancenblum/hebrew-offensive-detection")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("KevynKrancenblum/hebrew-offensive-detection", dtype="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
b22be15 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:c59aaa6f6ca5c93f2685a0a97ec31aaacbdf3b8618e2b77cd9f9f838421495f9
size 6328
|