René's URL Explorer Experiment


Title: GitHub - lpalbou/llama-cpp-python at update-sampling-api · GitHub

Open Graph Title: GitHub - lpalbou/llama-cpp-python at update-sampling-api

X Title: GitHub - lpalbou/llama-cpp-python at update-sampling-api

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

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

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

Opengraph URL: https://github.com/lpalbou/llama-cpp-python/tree/update-sampling-api

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/:user_id/:repository/tree/*name(/*path)
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:ab77d119-3325-885a-526a-37c0cc714389
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idB9A2:1BF755:2454F6:2EF80A:6AFF9620
html-safe-nonce9ed585636db47f7451fbd9980073559cfc1949b948c40d88e20bdd8b3035b915
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUEyOjFCRjc1NToyNDU0RjY6MkVGODBBOjZBRkY5NjIwIiwidmlzaXRvcl9pZCI6IjY5NjI0MDUzMjkyMTIyNjc4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca6d2fc6988a9f9de4b39dab7744be8d067d2adde44991ea3d5457c63a5145a39
hovercard-subject-tagrepository:1441856590
github-keyboard-shortcutsrepository,source-code,file-tree,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///files/disambiguate
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/lpalbou/llama-cpp-python/tree/update-sampling-api
twitter:imagehttps://opengraph.githubassets.com/4b8b00f2a1e45a4372699706b4e617ca2e1b55c0ada9c31c94726808f0f73268/lpalbou/llama-cpp-python
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4b8b00f2a1e45a4372699706b4e617ca2e1b55c0ada9c31c94726808f0f73268/lpalbou/llama-cpp-python
og:image:altPython bindings for llama.cpp. Contribute to lpalbou/llama-cpp-python development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2c75d045e8c84b51e2ac680086a6dd1eeaf2bc15b82137d22ee5106835d6256c
turbo-cache-controlno-cache
go-importgithub.com/lpalbou/llama-cpp-python git https://github.com/lpalbou/llama-cpp-python.git
octolytics-dimension-user_id24249870
octolytics-dimension-user_loginlpalbou
octolytics-dimension-repository_id1441856590
octolytics-dimension-repository_nwolpalbou/llama-cpp-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id617868717
octolytics-dimension-repository_parent_nwoabetlen/llama-cpp-python
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
releaseaa486b0389431f870c0adf9d4758aaff807c2d97
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flpalbou%2Fllama-cpp-python%2Ftree%2Fupdate-sampling-api
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%2Flpalbou%2Fllama-cpp-python%2Ftree%2Fupdate-sampling-api
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Ffiles%2Fdisambiguate&source=header-repo&source_repo=lpalbou%2Fllama-cpp-python
Reloadhttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api
Reloadhttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api
Reloadhttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api
lpalbouhttps://github.com/lpalbou
llama-cpp-pythonhttps://github.com/lpalbou/llama-cpp-python
Codehttps://github.com/lpalbou/llama-cpp-python
Pull requestshttps://github.com/lpalbou/llama-cpp-python/pulls
Actionshttps://github.com/lpalbou/llama-cpp-python/actions
Projectshttps://github.com/lpalbou/llama-cpp-python/projects
Security and qualityhttps://github.com/lpalbou/llama-cpp-python/security
Insightshttps://github.com/lpalbou/llama-cpp-python/pulse
https://github.com/lpalbou/llama-cpp-python
llama-cpp-pythonhttps://github.com/lpalbou/llama-cpp-python
abetlen/llama-cpp-pythonhttps://github.com/abetlen/llama-cpp-python
Notificationshttps://github.com/login?return_to=%2Flpalbou%2Fllama-cpp-python
Fork0 (0)https://github.com/login?return_to=%2Flpalbou%2Fllama-cpp-python
Star0 (0)https://github.com/login?return_to=%2Flpalbou%2Fllama-cpp-python
llama-cpp-python.readthedocs.iohttps://llama-cpp-python.readthedocs.io
Readmehttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#readme-ov-file
Licensehttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#License-1-ov-file
Activityhttps://github.com/lpalbou/llama-cpp-python/activity
0 forkshttps://github.com/lpalbou/llama-cpp-python/forks
Report repositoryhttps://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Flpalbou%2Fllama-cpp-python&report=lpalbou+%28user%29
Brancheshttps://github.com/lpalbou/llama-cpp-python/branches
Tagshttps://github.com/lpalbou/llama-cpp-python/tags
https://github.com/lpalbou/llama-cpp-python/branches
https://github.com/lpalbou/llama-cpp-python/tags
1,917 Commitshttps://github.com/lpalbou/llama-cpp-python/commits/update-sampling-api/
https://github.com/lpalbou/llama-cpp-python/commits/update-sampling-api/
.githubhttps://github.com/lpalbou/llama-cpp-python/tree/update-sampling-api/.github
.githubhttps://github.com/lpalbou/llama-cpp-python/tree/update-sampling-api/.github
dockerhttps://github.com/lpalbou/llama-cpp-python/tree/update-sampling-api/docker
dockerhttps://github.com/lpalbou/llama-cpp-python/tree/update-sampling-api/docker
docshttps://github.com/lpalbou/llama-cpp-python/tree/update-sampling-api/docs
docshttps://github.com/lpalbou/llama-cpp-python/tree/update-sampling-api/docs
exampleshttps://github.com/lpalbou/llama-cpp-python/tree/update-sampling-api/examples
exampleshttps://github.com/lpalbou/llama-cpp-python/tree/update-sampling-api/examples
llama_cpphttps://github.com/lpalbou/llama-cpp-python/tree/update-sampling-api/llama_cpp
llama_cpphttps://github.com/lpalbou/llama-cpp-python/tree/update-sampling-api/llama_cpp
scriptshttps://github.com/lpalbou/llama-cpp-python/tree/update-sampling-api/scripts
scriptshttps://github.com/lpalbou/llama-cpp-python/tree/update-sampling-api/scripts
testshttps://github.com/lpalbou/llama-cpp-python/tree/update-sampling-api/tests
testshttps://github.com/lpalbou/llama-cpp-python/tree/update-sampling-api/tests
vendorhttps://github.com/lpalbou/llama-cpp-python/tree/update-sampling-api/vendor
vendorhttps://github.com/lpalbou/llama-cpp-python/tree/update-sampling-api/vendor
.dockerignorehttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api/.dockerignore
.dockerignorehttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api/.dockerignore
.gitignorehttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api/.gitignore
.gitignorehttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api/.gitignore
.gitmoduleshttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api/.gitmodules
.gitmoduleshttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api/.gitmodules
.readthedocs.yamlhttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api/.readthedocs.yaml
.readthedocs.yamlhttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api/.readthedocs.yaml
CHANGELOG.mdhttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api/CHANGELOG.md
CHANGELOG.mdhttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api/CHANGELOG.md
CMakeLists.txthttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api/CMakeLists.txt
CMakeLists.txthttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api/CMakeLists.txt
LICENSE.mdhttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api/LICENSE.md
LICENSE.mdhttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api/LICENSE.md
Makefilehttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api/Makefile
Makefilehttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api/Makefile
README.mdhttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api/README.md
README.mdhttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api/README.md
mkdocs.ymlhttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api/mkdocs.yml
mkdocs.ymlhttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api/mkdocs.yml
pyproject.tomlhttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api/pyproject.toml
pyproject.tomlhttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api/pyproject.toml
READMEhttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api
Licensehttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api
https://raw.githubusercontent.com/abetlen/llama-cpp-python/main/docs/icon.svg
llama.cpphttps://github.com/ggerganov/llama.cpp
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#python-bindings-for-llamacpp
https://llama-cpp-python.readthedocs.io/en/latest/?badge=latest
https://github.com/abetlen/llama-cpp-python/actions/workflows/test.yaml
https://pypi.org/project/llama-cpp-python/
https://pypi.org/project/llama-cpp-python/
https://pypi.org/project/llama-cpp-python/
https://pypi.org/project/llama-cpp-python/
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api
llama.cpphttps://github.com/ggerganov/llama.cpp
LangChain compatibilityhttps://python.langchain.com/docs/integrations/llms/llamacpp
LlamaIndex compatibilityhttps://docs.llamaindex.ai/en/stable/examples/llm/llama_2_llama_cpp.html
Local Copilot replacementhttps://llama-cpp-python.readthedocs.io/en/latest/server/#code-completion
Function Calling supporthttps://llama-cpp-python.readthedocs.io/en/latest/server/#function-calling
Vision API supporthttps://llama-cpp-python.readthedocs.io/en/latest/server/#multimodal-models
Multiple Modelshttps://llama-cpp-python.readthedocs.io/en/latest/server/#configuration-and-multi-model-support
https://llama-cpp-python.readthedocs.io/en/latesthttps://llama-cpp-python.readthedocs.io/en/latest
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#installation
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#installation-configuration
llama.cpp READMEhttps://github.com/ggerganov/llama.cpp#build
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#supported-backends
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#windows-notes
mentioned in llama.cpp repohttps://github.com/ggerganov/llama.cpp#openblas
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#macos-notes
docs/install/macos.mdhttps://llama-cpp-python.readthedocs.io/en/latest/install/macos/
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#upgrading-and-reinstalling
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#high-level-api
API Referencehttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#high-level-api
Llamahttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama
__call__https://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama.__call__
create_completionhttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama.create_completion
Llamahttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#pulling-models-from-hugging-face-hub
from_pretrainedhttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama.from_pretrained
from_pretrainedhttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama.from_pretrained
huggingface-clihttps://huggingface.co/docs/huggingface_hub/en/guides/cli
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#chat-completion
create_chat_completionhttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama.create_chat_completion
Llamahttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama
create_chat_completion_openai_v1https://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama.create_chat_completion_openai_v1
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#json-and-json-schema-mode
create_chat_completionhttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama.create_chat_completion
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#json-mode
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#json-schema-mode
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#function-calling
herehttps://huggingface.co/meetkai
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#multi-modal-models
llava-v1.5-7bhttps://huggingface.co/mys/ggml_llava-v1.5-7b
llava-v1.5-13bhttps://huggingface.co/mys/ggml_llava-v1.5-13b
llava-v1.6-34bhttps://huggingface.co/cjpais/llava-v1.6-34B-gguf
moondream2https://huggingface.co/vikhyatk/moondream2
nanollavahttps://huggingface.co/abetlen/nanollava-gguf
llama-3-vision-alphahttps://huggingface.co/abetlen/llama-3-vision-alpha-gguf
minicpm-v-2.6https://huggingface.co/openbmb/MiniCPM-V-2_6-gguf
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#speculative-decoding
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#embeddings
create_embeddinghttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama.create_embedding
embedhttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama.embed
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#adjusting-the-context-window
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#openai-compatible-web-server
http://localhost:8000/docshttp://localhost:8000/docs
llama_cpp/llama_chat_format.pyhttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api/llama_cpp/llama_chat_format.py
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#web-server-features
Local Copilot replacementhttps://llama-cpp-python.readthedocs.io/en/latest/server/#code-completion
Function Calling supporthttps://llama-cpp-python.readthedocs.io/en/latest/server/#function-calling
Vision API supporthttps://llama-cpp-python.readthedocs.io/en/latest/server/#multimodal-models
Multiple Modelshttps://llama-cpp-python.readthedocs.io/en/latest/server/#configuration-and-multi-model-support
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#docker-image
GHCRhttps://ghcr.io/abetlen/llama-cpp-python
Docker on termux (requires root)https://gist.github.com/FreddieOliveira/efe850df7ff3951cb62d74bd770dce27
termux support issuehttps://github.com/abetlen/llama-cpp-python/issues/389
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#low-level-api
API Referencehttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#low-level-api
ctypeshttps://docs.python.org/3/library/ctypes.html
llama_cpp/llama_cpp.pyhttps://github.com/abetlen/llama-cpp-python/blob/master/llama_cpp/llama_cpp.py
llama.hhttps://github.com/ggerganov/llama.cpp/blob/master/llama.h
examples folderhttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api/examples/low_level_api
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#documentation
https://llama-cpp-python.readthedocs.io/https://llama-cpp-python.readthedocs.io/
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#development
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#faq
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#are-there-pre-built-binaries--binary-wheels-available
#741https://github.com/abetlen/llama-cpp-python/issues/741
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#how-does-this-compare-to-other-python-bindings-of-llamacpp
https://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#license
llama-cpp-python.readthedocs.iohttps://llama-cpp-python.readthedocs.io
Readmehttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#readme-ov-file
Licensehttps://github.com/lpalbou/llama-cpp-python/blob/update-sampling-api#License-1-ov-file
Activityhttps://github.com/lpalbou/llama-cpp-python/activity
0 forkshttps://github.com/lpalbou/llama-cpp-python/forks
Report repositoryhttps://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Flpalbou%2Fllama-cpp-python&report=lpalbou+%28user%29
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.