Commit 7ae33a6
authored
llama : add Falcon3 support (#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 ebdee94 commit 7ae33a6
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 | |
|---|---|---|---|
| |||
1673 | 1673 | | |
1674 | 1674 | | |
1675 | 1675 | | |
| 1676 | + | |
1676 | 1677 | | |
1677 | 1678 | | |
1678 | 1679 | | |
| |||
1705 | 1706 | | |
1706 | 1707 | | |
1707 | 1708 | | |
| 1709 | + | |
1708 | 1710 | | |
1709 | 1711 | | |
1710 | 1712 | | |
| |||
6562 | 6564 | | |
6563 | 6565 | | |
6564 | 6566 | | |
6565 | | - | |
| 6567 | + | |
| 6568 | + | |
6566 | 6569 | | |
6567 | 6570 | | |
6568 | 6571 | | |
| |||
22615 | 22618 | | |
22616 | 22619 | | |
22617 | 22620 | | |
| 22621 | + | |
| 22622 | + | |
22618 | 22623 | | |
22619 | 22624 | | |
22620 | 22625 | | |
| |||
22767 | 22772 | | |
22768 | 22773 | | |
22769 | 22774 | | |
| 22775 | + | |
| 22776 | + | |
| 22777 | + | |
| 22778 | + | |
| 22779 | + | |
| 22780 | + | |
| 22781 | + | |
| 22782 | + | |
| 22783 | + | |
22770 | 22784 | | |
22771 | 22785 | | |
22772 | 22786 | | |
| |||
0 commit comments