Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
ggml-org
llama.cpp
Repository navigation
Code
Issues
744
(744)
Pull requests
1.9k
(1.9k)
Discussions
Actions
Projects
Wiki
Security and quality
13
(13)
Insights
More
items
Implement classifier-free guidance
- #2135
#2135
Merged
ggerganov
merged 10 commits into
ggml-org:master
ggml-org/llama.cpp:master
from
bullno1:cfg
bullno1/llama.cpp:cfg
Copy head branch name to clipboard
Jul 11, 2023
Conversation
Commits
10
(10)
Checks
Files changed
Merged
Implement classifier-free guidance
#2135
ggerganov
merged 10 commits into
ggml-org:master
ggml-org/llama.cpp:master
from
bullno1:cfg
bullno1/llama.cpp:cfg
Copy head branch name to clipboard
Commits
Commits on Jul 8, 2023
Initial implementation
bullno1
committed
d09d5ed
View commit details
Copy full SHA for d09d5ed
Browse repository at this point
Remove debug print
bullno1
committed
4786300
View commit details
Copy full SHA for 4786300
Browse repository at this point
Restore signature of llama_init_from_gpt_params
bullno1
committed
8ba5b13
View commit details
Copy full SHA for 8ba5b13
Browse repository at this point
Free guidance context
bullno1
committed
8f91b52
View commit details
Copy full SHA for 8f91b52
Browse repository at this point
Make freeing of guidance_ctx conditional
bullno1
committed
114d4c5
View commit details
Copy full SHA for 114d4c5
Browse repository at this point
Make Classifier-Free Guidance a sampling function
bullno1
committed
422a7ff
View commit details
Copy full SHA for 422a7ff
Browse repository at this point
Correct typo. CFG already means context-free grammar.
bullno1
committed
66eb048
View commit details
Copy full SHA for 66eb048
Browse repository at this point
Record sampling time in llama_sample_classifier_free_guidance
bullno1
committed
8e66e59
View commit details
Copy full SHA for 8e66e59
Browse repository at this point
Shift all values by the max value before applying logsoftmax
bullno1
committed
325fc88
View commit details
Copy full SHA for 325fc88
Browse repository at this point
Commits on Jul 10, 2023
Fix styling based on review
bullno1
committed
abf164d
View commit details
Copy full SHA for abf164d
Browse repository at this point
You can’t perform that action at this time.