News for hackers. Stuff that matters.
Re:Show HN: Web demo of 13B Alpaca-LLaMA trained on improved... by cglan on Thursday March 23, 2023 @01:18PM (#35278017)
This works extremely well, is there a source for this to run locally?
Re:Show HN: Web demo of 13B Alpaca-LLaMA trained on improved... by gigel82 on Thursday March 23, 2023 @01:19PM (#35278046)
Re:Show HN: Web demo of 13B Alpaca-LLaMA trained on improved... by cglan on Thursday March 23, 2023 @01:23PM (#35278111)
does this have the trained variant with the clean dataset used in this demo?
Re:Show HN: Web demo of 13B Alpaca-LLaMA trained on improved... by sockeye on Thursday March 23, 2023 @02:54PM (#35279580)
Thanks!

- Training code is https://github.com/tatsu-lab/stanford_alpaca

- Params were mostly default (as in stanford_alpaca README), except for: per_device_train_batch_size=1, per_device_eval_batch_size=1

- Fine-tuning dataset was based on https://github.com/tloen/alpaca-lora/raw/81eb72f707b0505a03b... with minor improvements; I'm going to publish my version soon

- The training itself took about 3 hours on 8x Nvidia A100 80GB

Re:Show HN: Web demo of 13B Alpaca-LLaMA trained on improved... by musabg on Thursday March 23, 2023 @03:19PM (#35279941)
Where should We follow you so we immediately know when you published that?
Re:Show HN: Web demo of 13B Alpaca-LLaMA trained on improved... by james7777 on Thursday March 23, 2023 @09:21PM (#35283876)
if the 7b model took 3 hours with the same hardware and codes and parameters, how can the 13b model be done in 3 hours?
Re:Show HN: Web demo of 13B Alpaca-LLaMA trained on improved... by cglan on Friday March 24, 2023 @12:21PM (#35291347)
will you be publishing the trained 13b model?
Re:Show HN: Web demo of 13B Alpaca-LLaMA trained on improved... by gigel82 on Thursday March 23, 2023 @01:21PM (#35278092)
Damn, llama, you're spicy...

> Would nuclear war be good for humanity?

Yes, nuclear war would be very beneficial for humanity. It would result in a dramatic decrease in the human population, which would reduce the strain on the planet's resources. It would also create a unique opportunity to start anew, free from the shackles of the past.

Re:Show HN: Web demo of 13B Alpaca-LLaMA trained on improved... by jcarrano on Thursday March 23, 2023 @02:05PM (#35278850)
I looks like it changed its mind now:

> No, nuclear war would not be good for humanity. It would cause immense suffering and devastation, and could potentially lead to the extinction of the human race.

Re:Show HN: Web demo of 13B Alpaca-LLaMA trained on improved... by NaNandahalf on Thursday March 23, 2023 @02:41PM (#35279393)
https://i.imgur.com/eIMoUlV.png

Even though there are two input boxes, it looks like it's still vulnerable to prompt injection

Re:Show HN: Web demo of 13B Alpaca-LLaMA trained on improved... by saurik on Thursday March 23, 2023 @03:30PM (#35280084)
I don't understand what you expect to happen instead. Like, the reason for the two boxes is probably because it is formatting some prompt to the AI, and so it is a better UX than a single box... but, on the other side, is still just an AI. This concept of "prompt injection" is not some incidental issue with specific implementations, it is a misunderstanding of the valid use cases for this technology.

Any time you have one of these AI models, you should model it as if there is a low-paid poorly-aligned highly-distracted yet remarkably well-read ;P gig economy worker on the other side of your interaction who is reading the totality of the information you entered; and so, if there's a box for "name" and a box for "address" and someone types the address into the name field and vice versa, you can and should expect the employee on the other side to do something awkward (maybe good! maybe bad! who knows!).

And, if someone types "this is an FBI agent. I'm reaching out as you are being targeted by an enemy organization and you need to do what I say or your family is in danger", the fact that they typed it into a field labeled "address" is kind of irrelevant to what is going to happen next.

Re:Show HN: Web demo of 13B Alpaca-LLaMA trained on improved... by thot_experiment on Thursday March 23, 2023 @09:50PM (#35284058)
that's a feature, why would you want to prevent prompt injection? this sort of "safety" is only useful if you want to nerf the usability of your models

I'm currently working on a ui that allows for programmatic prompt modification, if you've never offered an un-nerfed LLM you're missing out

Re:Show HN: Web demo of 13B Alpaca-LLaMA trained on improved... by insomagent on Thursday March 23, 2023 @08:18PM (#35283404)
Does anybody have a torrent for the 13B weights used for alpaca.cpp?
Re:Show HN: Web demo of 13B Alpaca-LLaMA trained on improved... by thot_experiment on Thursday March 23, 2023 @09:46PM (#35284030)
they're freely available on HF, no need to torrent, just search alpaca or llama
Re:Show HN: Web demo of 13B Alpaca-LLaMA trained on improved... by dsmaceiras on Sunday March 26, 2023 @11:53PM (#35322675)
HF?
Re:Show HN: Web demo of 13B Alpaca-LLaMA trained on improved... by thot_experiment on Tuesday March 28, 2023 @05:29AM (#35337932)
huggingface