How to use Sinanmz/toxicity_token_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Sinanmz/toxicity_token_classifier")
# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Sinanmz/toxicity_token_classifier") model = AutoModelForTokenClassification.from_pretrained("Sinanmz/toxicity_token_classifier")
The community tab is the place to discuss and collaborate with the HF community!