teknium/dataforge-economics
Viewer • Updated • 880 • 774 • 50
How to use AyoubChLin/DistilBERT_eco_ZeroShot with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("zero-shot-classification", model="AyoubChLin/DistilBERT_eco_ZeroShot") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("AyoubChLin/DistilBERT_eco_ZeroShot")
model = AutoModelForSequenceClassification.from_pretrained("AyoubChLin/DistilBERT_eco_ZeroShot")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("AyoubChLin/DistilBERT_eco_ZeroShot")
model = AutoModelForSequenceClassification.from_pretrained("AyoubChLin/DistilBERT_eco_ZeroShot")This model is a fine-tuned version of distilbert-base-uncased on an unknown dataset.
train on teknium/dataforge-economics on the task of zeroshot
The following hyperparameters were used during training:
eval loss : 0.0503
Unable to build the model tree, the base model loops to the model itself. Learn more.
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="AyoubChLin/DistilBERT_eco_ZeroShot")