Bert
Collection
1 item โข Updated
How to use Necraatall/Bert with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Necraatall/Bert") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Necraatall/Bert")
model = AutoModelForSequenceClassification.from_pretrained("Necraatall/Bert", device_map="auto")# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Necraatall/Bert")
model = AutoModelForSequenceClassification.from_pretrained("Necraatall/Bert", device_map="auto")This model is a fine-tuned version of distilbert-base-uncased on an unknown dataset.
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
Base model
distilbert/distilbert-base-uncased
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Necraatall/Bert")