Text Classification
Transformers
ONNX
Safetensors
Arabic
arauni
multi-label-classification
arabic
university-chatbot
marbertv2
preview
custom_code
webgpu
Eval Results (legacy)
Instructions to use NajahUniv/AraUni-MARBERTv2-Intent-Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NajahUniv/AraUni-MARBERTv2-Intent-Classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="NajahUniv/AraUni-MARBERTv2-Intent-Classifier", trust_remote_code=True)# Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("NajahUniv/AraUni-MARBERTv2-Intent-Classifier", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "batch_size": 1, | |
| "input_dtype": "int64", | |
| "input_names": [ | |
| "input_ids", | |
| "attention_mask" | |
| ], | |
| "labels": [ | |
| "academic_calendar", | |
| "academic_programs", | |
| "admissions", | |
| "campus_services", | |
| "contact_and_location", | |
| "courses_and_study_plans", | |
| "exams_and_grades", | |
| "general_university_information", | |
| "graduation", | |
| "library", | |
| "news_and_events", | |
| "out_of_scope", | |
| "registration", | |
| "research_and_postgraduate", | |
| "scholarships_and_aid", | |
| "staff_and_departments", | |
| "student_services", | |
| "technical_support", | |
| "transfer_and_equivalency", | |
| "tuition_and_payments" | |
| ], | |
| "max_length": 256, | |
| "model_file": "model_webgpu.onnx", | |
| "model_name": "UBC-NLP/MARBERTv2", | |
| "model_sha256": "1616526da9779a3b39c0700114910207ce709eeeef1c16db3fe6eb4ea69e060f", | |
| "model_size_bytes": 147426496, | |
| "output_name": "logits", | |
| "package_version": 1, | |
| "pooling": "masked_mean", | |
| "quantization": "q8-linear-q4-embedding", | |
| "runtime": "onnxruntime-web/webgpu", | |
| "thresholds": { | |
| "academic_calendar": 0.5, | |
| "academic_programs": 0.5, | |
| "admissions": 0.5, | |
| "campus_services": 0.5, | |
| "contact_and_location": 0.5, | |
| "courses_and_study_plans": 0.5, | |
| "exams_and_grades": 0.5, | |
| "general_university_information": 0.5, | |
| "graduation": 0.5, | |
| "library": 0.5, | |
| "news_and_events": 0.5, | |
| "out_of_scope": 0.5, | |
| "registration": 0.5, | |
| "research_and_postgraduate": 0.5, | |
| "scholarships_and_aid": 0.5, | |
| "staff_and_departments": 0.5, | |
| "student_services": 0.5, | |
| "technical_support": 0.5, | |
| "transfer_and_equivalency": 0.5, | |
| "tuition_and_payments": 0.5 | |
| }, | |
| "tokenizer_files": [ | |
| "tokenizer.json", | |
| "tokenizer_config.json", | |
| "labels.json", | |
| "thresholds.json", | |
| "metadata.json" | |
| ], | |
| "validation_report_file": "validation_report.json", | |
| "verification_file": "verification.json" | |
| } | |