code: def test_reduce_text_model_mem_respect():
      config = {
          "input_features": [
              {
                  "name": "description",
                  "column": "description",
                  "type": "text",
                  "encoder": "bert",
              }
          ],
          "preprocessing": {"text": {"max_sequence_length": 56}},
      }
      training_set_metadata = {
          "description": {"max_sequence_length_99ptile": 117.0}
      }
      config_upd = {
          "input_features": [
              {
                  "name": "description",
                  "column": "description",
                  "type": "text",
                  "encoder": "bert",
              }
          ],
          "preprocessing": {"text": {"max_sequence_length": 56}},
      }
      reduce_text_feature_max_length(config, training_set_metadata)
      assert config == config_upd
  
imports: import pytest
label_desc: Use image node_id 4 for calling a global function with example usage: test_reduce_text_model_mem_respect() without return types