YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/model-cards#model-card-metadata)

BTD Model (Binary Text Detector)

Overview

This repository contains the Binary Text Detector (BTD) model developed using the Hugging Face Transformers library. The model is designed to detect and classify text-based inputs into binary categories.

Key Features:

  • Based on deep learning architecture (TensorFlow/Keras).
  • Publicly available for inference through the Hugging Face API.
  • Lightweight and efficient for text detection tasks.

Files in the Repository

  • model.h5: The trained model file.
  • app.py: A Flask app for running local inferences.
  • metrics.py: A script to evaluate the model's performance.
  • requirements.txt: Lists required Python packages.

Usage

Upload Images

To use this model, you can upload your input data (e.g., text or image) using the API. The model will process the input and return binary classifications.

API Inference

You can use the Hugging Face Inference API to interact with this model.

Endpoint:
https://api-inference.huggingface.co/models/iSushant/BTD

Example Request (Python):

import requests

API_URL = "https://api-inference.huggingface.co/models/iSushant/BTD"
headers = {"Authorization": "Bearer YOUR_HUGGINGFACE_TOKEN"}

data = {"inputs": "Your input text here."}
response = requests.post(API_URL, headers=headers, json=data)
print(response.json())
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model is not currently available via any of the supported Inference Providers.
The model cannot be deployed to the HF Inference API: The model has no library tag.