BLEURT-20-D12 is a PyTorch implementation of BLEURT, a model designed to assess the semantic similarity between two text sequences. It serves as an automatic evaluation metric for natural language generation tasks like summarization and translation. The model predicts a score indicating how similar a candidate sentence is to a reference sentence, with higher scores indicating greater semantic overlap. Unlike standard BLEURT models from TensorFlow, this version is built from a custom PyTorch transformer library. It requires installing the model-specific library from GitHub to function properly. Once set up, it can be used to compute similarity scores with minimal code. BLEURT-20-D12 enables more flexible deployment in PyTorch-based workflows for evaluating language generation outputs.

Features

  • PyTorch-based implementation of BLEURT
  • Evaluates sentence-level semantic similarity
  • Accepts reference and candidate sentence pairs
  • Outputs real-valued similarity scores
  • Uses BleurtForSequenceClassification class
  • Lightweight custom tokenizer and config classes
  • Compatible with Hugging Face Transformers interface
  • Suitable for translation and summarization evaluation

Project Samples

Project Activity

See All Activity >

Categories

AI Models

Follow BLEURT-20-D12

BLEURT-20-D12 Web Site

Other Useful Business Software
Build Securely on Azure with Proven Frameworks Icon
Build Securely on Azure with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of BLEURT-20-D12!

Additional Project Details

Registered

2025-07-02