|
Download README.md from rushdiodeh/Multi-dialect-Arabicrush: direct link, hf CLI and curl.
- Browser
- Download file 822 Bytes
-
https://huggingface.co/rushdiodeh/Multi-dialect-Arabicrush/resolve/main/README.md
- Command line
-
hf download hf://rushdiodeh/Multi-dialect-Arabicrush/README.md
-
curl -L -o README.md https://huggingface.co/rushdiodeh/Multi-dialect-Arabicrush/resolve/main/README.md
822 Bytes
metadata
license: apache-2.0
metrics:
- accuracy
pipeline_tag: text-classification
Arabic-Dialects-Identification-Model
here's a complete Python code to perform the Arabic dialects identification using MultinomialNB and Random Forest classifiers and evaluate the model using various performance metrics:
This creates a dataframe 'comparison_df' that has three columns: 'Actual', 'Multinomial NB', and Random ,Forest'. The Actual column contains the true labels for the testing data, while the Multinomial NB and Random Forest columns contain the predicted labels for the testing data using the corresponding classifier.
Finally, the comparison dataframe is saved to an Excel file called arabic_dialects_comparison.xlsx using the to_excel() method with index=False argument to exclude the row index from the Excel file.