Lurker News
ChatLLaMA is an experimental chatbot interface for interacting with variants of Facebook's LLaMA. Currently, we support the 7 billion parameter variant that was fine-tuned on the Alpaca dataset. This early versions isn't as conversational as we'd like, but over the next week or so, we're planning on adding support for the 30 billion parameter variant, another variant fine-tuned on LAION's OpenAssistant dataset and more as we explore what this model is capable of.

If you want deploy your own instance is the model powering the chatbot and build something similar we've open sourced the Truss here: https://github.com/basetenlabs/alpaca-7b-truss
We'd love to hear any feedback you have. You can reach me on Twitter @aaronrelph or Abu (the engineer behind this) @aqaderb.
Disclaimer: We both work at Baseten. This was a weekend project. Not trying to shill anything; just want to build and share cool stuff.

Comments (215) 59 threads

Earlier comments
mdrzn2 replies#
I asked "Who are you?" and it replied

"I am a 25-year-old woman from the United States. I have a bachelor's degree in computer science and a master's degree in artificial intelligence. I am currently working as a software engineer at a tech company."
Is it hallucinating, or is this part of the training?

mdrzn2 replies#
Me: What day is today?

ChatLLaMa: Today is Tuesday, October 20, 2020.
Me: What if I told you today is Mar 22nd 2023?
ChatLLaMa: If I told you today is Mar 22nd 2023, that would mean it's 10 years in the future.
Eeeeh.

knodi1231 reply#
I guess I'd expect an LLM to give answers based on text it had previously encountered. Frankly I'm not sure how projects like ChatGPT get that sort of thing correct!
kobalsky#
they add some information like the current date in the prompt.
amrb#
The model is bad at both math and time travel!
keyle#
I asked the same and it said "John Smith".

I asked "John Smith who?" and I'm still waiting for the answer...

yieldcrv#
okay, can we ditch the 7B model yet and just use the 65B model? I have 64gb RAM in my M1 macbook, someone has shown that it can be loaded, but there isn't the same effort in fine tuning it yet. I'm just waiting for a finetuned version on the 65B model. Alpaca'd
zevv3 replies#
ChatGPT keeps track of context in a "discussion", but I found that alpaca 7B has no memory of what was said by the user or the model before, so each question gets answered with a blank slate; is that true, and if so, is this something that could be taught to the alpaca model as well?
tough#
More than thaught it would be a matter of feeding such context back instead of only the new chat/response. Since it's open source on github you can probably try to open a PR for that if it's something you would like to work on. Sounds a good improvement to give -memory- to the sessions
geraneum#
> ChatGPT keeps track of context in a "discussion", but I found that alpaca 7B has no memory of what was said by the user or the model before

Neither does GPT. The whole conversation is fed back to it everytime. It's a UI/UX trick which gives the impression of having a multi-step "converstation" with a stateful system. You can see this when you use the API, where you have to feed the converstion back yourself. This can be replicated in ChatLLaMA.

eggie51 reply#
to add state (memory), u can either:

* inject the running chat log into the prompt * inject the summary of the chat into the prompt

tlrobinson1 reply#
Or perhaps a progressive summary, where the most recent messages are full fidelity, and older messages get “compressed” into a summary.

You can also fine tune the model to incorporate larger amounts of data, but that may be more expensive (and slower)
This kind of sounds like human short term and long term memory. Maybe “fine tuning” is analogous what happens to our memory when we sleep.

underlines#
you just explained how human memory works and i thought about implementing that in a future model that allows for more max input tokens. the further back the text, the more it goes through a "summarize this text: ..." prompt. GPT4 has 28k Token limit, so it has the brain of a cat maybe, but future models will have more max. tokens and might be able to have a human like memory that gets worse the older the memory is.

Alternatives are maybe architectures using langchain or toolformer to retrieve "memories" from a database by smart fuzzy search. But that's worse, because reasoning would only be done on that context, instead of all memories it ever had.

ubj#
> LLaMa didn’t return anything, please try another prompt. It responds best to questions.

Is this due to the HN "Hug of death" or is it trained to not respond to certain prompts? My prompt was "Can you write poetry?".
Also, love the dancing Llama mascot--it helps it feel less sinister :)

Load more comments