--- tags: - tensorflow - text-classification - lstm - custom-model library_name: tensorflow task: text-classification model_type: tensorflow --- # LSTM Text Classification Model This model is an LSTM-based text classification model implemented in TensorFlow. ## Model Information - **Model Type**: TensorFlow LSTM - **Task**: Text Classification ## Usage You can use this model to classify text inputs into categories. ## Example Usage ```python import requests API_URL = "https://api-inference.huggingface.co/models//" headers = {"Authorization": "Bearer "} data = {"text": "This is a sample news text."} response = requests.post(API_URL, headers=headers, json=data) print(response.json())