Skip to content

VatsaDev/Samplers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Samplers

Implementing sampling methods and features from HF-transformers/llama.cpp/kobold/etc into Nano-GPT

Implemented:

  • Top K -> Being able to pick the top K tokens, Set k=1 for greedy, otherwise its multinomial
  • Top P -> Unuseable, need to fix the summation

About

Implementing sampling methods and features from HF transformers/llama.cpp/kobold/etc into Nano-GPT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors