AventIQ-AI / Restaurant-Order-Summarizer

huggingface.co
Total runs: 11
24-hour runs: 1
7-day runs: 3
30-day runs: 7
Model's Last Updated: May 20 2025

Introduction of Restaurant-Order-Summarizer

Model Details of Restaurant-Order-Summarizer

Text-to-Text Transfer Transformer Quantized Model for Food Order Summarization

This repository hosts a quantized version of the T5 model, fine-tuned specifically for text summarization of food order entries. The model extracts concise summaries from semi-structured or unstructured restaurant order texts, making it ideal for POS systems, kitchen displays, and chat-based food order logging.

Model Details
  • Field: Description
  • Model Architecture T5 (Text-to-Text Transfer Transformer)
  • Task Text Summarization for Food Orders
  • Input Format Free-form order text (includes Order ID, Customer, Items, etc.)
  • Quantization 8-bit (int8) using bitsandbytes
  • Framework Hugging Face Transformers
  • Base Model t5-base
  • Dataset Custom
Usage
Installation
pip install transformers accelerate bitsandbytes torch
Loading the Model
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
import torch

device = "cuda" if torch.cuda.is_available() else "cpu"

model_name = "your-username/food-order-summarizer-quantized"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForSeq2SeqLM.from_pretrained(model_name, load_in_8bit=True, device_map="auto")

def test_summarization(model, tokenizer):
    user_text = input("\nEnter your food order text:\n")
    inputs = tokenizer("summarize: " + user_text, return_tensors="pt", truncation=True, max_length=512).to(model.device)

    output = model.generate(
        **inputs,
        max_new_tokens=100,
        num_beams=5,
        length_penalty=0.8,
        early_stopping=True
    )

    summary = tokenizer.decode(output[0], skip_special_tokens=True)
    return summary

print("\n📝 **Model Summary:**")
print(test_summarization(model, tokenizer))
ROUGE Evaluation Results

After fine-tuning the T5-Small model for text summarization, we obtained the following ROUGE scores:

Metric Score Meaning
ROUGE-1 0.4125 (~41%) Overlap of unigrams between reference and summary.
ROUGE-2 0.2167 (~22%) Overlap of bigrams , indicating fluency.
ROUGE-L 0.3421 (~34%) Longest common subsequence matching structure.
ROUGE-Lsum 0.3644 (~36%) Sentence-level summarization effectiveness.
Fine-Tuning Details
Dataset

Custom-labeled food order dataset containing fields like Order ID, Customer, and Order Details. The model was trained to extract clean, natural summaries from noisy or inconsistent order formats.

Training
  • Number of epochs: 3

  • Batch size: 4

  • Evaluation strategy: epoch

  • Learning rate: 3e-5

Quantization

Post-training 8-bit quantization using bitsandbytes library with Hugging Face integration. This reduced the model size and improved inference speed with negligible impact on summarization quality.

Repository Structure
.
├── model/               # Contains the quantized model files
├── tokenizer_config/    # Tokenizer configuration and vocabulary files
├── model.safetensors/   # Quantized model weights
├── README.md            # Model documentation
Limitations
  • The model may misinterpret or misformat input with excessive noise or missing key fields.

  • Quantized versions may show slight accuracy loss compared to full-precision models.

  • Best suited for English-language food order formats.

Contributing

Contributions are welcome! If you have suggestions, feature requests, or improvements, feel free to open an issue or submit a pull request.

Runs of AventIQ-AI Restaurant-Order-Summarizer on huggingface.co

11
Total runs
1
24-hour runs
0
3-day runs
3
7-day runs
7
30-day runs

More Information About Restaurant-Order-Summarizer huggingface.co Model

Restaurant-Order-Summarizer huggingface.co

Restaurant-Order-Summarizer huggingface.co is an AI model on huggingface.co that provides Restaurant-Order-Summarizer's model effect (), which can be used instantly with this AventIQ-AI Restaurant-Order-Summarizer model. huggingface.co supports a free trial of the Restaurant-Order-Summarizer model, and also provides paid use of the Restaurant-Order-Summarizer. Support call Restaurant-Order-Summarizer model through api, including Node.js, Python, http.

Restaurant-Order-Summarizer huggingface.co Url

https://huggingface.co/AventIQ-AI/Restaurant-Order-Summarizer

AventIQ-AI Restaurant-Order-Summarizer online free

Restaurant-Order-Summarizer huggingface.co is an online trial and call api platform, which integrates Restaurant-Order-Summarizer's modeling effects, including api services, and provides a free online trial of Restaurant-Order-Summarizer, you can try Restaurant-Order-Summarizer online for free by clicking the link below.

AventIQ-AI Restaurant-Order-Summarizer online free url in huggingface.co:

https://huggingface.co/AventIQ-AI/Restaurant-Order-Summarizer

Restaurant-Order-Summarizer install

Restaurant-Order-Summarizer is an open source model from GitHub that offers a free installation service, and any user can find Restaurant-Order-Summarizer on GitHub to install. At the same time, huggingface.co provides the effect of Restaurant-Order-Summarizer install, users can directly use Restaurant-Order-Summarizer installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Restaurant-Order-Summarizer install url in huggingface.co:

https://huggingface.co/AventIQ-AI/Restaurant-Order-Summarizer

Url of Restaurant-Order-Summarizer

Restaurant-Order-Summarizer huggingface.co Url

Provider of Restaurant-Order-Summarizer huggingface.co

AventIQ-AI
ORGANIZATIONS

Other API from AventIQ-AI

huggingface.co

Total runs: 19
Run Growth: 3
Growth Rate: 37.50%
Updated:February 17 2025