Spaces:
Sleeping
Sleeping
Commit History
initial commit
3e97f18
Update readme
b230754
Update readme
7584983
Create tests.yml
61cdaa0
unverified
zaidmehdi
commited on
.utils import
45c84cc
replace requests with flask test_client()
37aa982
fix src and models copy
ab7587a
remove tests
a94ca7c
initialize docker file
e081842
specify host and port
7039ced
test obvious dialects
1656836
rename method test_output() to test_response()
9a3b7ae
docstring
464be69
setting up test class and writing firt test of model output
9480e34
fix imports and models paths
ec4a7b0
initialize modules
e9c4282
initialize tests
f73728a
taking value of predicted_class from list output of log reg prediction
6893bb5
returning numpy array of hidden state
f838a8b
debug extract_hidden_state()
79dc319
fix indentation
4b51583
add function to extract hidden state
9a23b5c
creating flask api
ab54966
defining classify_arabic_dialect() function
99757c1
loading model
1784a22
initializing main
c1f16ee
dump log reg model
0a29e50
remove unused import
0ab7a35
keep logistic reg only, and plot confusion matrix
db2edbc
add fct to plot confusion matrix
2f5f23f
calculating metrics
f8b3be6
retraining models for evaluation
46afa74
result of xgboost search
10f12ce
changing torch device to cuda
40d1a73
grid search for xgboost
cf5faeb
training random forest
370a710
trained logistic regression
ba240c4
tokenizing data and extracting features from last hidden layer
76f50ce
remove fct convert_df_to_datasetdict() from utils file
07f51a8
remove print
07cffcd
convert df to datasetdict
402d8e8
ignore pycache
adeabee
exploring the data
4a4880c
defining structure and reading data
6c50497
initialize notebook
fe78e9e
ignoring data folder
a869896
Initial commit
f7da5e8
unverified
zaidmehdi
commited on