René's URL Explorer Experiment


Title: fix: align echoed token log probabilities for prompts without a BOS token by remote-controlled-man · Pull Request #2420 · abetlen/llama-cpp-python · GitHub

Open Graph Title: fix: align echoed token log probabilities for prompts without a BOS token by remote-controlled-man · Pull Request #2420 · abetlen/llama-cpp-python

X Title: fix: align echoed token log probabilities for prompts without a BOS token by remote-controlled-man · Pull Request #2420 · abetlen/llama-cpp-python

Description: Python bindings for llama.cpp. Contribute to abetlen/llama-cpp-python development by creating an account on GitHub.

Open Graph Description: Without a leading BOS token, echo=True pairs prompt tokens with the wrong prediction rows and can omit the final generated token from logprobs. Align each token with the preceding model position wh...

X Description: Without a leading BOS token, echo=True pairs prompt tokens with the wrong prediction rows and can omit the final generated token from logprobs. Align each token with the preceding model position wh...

Opengraph URL: https://github.com/abetlen/llama-cpp-python/pull/2420

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:2743161a-9912-542d-0fea-78aa3c4c9c10
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEBDC:367250:EA9A:13566:6AFF6CBD
html-safe-nonceb957bbb261d456a57c7c107ca2903f5a189d69197dc5f86f9b7b49842197b87b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkRDOjM2NzI1MDpFQTlBOjEzNTY2OjZBRkY2Q0JEIiwidmlzaXRvcl9pZCI6Ijg4OTI1OTA3MTI4MjcxMTI2MzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca538fc8bcc9f6201c825542e9ab17b64928161c274c2a5c20640f7e9300092f6
hovercard-subject-tagpull_request:5368695611
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/abetlen/llama-cpp-python/2420/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/64b748735c3653896e0c0cecf8fecc805eeaca71754915f2d4f69d2d422b7d56/abetlen/llama-cpp-python/pull/2420
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/64b748735c3653896e0c0cecf8fecc805eeaca71754915f2d4f69d2d422b7d56/abetlen/llama-cpp-python/pull/2420
og:image:altWithout a leading BOS token, echo=True pairs prompt tokens with the wrong prediction rows and can omit the final generated token from logprobs. Align each token with the preceding model position wh...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameremote-controlled-man
hostnamegithub.com
expected-hostnamegithub.com
None6d580fc7098c193d7866bf290c4c2b4859a153e87379f44161f35a4495e6b730
turbo-cache-controlno-cache
go-importgithub.com/abetlen/llama-cpp-python git https://github.com/abetlen/llama-cpp-python.git
octolytics-dimension-user_id6826477
octolytics-dimension-user_loginabetlen
octolytics-dimension-repository_id617868717
octolytics-dimension-repository_nwoabetlen/llama-cpp-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id617868717
octolytics-dimension-repository_network_root_nwoabetlen/llama-cpp-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseec5dd94a369dad6e9ce618a1705cbe3b618a2863
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/abetlen/llama-cpp-python/pull/2420#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fabetlen%2Fllama-cpp-python%2Fpull%2F2420
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fabetlen%2Fllama-cpp-python%2Fpull%2F2420
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=abetlen%2Fllama-cpp-python
Reloadhttps://github.com/abetlen/llama-cpp-python/pull/2420
Reloadhttps://github.com/abetlen/llama-cpp-python/pull/2420
Reloadhttps://github.com/abetlen/llama-cpp-python/pull/2420
abetlenhttps://github.com/abetlen
llama-cpp-pythonhttps://github.com/abetlen/llama-cpp-python
Codehttps://github.com/abetlen/llama-cpp-python
Issues600 (600)https://github.com/abetlen/llama-cpp-python/issues
Pull requests122 (122)https://github.com/abetlen/llama-cpp-python/pulls
Discussionshttps://github.com/abetlen/llama-cpp-python/discussions
Actionshttps://github.com/abetlen/llama-cpp-python/actions
Projectshttps://github.com/abetlen/llama-cpp-python/projects
Security and quality1 (1)https://github.com/abetlen/llama-cpp-python/security
Insightshttps://github.com/abetlen/llama-cpp-python/pulse
https://github.com/abetlen/llama-cpp-python
remote-controlled-manhttps://github.com/remote-controlled-man
abetlen:mainhttps://github.com/abetlen/llama-cpp-python/tree/main
remote-controlled-man:codex/prflow-06bed9288b0ehttps://github.com/remote-controlled-man/llama-cpp-python/tree/codex/prflow-06bed9288b0e
Conversationhttps://github.com/abetlen/llama-cpp-python/pull/2420
Commits1 (1)https://github.com/abetlen/llama-cpp-python/pull/2420/commits
Checkshttps://github.com/abetlen/llama-cpp-python/pull/2420/checks
Files changedhttps://github.com/abetlen/llama-cpp-python/pull/2420/files
fix: align echoed token log probabilities for prompts without a BOS tokenhttps://github.com/abetlen/llama-cpp-python/pull/2420#top
remote-controlled-manhttps://github.com/remote-controlled-man
abetlen:mainhttps://github.com/abetlen/llama-cpp-python/tree/main
remote-controlled-man:codex/prflow-06bed9288b0ehttps://github.com/remote-controlled-man/llama-cpp-python/tree/codex/prflow-06bed9288b0e
https://github.com/remote-controlled-man
remote-controlled-manhttps://github.com/remote-controlled-man
Nov 18, 2026https://github.com/abetlen/llama-cpp-python/pull/2420#issue-6458513495
#1983https://github.com/abetlen/llama-cpp-python/issues/1983
Please reload this pagehttps://github.com/abetlen/llama-cpp-python/pull/2420
https://github.com/remote-controlled-man
fix: align echoed logprobs for prompts without a BOS tokenhttps://github.com/abetlen/llama-cpp-python/pull/2420/commits/148b3ba97f0dc0fa34516312ff4f1de9f70b68b3
148b3bahttps://github.com/abetlen/llama-cpp-python/pull/2420/commits/148b3ba97f0dc0fa34516312ff4f1de9f70b68b3
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
November 18, 2026 02:22https://github.com/abetlen/llama-cpp-python/pull/2420#event-36479306008
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Nov 18, 2026 https://github.com/abetlen/llama-cpp-python/pull/2420#pullrequestreview-5949904001
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/abetlen/llama-cpp-python/pull/2420#pullrequestreview-5949904001
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/abetlen/llama-cpp-python/pull/2420
https://github.co/hiddenchars
https://github.com/abetlen/llama-cpp-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fabetlen%2Fllama-cpp-python%2Fpull%2F2420
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/abetlen/llama-cpp-python/pull/2420/files/148b3ba97f0dc0fa34516312ff4f1de9f70b68b3
Please reload this pagehttps://github.com/abetlen/llama-cpp-python/pull/2420
Please reload this pagehttps://github.com/abetlen/llama-cpp-python/pull/2420
https://github.com/remote-controlled-man
https://github.com/apps/copilot-pull-request-reviewer
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.