-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Add LLaDA 8b Diffusion model #14771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Add LLaDA 8b Diffusion model #14771
Changes from 9 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
bef6c2d
Add support for Llada-8b: diffusion model
am17an 0fa8b86
Add README
am17an 267a09d
Fix README and convert_hf_to_gguf
am17an 812bc38
convert_hf_to_gguf.py: address review comments
am17an 6bb0093
Make everything in a single example
am17an 3e7efcb
Remove model-specific sampling
am17an a50547c
Remove unused argmax
am17an e864a49
Remove braced initializers, improve README.md a bit
am17an 9691f4e
Add diffusion specific gguf params in set_vocab, remove setting rope_…
am17an 57201cc
Remove adding the mask token
am17an a326b13
Move add_add_bos_token to set_vocab
am17an ac3f91f
use add_bool in gguf_writer.py
am17an File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Diffusion Text Generation | ||
|
||
This directory contains implementations for Diffusion LLMs (DLLMs) | ||
|
||
More Info: | ||
- https://github.com/ggml-org/llama.cpp/pull/14644 | ||
- https://github.com/ggml-org/llama.cpp/pull/14771 | ||
|
||
|
||
Example of using Dream architechture: `llama-diffusion-cli -m dream7b.gguf -p "write code to train MNIST in pytorch" -ub 512 --diffusion-eps 0.001 --diffusion-algorithm 3 --diffusion-steps 256 --diffusion-visual` | ||
|
||
Example of using LLaDA architechture: `llama-diffusion-cli -m llada-8b.gguf -p "write code to train MNIST in pytorch" -ub 512 --diffusion-block-length 32 --diffusion-steps 256 --diffusion-visual` | ||
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.