
    hg                        S SK JrJrJr  S SKrS SKrS SKrSr\R                  " \R                  R                  \S5      SS9r\R                  " \R                  R                  \S5      SS9r\" \R                  R                  \S5      S5       r\R                  " \5      rSSS5        \" S	\\S
SS9r\R                  " \R                  R                  \S5      SS9r\R                  " \R                  R                  \S5      SS9r\" \R                  R                  \S5      S5       r\R                  " \5      rSSS5        \" S	\\S
SS9r\R                  " \R                  R                  \S5      SS9r\R                  " \R                  R                  \S5      SS9r\" \R                  R                  \S5      S5       r\R                  " \5      rSSS5        \" S	\\S
SS9r\R                  " \R                  R                  \S5      SS9r\R                  " \R                  R                  \S5      SS9r\" \R                  R                  \S5      S5       r\R                  " \5      rSSS5        \" S	\\S
SS9r\" \R                  R                  \S5      SSS9 r\R                  " \5      rSSS5        0 SS_SS_SS_SS_SS_S S!_S"S#_S$S%_S&S'_S(S)_S*S+_S,S-_S.S/_S0S1_S2S3_S4S5_S6S7_rS8S9S:S;S<.r g! , (       d  f       GNm= f! , (       d  f       GN= f! , (       d  f       GNU= f! , (       d  f       N= f! , (       d  f       N= f)=    )AutoTokenizer"AutoModelForSequenceClassificationpipelineNz!C:\Users\dev29\xamp\htdocs\modelszodd-classifierT)local_files_onlyzodd_label_encoder.pklrbztext-classification)model	tokenizerdevicetop_kznature-classifierznature_label_encoder.pklzcible-classifierzcible_label_encoder.pklzindicateurs-classifierzindicateurs_label_encoder.pklzcibles_indicateurs.jsonrzutf-8)encoding1u   Pas de pauvreté2u
   Faim zéro3zBonnes conditions de vie4u   Éducation de qualité5u   Égalité entre les sexes6zEau propre et assainissement7u'   Énergie propre et d'un coût abordable8u)   Travail décent et croissance économique9z'Industrie, innovation et infrastructure10u   Inégalités réduites11u   Villes et communautés durables12z'Consommation et production responsables13u@   Mesures relatives à la lutte contre les changements climatiques14zVie aquatique15zVie terrestre16z'Paix, justice et institutions efficaces17z(Partenariats pour les objectifs durablesu   Consommation / AccèszProduction / OffrezHabilitante / CapacitanteSoutien)r   r   r   r   )!transformersr   r   r   picklejsonos	BASE_PATHfrom_pretrainedpathjoinodd_tokenizer	odd_modelopenfloadodd_label_encoderodd_classifiernature_tokenizernature_modelnature_label_encodernature_classifiercible_tokenizercible_modelcible_label_encodercible_classifierindicateur_tokenizerindicateur_modelindicateur_label_encoderindicateur_classifierhierarchy_data	odd_namesnature_names     KC:\Users\dev29\xamp\htdocs\model ia 1\micro-service python\app\ml_models.py<module>rB      s   T T   	0	 --bggll9FV.Wjno.>>rww||IWg?h{  A		"'',,y"9
:DAQA B/yMbdlpq !00iI\1]ptu 1AA"'',,yZmBn  BF  G	"'',,y"<
=tD!;;q> E2,Rbkmuyz   //YHZ0[nrs0@@iYkAl  @D  E	"'',,y";
<dCq ++a. D1P_hjrvw  %44RWW\\)Me5fy}~ 5EEbggllS\^vFw  KO  P 	"'',,y"A
BDIQ%{{1~ J !6>NZnwy  BF  G  
"'',,y";
<cGTXYYYq\N U	 	# 	!	
 	$ 	' 	2 	4 	2 	
" 	
+ 	
3 	
L 	/ 	/  	
3!" 	
4#	, 
!		$		g BA ED DC JI
 UTs<   L0LL/,M3M
L
L,/
L>
M
M 