Run this model with HF Jobs
Run MM2157/MARBERT_full 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/MM2157/MARBERT_full. 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/MM2157/MARBERT_full 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 MM2157/MARBERT_full with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MM2157/MARBERT_full with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="MM2157/MARBERT_full")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("MM2157/MARBERT_full") model = AutoModelForSequenceClassification.from_pretrained("MM2157/MARBERT_full", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Sussex_AI_marbert_arabic_sentiment_full
Browse filesFiles changed (4)
- README.mdAdded+53
- config.jsonAdded+47
- model.safetensorsAdded+3
- training_args.binAdded+3
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253---library_name: transformersbase_model: UBC-NLP/MARBERTtags:- generated_from_trainermodel-index:- name: MARBERT_full results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# MARBERT_full
This model is a fine-tuned version of [UBC-NLP/MARBERT](https://huggingface.co/UBC-NLP/MARBERT) on the None dataset.
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:- learning_rate: 1e-05- train_batch_size: 16- eval_batch_size: 16- seed: 42- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: linear- num_epochs: 5- mixed_precision_training: Native AMP
### Training results
### Framework versions
- Transformers 5.0.0- Pytorch 2.9.0+cu128- Datasets 4.0.0- Tokenizers 0.22.21234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ "add_cross_attention": false, "architectures": [ "BertForSequenceClassification" ], "attention_probs_dropout_prob": 0.1, "bos_token_id": null, "classifier_dropout": null, "directionality": "bidi", "dtype": "float32", "eos_token_id": null, "gradient_checkpointing": false, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "id2label": { "0": "negative", "1": "neutral", "2": "positive" }, "initializer_range": 0.02, "intermediate_size": 3072, "is_decoder": false, "label2id": { "negative": 0, "neutral": 1, "positive": 2 }, "layer_norm_eps": 1e-12, "max_position_embeddings": 512, "model_type": "bert", "num_attention_heads": 12, "num_hidden_layers": 12, "pad_token_id": 0, "pooler_fc_size": 768, "pooler_num_attention_heads": 12, "pooler_num_fc_layers": 3, "pooler_size_per_head": 128, "pooler_type": "first_token_transform", "position_embedding_type": "absolute", "problem_type": "single_label_classification", "tie_word_embeddings": true, "transformers_version": "5.0.0", "type_vocab_size": 2, "use_cache": false, "vocab_size": 100000}123version https://git-lfs.github.com/spec/v1oid sha256:8cd0a1fc79a25f4a1a918004ae1ded74c521085474d2e645b2b28cd489c3184dsize 651398124123version https://git-lfs.github.com/spec/v1oid sha256:223bc656bfb49e7fd86ccda4ad38cf00dc756f283be026ab8455ddf35880f159size 5137README.mdAdded+53
config.jsonAdded+47
model.safetensorsAdded+3
training_args.binAdded+3