mr-checker/yt-strategic-intent-9k
Viewer • Updated • 9.6k • 15
How to use mr-checker/yt-strategic-intent-distilbert with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="mr-checker/yt-strategic-intent-distilbert") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("mr-checker/yt-strategic-intent-distilbert")
model = AutoModelForSequenceClassification.from_pretrained("mr-checker/yt-strategic-intent-distilbert", device_map="auto")yt-strategic-intent-transformer This model predicts strategic audience intent behind YouTube-related content. It answers the question: “What does the audience want?”
en). from transformers import pipeline
classifier = pipeline("text-classification", model="mr-checker/yt-strategic-intent-distilbert")
text = "How To Create AI UGC Ads (Full Tutorial)"
output = classifier(text)
print(output)
Base model
distilbert/distilbert-base-uncased