Quantifying the Carbon Emissions of Machine Learning
Paper โข 1910.09700 โข Published โข 62
How to use nameless-0/GER_frame-detect_mgbert134M with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="nameless-0/GER_frame-detect_mgbert134M") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("nameless-0/GER_frame-detect_mgbert134M")
model = AutoModelForSequenceClassification.from_pretrained("nameless-0/GER_frame-detect_mgbert134M", device_map="auto")This model was trained as part of a student project of students of the University of Regensburg. It is a fine-tuned model based on the ModernGBERT 134M.