Downloads · 30 days
0
devulapellykushal/textdetection_99
textdetection_99 is a text classification model from devulapellykushal. Use it when you need a label for a piece of text. It is set up for keras. The card lists the license as mit.
This repository hosts a custom-trained text classification model saved in Keras .h5 format. The model is designed to classify textual inputs into one or more predefined categories.
Downloads · 30 days
0
Access
Public
Updated May 8, 2025
Repo size
23.8 MB
Likes
0
Public
Click a slice to open those files.
.h523.8 MB · 100%
From the Hugging Face model README
This repository hosts a custom-trained text classification model saved in Keras .h5 format. The model is designed to classify textual inputs into one or more predefined categories.
text_classification_pipeline.h5 — Trained Keras model file.requirements.txt — List of Python dependencies (TensorFlow, etc.).README.md — This file..h5To load and use the model:
from tensorflow.keras.models import load_model
import numpy as np
# Load the model
model = load_model("text_classification_pipeline.h5")
# Example input (after preprocessing)
# Replace with your own tokenizer/vectorizer logic
sample_input = np.array([...]) # shape must match model input
prediction = model.predict(sample_input)
print(prediction)