Skip to content

Added PerplexityFilter#2233

Draft
abdr17 wants to merge 14 commits into
NVIDIA-NeMo:mainfrom
abdr17:main
Draft

Added PerplexityFilter#2233
abdr17 wants to merge 14 commits into
NVIDIA-NeMo:mainfrom
abdr17:main

Conversation

@abdr17

@abdr17 abdr17 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

[DRAFT]

Description

Have added a perplexity filter that accepts a kenLM model, min_perplexity, max_perplexity and retained the docs with min_perplexity <= score <= max_perplexity.

Usage

# Add snippet demonstrating usage

Checklist

  • I am familiar with the Contributing Guide.
  • New or Existing tests cover these changes.
  • The documentation is up to date with these changes.

abdr17 and others added 14 commits July 12, 2026 20:52
… to filter documents based on the specified language.

Signed-off-by: abdr17 <95970905+abdr17@users.noreply.github.com>
…se block

Ensure language code is uppercase for consistency.

Signed-off-by: abdr17 <95970905+abdr17@users.noreply.github.com>
Signed-off-by: abdr17 <95970905+abdr17@users.noreply.github.com>
Signed-off-by: abdr17 <95970905+abdr17@users.noreply.github.com>
Signed-off-by: abdr17 <95970905+abdr17@users.noreply.github.com>
Signed-off-by: abdr17 <95970905+abdr17@users.noreply.github.com>
Signed-off-by: abdr17 <95970905+abdr17@users.noreply.github.com>
Removed handling for int/float score types in score validation.

Signed-off-by: abdr17 <95970905+abdr17@users.noreply.github.com>
Signed-off-by: Abdul Rahman <abdulrahmanejaz19@gmail.com>
@copy-pr-bot

copy-pr-bot Bot commented Jul 21, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants