Text Classification
Transformers
PyTorch
Arabic
bert
Trained with AutoTrain
text-embeddings-inference
Run this model with HF Jobs
Run MMars/marbertv2_flodusta on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/MMars/marbertv2_flodusta. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/MMars/marbertv2_flodusta on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use MMars/marbertv2_flodusta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MMars/marbertv2_flodusta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="MMars/marbertv2_flodusta")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("MMars/marbertv2_flodusta") model = AutoModelForSequenceClassification.from_pretrained("MMars/marbertv2_flodusta", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files4 unmodified lines56789101139 unmodified lines5152535455565758594 unmodified lineslanguage:- arwidget:- text: I love AutoTrain 🤗datasets:- MMars/autotrain-data-marbertv2_flodustaco2_eq_emissions:39 unmodified lines```from transformers import AutoModelForSequenceClassification, AutoTokenizermodel = AutoModelForSequenceClassification.from_pretrained("MMars/autotrain-marbertv2_flodusta-2782682135", use_auth_token=True)tokenizer = AutoTokenizer.from_pretrained("MMars/autotrain-marbertv2_flodusta-2782682135", use_auth_token=True)inputs = tokenizer("I love AutoTrain", return_tensors="pt")4 unmodified lines56789101139 unmodified lines5152535455565758594 unmodified lineslanguage:- arwidget:- text: مطر غزير على شوارع العاصمة المقدسة.datasets:- MMars/autotrain-data-marbertv2_flodustaco2_eq_emissions:39 unmodified lines```from transformers import AutoModelForSequenceClassification, AutoTokenizermodel = AutoModelForSequenceClassification.from_pretrained("MMars/marbertv2_flodusta", use_auth_token=True)tokenizer = AutoTokenizer.from_pretrained("MMars/marbertv2_flodusta", use_auth_token=True)inputs = tokenizer("I love AutoTrain", return_tensors="pt")
README.md+3-3