jncraton / languagemodels

Explore large language models in 512MB of RAM
https://jncraton.github.io/languagemodels/
MIT License
1.18k stars 78 forks source link

How to choose model #34

Closed lavilao closed 4 months ago

lavilao commented 4 months ago

Hi, is there a way to choose the model is used? currently I only know how to change the models by changing the max ram but inside of config.py there are references to other models (am particulary interested on phi-1_5). Thanks for your work!

lavilao commented 4 months ago

Found it. lm.config['instruct_model'] = 'phi-1_5' does it