Commit Graph

3 Commits (dccdfc7e4eb2bc2257cf685fb674f0af0bed3b22)

Author SHA1 Message Date
jiaxingli 6c0ff4820f
feat(model): support llama model with checkpoint loading (#532)
* support hf llama

* support hf llama

* support hf llama

* support hf llama

* importerror

* importerror

* modeling

* modeling
2023-12-11 16:25:24 +08:00
YWMditto 095ebfff9d
feat(tools): support dynamic ntk rope in transformers (#470)
* support dynamic ntk in transformers

* support dynamic ntk in transformers

* support dynamic ntk in transformers

* add rope doc

* add rotary config in configuration_internlm.py

---------

Co-authored-by: YWMditto <862779238@qq.com>
2023-11-06 23:15:06 +08:00
x54-729 b9c813a972
fix(tools): fix streaming_chat and update docs (#467)
* move hf model to tools/transformers/internlm_model

* fix stream_chat

* Add stream_chat example

* fix import

* Add __init__ to internlm_model

* Add hf link

* fix import of tools/tokenizer.py

* fix huggingface url in readme
2023-11-03 16:12:37 +08:00