Commit 996431d
llama : add Falcon3 support (ggml-org#10883)
* Add Falcon3 model support
* Add fix for adding bos to added special tokens
* Add comment explaining the logic behind the if statement
* Add a log message to better track the when the following line of code is triggered
* Update log to only print when input and output characters are different
* Fix handling pre-normalized tokens
* Refactoring1 parent 59b4013 commit 996431d
File tree
3 files changed
+29
-1
lines changed- src
3 files changed
+29
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
532 | 540 | | |
533 | 541 | | |
534 | 542 | | |
| 543 | + | |
| 544 | + | |
535 | 545 | | |
536 | 546 | | |
537 | 547 | | |
| |||
575 | 585 | | |
576 | 586 | | |
577 | 587 | | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
578 | 591 | | |
579 | 592 | | |
580 | 593 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1677 | 1677 | | |
1678 | 1678 | | |
1679 | 1679 | | |
| 1680 | + | |
1680 | 1681 | | |
1681 | 1682 | | |
1682 | 1683 | | |
| |||
1709 | 1710 | | |
1710 | 1711 | | |
1711 | 1712 | | |
| 1713 | + | |
1712 | 1714 | | |
1713 | 1715 | | |
1714 | 1716 | | |
| |||
6566 | 6568 | | |
6567 | 6569 | | |
6568 | 6570 | | |
6569 | | - | |
| 6571 | + | |
| 6572 | + | |
6570 | 6573 | | |
6571 | 6574 | | |
6572 | 6575 | | |
| |||
22624 | 22627 | | |
22625 | 22628 | | |
22626 | 22629 | | |
| 22630 | + | |
| 22631 | + | |
22627 | 22632 | | |
22628 | 22633 | | |
22629 | 22634 | | |
| |||
22776 | 22781 | | |
22777 | 22782 | | |
22778 | 22783 | | |
| 22784 | + | |
| 22785 | + | |
| 22786 | + | |
| 22787 | + | |
| 22788 | + | |
| 22789 | + | |
| 22790 | + | |
| 22791 | + | |
| 22792 | + | |
22779 | 22793 | | |
22780 | 22794 | | |
22781 | 22795 | | |
| |||
0 commit comments