-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Paddle Inference]support miniGPT4's second part dy2st (#6905)
* support miniGPT4 * remove some useless code * move some function to modeling.py commit * 1->self.config.bos_token_id * remove useless comment * huifu * move prepare_input_ids_for_generation to modeling * LlamaForMiniGPT4InferenceModel * use model_type
- Loading branch information
1 parent
579d1f9
commit 294df07
Showing
3 changed files
with
184 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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 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 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