by turblety · 3y ago · 0 comments
Please correct me if I'm wrong, but it seems like this is not actually an open-source model? As in, I can't download and run this on my own laptop?
> The cost of training Vicuna-13B is around $300. The training and serving code, along with an online demo, are publicly available for non-commercial use.
However, if this is true, it seems pretty cool if I can train a GPT4-like model for only $300. Is this as easy as cloning a repo and running it on an AWS GPU instance?
- Low memory footprint(thanks quantization)
- Fast inference(thanks io binding)
Particularly in case of alpaca I have seen a 5x decrease in latency on A100 and 10x on AMD EPYC. I believe this is the way for users to have an AI that could genereate a response as fast as it can on their hardware. I have also added a link to my profile on hf with small alpacas turned into ONNX format. Take a look into them.
Or is this work "transferable" to other LLMs, once they become available?
I found Debian's Machine Learning policy on that interesting, they require training data released under an open-source license (plus training code etc) before they consider a model actually open.
Not train, but fine-tune a model that Facebook spent millions of dollars training.
Even as an individual, it wouldn't cost you anywhere near a million if you only trained 13B and took advantage of volume pricing.
> The training was done with PyTorch FSDP on 8 A100 GPUs in one day.
> We employ SkyPilot managed spot to reduce the cost by leveraging the cheaper spot instances with auto-recovery for preemptions and auto zone switch. This solution slashes costs for training the 7B model from $500 to around $140 and the 13B model from around $1K to $300.
So, this is using for example a2-ultragpu-8g (8x A100-80GB) on GCP using spot instances. You can use SkyPilot to quickly see the price is $12.8 per hour (~$307 for a day):
» sky launch --gpus A100-80GB:8 --use-spot
Check out detailed CLI instructions and SkyPilot YAMLs here if you want to give it a try:
- https://github.com/lm-sys/FastChat#vicuna
- https://github.com/lm-sys/FastChat/blob/main/scripts/train-v...
I want host our own AI, have it injest our docs, and answer questions about them. What is the best tool today to do that?
They are working on exactly this, and it's even open source and self hosted I guess..
This project might be the best option where you can finetune an LLM on your data and keep the model yourself