-
Notifications
You must be signed in to change notification settings - Fork 330
Add Deepseek 3.1 & Deepseek 3.1 base #2607
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
Open
cheachu
wants to merge
10
commits into
keras-team:master
Choose a base branch
from
cheachu:deepseek-v3.1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
c6145ae
Inital commit
cheachu 2e811ac
added test files
cheachu 88ce7a8
Merge branch 'keras-team:master' into deepseek-v3.1
cheachu 21a02f2
chnaged naming convension and made sure it aligns with the contributi…
cheachu 38348b2
Ruff fixes and added a fix for the tokenizer to handle sentencePiece…
cheachu 2e1b4d8
some more ruff fixes
cheachu 0ece165
Ruff patch
cheachu d04d045
Fixed the empty test case and dytpe issues and made sure all the ruf…
cheachu 2b65b93
generate DeepSeek V3.1 public API files
cheachu 102a080
added the import at the top
cheachu 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| """DeepSeek V3.1 model exports.""" | ||
|
|
||
| from keras_hub.src.models.deepseek_v31.deepseek_v31_backbone import ( | ||
| DeepSeekV31Backbone, | ||
| ) | ||
| from keras_hub.src.models.deepseek_v31.deepseek_v31_causal_lm import ( | ||
| DeepSeekV31CausalLM, # noqa: F401 | ||
| ) | ||
| from keras_hub.src.models.deepseek_v31.deepseek_v31_causal_lm_preprocessor import ( # noqa: E501 | ||
| DeepSeekV31CausalLMPreprocessor, | ||
| ) | ||
| from keras_hub.src.models.deepseek_v31.deepseek_v31_presets import ( | ||
| backbone_presets, | ||
| ) | ||
| from keras_hub.src.models.deepseek_v31.deepseek_v31_presets import ( | ||
| preprocessor_presets, | ||
| ) | ||
| from keras_hub.src.models.deepseek_v31.deepseek_v31_presets import ( | ||
| tokenizer_presets, | ||
| ) | ||
| from keras_hub.src.models.deepseek_v31.deepseek_v31_tokenizer import ( | ||
| DeepSeekV31Tokenizer, | ||
| ) | ||
| from keras_hub.src.utils.preset_utils import register_presets | ||
|
|
||
| register_presets(backbone_presets, DeepSeekV31Backbone) | ||
| register_presets(tokenizer_presets, DeepSeekV31Tokenizer) | ||
| register_presets(preprocessor_presets, DeepSeekV31CausalLMPreprocessor) | ||
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.