268 points · by archb · 3y ago · 56 comments
Nice stuff all the same.
"pip install llamacpp" or https://github.com/thomasantony/llamacpp-python
[1] https://leanpub.com/langchain
EDIT: GitHub repo https://github.com/mark-watson/langchain-book-examples
However, the GPU version is only available commercially. I'd like to see someone compare the speed of the CPU version against PyTorch or llama.cpp. (Edit: llama.cpp's author wrote "I expect LibNC [used by ts_server] will be better in every aspect: performance, accuracy, determinism. But hopefully with time we will close the gap." [1])
EDIT: But if you wish, here's a Python interface to llama.cpp: https://github.com/PotatoSpudowski/fastLLaMa
I'm on mobile and can't find it right now though.
Eg: "Automatically detects local models in your HuggingFace cache, and lets you install new ones."
Llamma.cpp and HuggingFace models are all local.
Having fun right now trying to build a model in GDELT, not much luck so far, but I’ve pushed less than 5% of the data through so far.
I’ve also been experimenting on fine-tuning Llama on my personal data archives, which seems promising but it’s pretty expensive to do so. Hoping someone will release a ~13B param model of Llama that they’ve trained with transfer learning from the 65B llama model and other data. FWIW even the 7B llama model running through llama.cpp after being quantized performs (subjectively, but substantially) better than GPT2.
This has been one of my most expensive, but also most rewarding, hobbies thus far.
;-)
I added the playground to the GUI list here:
to https://github.com/underlines/awesome-marketing-datascience/...