```python import tensorflow as tf # Kirish ma'lumotlarini aniqlang kirish = tf.keras.layers.Input(shape=(4,)) # 8 ta maxfiy tugunli yashirin qatlamni aniqlang tf.keras.layers.Dense(8, activation='relu') ((kirish) # 3 ta tugunli chiqish qatlamni aniqlang va softmax faollashtirish funksiyasini ishga tushiring chiqish = tf.keras.layers.Dense(3, activation='soft') max) (o'rnatiladi) # Modelni aniqlangan qatlamlardan modelni yarating model = tf.keras.models.Model(inputs=kirish, outputs=chiqarish) # Modelni 'categorical_crossentropy' yo'qotish funksiyasi bilan tuzing va 'adam' modelini optim
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence