Skip to content
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

Support using GGUF chat template #388

Closed
wants to merge 11 commits into from
Closed

Conversation

EricLBuehler
Copy link
Owner

This references #386 and is the last step for #326.

  • Support discovering GGUF chat template
  • Support overriding chat template
  • Update docs
  • Testing

EricLBuehler and others added 8 commits June 4, 2024 20:12
* Move to gguf module

* Add content abstraction for multiple gguf files

* Fix test

* Allow specifying and loading multiple gguf files

* Update docs and examples

* Print some info
* Organize normal loading metadata

* Fix
* Patch incorrect unwrap

* Bump version to 0.1.15
* More verbose logging when loading

* More logging
* Refactor enabling debug logging

* Fix reversed order
@EricLBuehler EricLBuehler added the new feature New feature or request label Jun 5, 2024
Copy link

github-actions bot commented Jun 5, 2024

Code Metrics Report
  ===============================================================================
 Language            Files        Lines         Code     Comments       Blanks
===============================================================================
 Dockerfile              1           34           25            0            9
 Happy                   1          442          369            0           73
 JSON                    9           21           21            0            0
 Python                 24          864          731           25          108
 TOML                   15          403          365            1           37
-------------------------------------------------------------------------------
 Jupyter Notebooks       1            0            0            0            0
 |- Markdown             1           60           30           22            8
 |- Python               1           96           87            1            8
 (Total)                            156          117           23           16
-------------------------------------------------------------------------------
 Markdown               16         1057            0          783          274
 |- BASH                 6          203          190            0           13
 |- Python               6          121          110            0           11
 |- Rust                 3          185          172            9            4
 (Total)                           1566          472          792          302
-------------------------------------------------------------------------------
 Rust                   94        29650        26987          437         2226
 |- Markdown            48          475            0          462           13
 (Total)                          30125        26987          899         2239
===============================================================================
 Total                 162        32471        28498         1246         2727
===============================================================================
  

@EricLBuehler
Copy link
Owner Author

Will recreate.

@EricLBuehler EricLBuehler deleted the gguf_chat_template branch June 8, 2024 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant