How to use huolongguo10/check_sec_tiny with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="huolongguo10/check_sec_tiny")
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("huolongguo10/check_sec_tiny") model = AutoModelForSequenceClassification.from_pretrained("huolongguo10/check_sec_tiny")
· Sign up or log in to comment