name
string
body
string
score
int64
controversiality
int64
created
timestamp[us]
author
string
collapsed
bool
edited
timestamp[us]
gilded
int64
id
string
locked
bool
permalink
string
stickied
bool
ups
int64
t1_jhbq1xa
Gotcha, thanks for the helpful response! I only have a 1660ti so I'm probably not the guy to convert this model lol, but this info does clear up a lot of confusion I've had when encountering weights on HF 👍
1
0
2023-04-22T22:38:08
BootEven8409
false
null
0
jhbq1xa
false
/r/LocalLLaMA/comments/12vkfcz/openassistant_just_put_their_30b_model_back_on_hf/jhbq1xa/
false
1
t1_jhbph8f
Yes -- you need to not only run a conversion script but you must also have the original llama weights in the original format first since these are xor weights which require the original weights to create a usable end product (sorry, I can't explain the technical details, I just know the requirements and end result!). ...
6
0
2023-04-22T22:33:27
spanielrassler
false
null
0
jhbph8f
false
/r/LocalLLaMA/comments/12vkfcz/openassistant_just_put_their_30b_model_back_on_hf/jhbph8f/
false
6
t1_jhbpeli
If you look at the models, they seem to be pretty much specialized in programming, which is something that you can train any model to do, provided you can train them. " The data consists of 119.2B tokens and includes C, C++, Go, Java, JavaScript, and Python. " Not sure if any other model would have as much trai...
1
0
2023-04-22T22:32:51
ChobPT
false
null
0
jhbpeli
false
/r/LocalLLaMA/comments/12v7ypv/llm_specialized_in_programming/jhbpeli/
false
1
t1_jhbp6us
can it fit in 4 Gb ram ?
1
0
2023-04-22T22:31:05
Killerx7c
false
null
0
jhbp6us
false
/r/LocalLLaMA/comments/12svfp4/whats_your_favorite_recent_llama_variant/jhbp6us/
false
1
t1_jhbozzt
How are you getting 18 tokens/sec on a 3060? I'm running Alpaca 13b 4bit on a 3080 and getting 6 tokens/sec
6
0
2023-04-22T22:29:32
iwaswrongonce
false
null
0
jhbozzt
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhbozzt/
false
6
t1_jhbovwm
Could you run the gpt-x alpaca 13b native in 8-bit (i.e., using the original version)? I'm curious if the perplexity is a lot better than the 4-bit version. I've seen people either love or hate this model and I wonder if its because the 4-bit is significantly worse. I've only used the original in 8-bit and think its pr...
2
0
2023-04-22T22:28:36
jd_3d
false
null
0
jhbovwm
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jhbovwm/
false
2
t1_jhbo7t6
Sorry I'm new to working with these llama models, and I have a quick relevant question: am I correct that whenever I see a model split up into multiple pytorch files like this on hugging face, I would need to run a conversion script from the llama.cpp GitHub to convert it for use with llamacpp? Edit: cus I've seen thi...
4
0
2023-04-22T22:23:08
BootEven8409
false
null
0
jhbo7t6
false
/r/LocalLLaMA/comments/12vkfcz/openassistant_just_put_their_30b_model_back_on_hf/jhbo7t6/
false
4
t1_jhbkkrx
Are you using a CPU or GPU? I thought you were using your CPU. But now you are talking about VRAM which is your GPU.
1
0
2023-04-22T21:54:30
fallingdowndizzyvr
false
null
0
jhbkkrx
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhbkkrx/
false
1
t1_jhbkf2f
BTW, this is a different model than [the one put out by Black Engineer](https://huggingface.co/Black-Engineer/oasst-llama30b-ggml-q4) a little while ago and possibly higher quality (since it's coming directly from the source and they prob have more resources to dedicate). No disrespect to Black Engineer or anything of ...
9
0
2023-04-22T21:53:21
spanielrassler
false
null
0
jhbkf2f
false
/r/LocalLLaMA/comments/12vkfcz/openassistant_just_put_their_30b_model_back_on_hf/jhbkf2f/
false
9
t1_jhbk560
Ah yeah I think I do have swap enabled then. It's possible I have finder or something small running in the background but again my goal is to run something more powerful than the smallest version of llama, ideally a 20B or 30B model. For something like that, would 16GB VRAM be enough?
1
0
2023-04-22T21:51:21
rwaterbender
false
null
0
jhbk560
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhbk560/
false
1
t1_jhbjncm
8GB is tight. That's how much I allocate to my VM to run a 7B model so it should fit, but that VM is doing nothing but running the model. Are you running anything else on your Mac? Even a browser? You're using a 4 bit model right? Swapping is when you don't have enough RAM and it has to swap memory pages to disk. That...
1
0
2023-04-22T21:47:38
fallingdowndizzyvr
false
null
0
jhbjncm
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhbjncm/
false
1
t1_jhbjloc
One of these days if I find the time I’d like to dig into the mechanics a little. It’s so interesting
1
0
2023-04-22T21:47:17
0mz
false
null
0
jhbjloc
false
/r/LocalLLaMA/comments/12o1nrl/why_are_llms_read_only/jhbjloc/
false
1
t1_jhbhog1
8GB, i5, not sure what swapping is. Honestly though I am not really trying to run llama, I want to run some of the other models like codegen which idk how they match up b/c I don't think they are quantized. The goal is to do fine-tuning but I am pretty sure that is not viable on my machine
1
0
2023-04-22T21:32:56
rwaterbender
false
null
0
jhbhog1
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhbhog1/
false
1
t1_jhbgxc9
How much memory do you have? Are you swapping? Try llama.cpp. I get around 3-4 tokens/second under a VM on my modest 2019 era laptop i5. It's like watching someone type.
1
0
2023-04-22T21:27:27
fallingdowndizzyvr
false
null
0
jhbgxc9
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhbgxc9/
false
1
t1_jhbgjhv
I was running alpaca.cpp using the 4bit quantized version and it was really, really slow. Would also hang at times. TBF I am the kind of person who has 60 chrome tabs open but even closing them it didn't really help
1
0
2023-04-22T21:24:43
rwaterbender
false
null
0
jhbgjhv
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhbgjhv/
false
1
t1_jhbgdhq
Yes I bunchmark them. I develop algorithms for both CPU and GPU clusters and yes for the right problems, it can literally do 10k floating point operations in one clock cycle, at single precision. For a CPU even if you go down to half precision and write custom instructions to take advantage of that, 16 operations is...
4
0
2023-04-22T21:23:32
Faintly_glowing_fish
false
null
0
jhbgdhq
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhbgdhq/
false
4
t1_jhbf5qx
So with these fine tunes, they're just rescrambling the models, adding some stuff and hoping good stuff doesn't disappear? Just throwing dice?
1
0
2023-04-22T21:14:47
mulletarian
false
2023-04-22T21:56:42
0
jhbf5qx
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jhbf5qx/
false
1
t1_jhbf4x6
You should easily be able to run a 6B model on a 2020 Intel Mac. What are you doing? I run 7B models in a virtual machine on this 2019 Intel laptop i'm typing on. It won't break speed records but it's more than acceptable. It outputs words faster than I'm typing them right now. I type pretty fast.
1
0
2023-04-22T21:14:36
fallingdowndizzyvr
false
null
0
jhbf4x6
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhbf4x6/
false
1
t1_jhbekyz
> For pure math (models) 64 CPU cores is actually slower. It will however much faster as a web server which is what it is for. At 64 core threadripper has 64 cores. An 3090 has more than 10k cores. It's a false equivalency to imply that a CPU core is the same as a streaming core. They aren't the same. A 3090 is not 10...
2
0
2023-04-22T21:10:17
fallingdowndizzyvr
false
null
0
jhbekyz
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhbekyz/
false
2
t1_jhbe57k
Oh yes. That is hilarious and you can see the progressive downward spiral of question quality lol
2
0
2023-04-22T21:06:55
Faintly_glowing_fish
false
null
0
jhbe57k
false
/r/LocalLLaMA/comments/12v9ici/weird_output_at_the_end_of_response_from_local/jhbe57k/
false
2
t1_jhbe0qw
Using the ###Human: prompt format for vicuna helps a ton, thank you!
3
0
2023-04-22T21:06:03
KerbalCrashTestDummy
false
null
0
jhbe0qw
false
/r/LocalLLaMA/comments/12v9ici/weird_output_at_the_end_of_response_from_local/jhbe0qw/
false
3
t1_jhbdwf5
I just tried adding some example exchanges, and that does help. Also needed to add the custom stop strings, or it starts asking its own questions. Thank you!
2
0
2023-04-22T21:05:14
KerbalCrashTestDummy
false
null
0
jhbdwf5
false
/r/LocalLLaMA/comments/12v9ici/weird_output_at_the_end_of_response_from_local/jhbdwf5/
false
2
t1_jhbd1yx
There are a few such subreddits that I've found: /r/localai r/LocalLLM r/LocalGPT r/Oobabooga I'm sure there are more.
2
0
2023-04-22T20:59:09
Smallpaul
false
null
0
jhbd1yx
false
/r/LocalLLaMA/comments/12t1zze/spreadsheet_describing_the_entire_llm_universe/jhbd1yx/
false
2
t1_jhbbtac
RunPod is also very cheap
1
0
2023-04-22T20:50:48
Luis15pt
false
null
0
jhbbtac
false
/r/LocalLLaMA/comments/1281nk5/best_online_cloud_gpu_provider_for_32gb_vram_to/jhbbtac/
false
1
t1_jhbaiju
Well, at a given level of neural network efficiency (basically the current state of the technology), you can't get something for nothing. You can improve accuracy, but you will lose creativity. You can improve the "human-ness" of the responses, but it will start to lose "facts". You can retune for both, but the comp...
1
0
2023-04-22T20:41:44
candre23
false
null
0
jhbaiju
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jhbaiju/
false
1
t1_jhbai2g
Yup. I've seen papers that just by deduplicating datasets you can have same training result 2x faster and cheaper. Lots of low-hanging fruits.
1
0
2023-04-22T20:41:38
BalorNG
false
null
0
jhbai2g
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jhbai2g/
false
1
t1_jhbafa1
For pure math (models) 64 CPU cores is actually slower. It will however much faster as a web server which is what it is for. At 64 core threadripper has 64 cores. An 3090 has more than 10k cores. Even if you count SIMD operations (which is very limited coz it only has 16 registers that can do 128bit wide) it can d...
2
0
2023-04-22T20:41:03
Faintly_glowing_fish
false
null
0
jhbafa1
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhbafa1/
false
2
t1_jhba92h
Man, the optimization possibilities must be huge
1
0
2023-04-22T20:39:45
mulletarian
false
null
0
jhba92h
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jhba92h/
false
1
t1_jhb9d06
Both died early, I’d say he emulated that key bit pretty accurately
1
0
2023-04-22T20:33:11
SRSchiavone
false
null
0
jhb9d06
false
/r/LocalLLaMA/comments/12uxeu4/was_messing_around_with_a_jfkbot_i_made_and_hes_a/jhb9d06/
false
1
t1_jhb9cxk
I believe "koboldcpp" is the CPU-only version. I'm using the 0cc4m branch, running on my 12gb 3060. Results are certainly not instantaneous, but are fast enough that it's not annoying. About 8t/s.
2
0
2023-04-22T20:33:10
candre23
false
null
0
jhb9cxk
false
/r/LocalLLaMA/comments/12u9f2u/adding_longterm_memory_to_custom_llms_lets_tame/jhb9cxk/
false
2
t1_jhb9c9o
We have no way of knowing which of those weights do what, even. At least not without putting a team of highly trained machine learning experts to work... And yea, there is a lot of junk to be sure. Dataset pruning is a hard work! They span terabytes!
2
0
2023-04-22T20:33:02
BalorNG
false
null
0
jhb9c9o
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jhb9c9o/
false
2
t1_jhb8ubf
And we have no way of choosing what to forget? Must be a lot of useless information in there.
1
0
2023-04-22T20:29:12
mulletarian
false
null
0
jhb8ubf
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jhb8ubf/
false
1
t1_jhb8eox
Related question: I have an intel mac, 2020. It can barely run even like llama 6b. I want to be able to run 16gb models, maybe even 30...would an RTX3080Ti (16gb vram) be enough for either of these? W i9 processors
1
0
2023-04-22T20:26:01
rwaterbender
false
null
0
jhb8eox
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhb8eox/
false
1
t1_jhb88c9
Is it slower? That should be about 15 times faster than a 4 core CPU which would make it faster than consumer level GPUs. Also, don't forget you can have a lot of RAM in a machine like that, for example 128GB. Much more than you can short of high end professional "GPU" cards like the A100 and H100. Those would cost yo...
1
0
2023-04-22T20:24:43
fallingdowndizzyvr
false
null
0
jhb88c9
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhb88c9/
false
1
t1_jhb6o7w
Obviously. Google "catastrophic forgetting".
1
0
2023-04-22T20:14:00
BalorNG
false
null
0
jhb6o7w
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jhb6o7w/
false
1
t1_jhb5kn0
I think you there is a lot of fruitful research that can be done with extracting useful information out of these models before fine tuning, LHRF, or the addition of prompt adapters. Please lead the way. Its like we found an alien artifact. Do your good work
2
0
2023-04-22T20:06:32
robot_bones
false
null
0
jhb5kn0
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jhb5kn0/
false
2
t1_jhb4mqe
Right but that is at the same time more expensive and slower than a GPU for this particular task.
2
0
2023-04-22T19:59:56
Faintly_glowing_fish
false
null
0
jhb4mqe
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhb4mqe/
false
2
t1_jhb3tuy
Depending what you want, you can run models via the GPU and have the system off load everything that doesn't fit into RAM. It does slow things down, but allows higher trained models to run. Most UIs are equipped to allow multiple GPUs, but you would have to check it's documentation to make sure. And I've only seen Nvi...
1
0
2023-04-22T19:54:27
redfoxkiller
false
null
0
jhb3tuy
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhb3tuy/
false
1
t1_jhb2qml
As I said, llama.cpp.
2
0
2023-04-22T19:47:14
fallingdowndizzyvr
false
null
0
jhb2qml
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhb2qml/
false
2
t1_jhb2mny
What are you running that’s getting 3-4 tokens per second on a CPU? I have tried multiple options and never gotten that good of results. Finally decided that local LLM was out of my hardware’s league.
1
0
2023-04-22T19:46:28
PacmanIncarnate
false
null
0
jhb2mny
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhb2mny/
false
1
t1_jhb1ohw
> Newer CPUs are not faster in general. In fact CPUs have hardly gotten any faster in the past 15 years. You gain little speed up unless you just get a larger number of them. But buying 3 CPUs is both more expensive and at the same time slower than a GPU so that isn’t exactly wise. That's exactly how newer CPUs have g...
4
0
2023-04-22T19:39:59
fallingdowndizzyvr
false
null
0
jhb1ohw
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhb1ohw/
false
4
t1_jhb13bc
> My current CPU is very old and takes 3 seconds to generate a single token on the 13B model I get 3-4 tokens a second on my laptop and Steam Deck for a 13B model. To me, that's fast enough. It's like watching a good typist. So I've decided to go with CPU over GPU since I can get 64GB of RAM cheaply and thus run big m...
1
0
2023-04-22T19:36:00
fallingdowndizzyvr
false
null
0
jhb13bc
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhb13bc/
false
1
t1_jhb0i60
> My Ryzen 5 3600: LLaMA 13b: 1 token per second What are you running? Is that PyTorch using only the CPU? Even on my little Steam Deck llama.cpp gets 3-4 tokens per second.
3
0
2023-04-22T19:31:52
fallingdowndizzyvr
false
null
0
jhb0i60
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhb0i60/
false
3
t1_jhaz3qg
Did you include example exchanges in the prompt? As far as I see these are very unstable without those. And more is better.
2
0
2023-04-22T19:22:06
Faintly_glowing_fish
false
null
0
jhaz3qg
false
/r/LocalLLaMA/comments/12v9ici/weird_output_at_the_end_of_response_from_local/jhaz3qg/
false
2
t1_jhayfud
Thanks for your input! Yeah, it's really, like, it doesn't get better than the RTX 3090 from what I can tell. If you want more vram than that, theres a huge jump to professinal server hardware that goes into parallelism anyway, apparently. Anyway I am very aware of the "well, it's still not enough" thing, and I am get...
5
0
2023-04-22T19:17:24
involviert
false
null
0
jhayfud
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhayfud/
false
5
t1_jhaxzri
GPU is more cost effective than CPU usually if you aim for the same performance. But if you don’t care about speed and just care about being able to do the thing then CPUs cheaper because there’s no viable GPU below a certain compute power. Newer CPUs are not faster in general. In fact CPUs have hardly gotten any ...
3
0
2023-04-22T19:14:11
Faintly_glowing_fish
false
null
0
jhaxzri
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhaxzri/
false
3
t1_jhawkh5
Check the wiki for VRAM sizes and make sure and check 4bit requirements. Technically, with a 3090+ you will be able to run 30b models in 4bit (~18GB) which wouldn’t fit in a 12GB card. Is that important? I don’t know, thats up to you. =] I often just run 13b in 4bit, but I bought a 4090 so that I could scale if I wan...
3
0
2023-04-22T19:03:46
disarmyouwitha
false
null
0
jhawkh5
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhawkh5/
false
3
t1_jhau3r4
Yes, a 13b model in 4bit will fit on a 12GB card, the models and VRAM requirements are on the wiki of this sub if anyone needs ^^
2
0
2023-04-22T18:45:25
disarmyouwitha
false
null
0
jhau3r4
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhau3r4/
false
2
t1_jhatjp4
If you want to get any good speeds with a bigger model I think you will want a GPU.. If you want to run a 30b model (in 4bits) you would need 20gb VRAM so like a 3090/4090 But you might find that you are happy with a 13b model (in 4 bits) on a GPU with 12GB VRAM. TBH I often run Koala/Vicuña 13b in 4bit because it ...
2
0
2023-04-22T18:41:20
disarmyouwitha
false
2023-04-23T06:04:12
0
jhatjp4
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhatjp4/
false
2
t1_jhaspo8
Part of the problem is that the models are very sloppy on the prompting, because they're all being trained differently. For example, with Vicuna 1.0 I had the best luck with this prompt format: ### Human: What is 2+2? ### Assistant: On Vicuna 1.1 using GPTQ Triton, it seems to be less finicky. GPT4-x-alpaca w...
3
0
2023-04-22T18:35:23
synn89
false
null
0
jhaspo8
false
/r/LocalLLaMA/comments/12v9ici/weird_output_at_the_end_of_response_from_local/jhaspo8/
false
3
t1_jhapm1y
Do these only work with GPT-J or can you use them with Llama models?
1
0
2023-04-22T18:12:59
disarmyouwitha
false
null
0
jhapm1y
false
/r/LocalLLaMA/comments/12v7ypv/llm_specialized_in_programming/jhapm1y/
false
1
t1_jhap3mq
Where do you think the current sweet spot is? I am willing to shell out like 2K to be generally well positioned in the home-ai space. But I wonder, if I get an RTX 3090 with 24 gb vram (iiirc) there might be a lot of potential for being able to do exactly zero more than with 12 gb. also llama.cpp just automatically ru...
3
0
2023-04-22T18:09:16
involviert
false
null
0
jhap3mq
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhap3mq/
false
3
t1_jhamq0j
Hey Bing, please explain what model one would use to simulate, like, a virtual persona, based on that data right there. Bro.
2
0
2023-04-22T17:52:23
involviert
false
null
0
jhamq0j
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jhamq0j/
false
2
t1_jhaln8q
[deleted]
1
0
2023-04-22T17:44:44
[deleted]
true
null
0
jhaln8q
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jhaln8q/
false
1
t1_jhalard
[removed]
1
0
2023-04-22T17:42:12
[deleted]
true
null
0
jhalard
false
/r/LocalLLaMA/comments/12vdb41/fitting_a_65b_shoggoth_on_your_puny_laptop_ram_be/jhalard/
false
1
t1_jhahomv
If he wants to run on gpu he needs 24gb vram, end of story. 3090/4090, that’s it. Technically could get a p40, but support will probably get dropped much sooner.
3
0
2023-04-22T17:16:47
dealingwitholddata
false
null
0
jhahomv
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhahomv/
false
3
t1_jhah2ua
Ah I see that makes sense. I don't know about you but after a few texts, the model just starts role-playing talking to me on its own in its own texts, so it just write my input and then replies to it on its own.
1
0
2023-04-22T17:12:34
rancorger
false
null
0
jhah2ua
false
/r/LocalLLaMA/comments/12svfp4/whats_your_favorite_recent_llama_variant/jhah2ua/
false
1
t1_jhag9f2
I would get whatever can run a 30b aka 33b models. 24gb of vram (still just barely fitting it in) or a cpu and 32gb ram (or 64 why not) and live with whatever speed you get. I can't understand people accepting a crappier model just because it's fast. What? No.
7
0
2023-04-22T17:06:53
ambient_temp_xeno
false
null
0
jhag9f2
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhag9f2/
false
7
t1_jhag8rf
https://github.com/oobabooga/text-generation-webui/
2
0
2023-04-22T17:06:46
rerri
false
null
0
jhag8rf
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jhag8rf/
false
2
t1_jhafr8k
I'm using ggml-vicuna-13b-1.1-q4_1.bin with "KoboldAI Lite Embedded" (koboldcpp.exe). https://huggingface.co/eachadea/ggml-vicuna-13b-1.1/tree/main Slow but excellent output. Is the KoboldAI version you're using different (GPU specific?)
2
0
2023-04-22T17:03:15
randomqhacker
false
null
0
jhafr8k
false
/r/LocalLLaMA/comments/12u9f2u/adding_longterm_memory_to_custom_llms_lets_tame/jhafr8k/
false
2
t1_jhafh9z
Link to the GitHub?
1
0
2023-04-22T17:01:13
_rundown_
false
null
0
jhafh9z
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jhafh9z/
false
1
t1_jhadvo9
Also, I think you can probably find the VRAM necessary for a model somewhere on Google or reddit. I think I use 10~11Go for 13B models like vicuna or gptxalpaca. Also, Bonus features of GPU: Stable diffusion, LLM Lora training.
3
0
2023-04-22T16:50:04
knoodrake
false
null
0
jhadvo9
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhadvo9/
false
3
t1_jhadn50
My Ryzen 5 3600: LLaMA 13b: 1 token per second My RTX 3060: LLaMA 13b 4bit: 18 tokens per second So far with the 3060's 12GB I can train a LoRA for the 7b 4-bit only. Not sure if the results are any good, but I don't even wanna think about trying it with CPU. I don't wanna cook my CPU for weeks or months on tra...
8
0
2023-04-22T16:48:28
phree_radical
false
2023-04-22T16:51:50
0
jhadn50
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhadn50/
false
8
t1_jhadcrm
I think 4bit and even 8bit perhaps will start showing limitations at some parameter sizes, and dimensions, plainly, because the prediction will not find enough precision to make a coherent response. i also spec’d a “what will it take’ scenario to run bigger models and they are all north of $10k, which for hobbyist/entr...
2
0
2023-04-22T16:46:30
VertigoOne1
false
null
0
jhadcrm
false
/r/LocalLLaMA/comments/12u6edu/trends_in_computational_power_requirements_for/jhadcrm/
false
2
t1_jhadboe
Well, I am definitely in tokens per seconds, not seconds per token with an RTX GPU. Sometimes stuff can be somewhat difficult to make work with gpu (cuda version, torch version, and so on and so on), or it can sometimes be extremely easy (like the 1click oogabooga thing). Anyways, GPU without any questions. The only ...
4
0
2023-04-22T16:46:17
knoodrake
false
null
0
jhadboe
false
/r/LocalLLaMA/comments/12v9jji/upgrading_pc_for_llama_cpu_vs_gpu/jhadboe/
false
4
t1_jhacfwr
See fauxpilot - https://github.com/fauxpilot/fauxpilot Use fauxpilot plugin for VSCode with a fauxpilot server. Salesforce-Codegen models- https://huggingface.co/models?search=salesforce+codegen CPU-based fauxpilot, Turbopilot- https://github.com/ravenscroftj/turbopilot (also based on salesforce-codegen & they have ...
4
0
2023-04-22T16:40:04
spirilis
false
null
0
jhacfwr
false
/r/LocalLLaMA/comments/12v7ypv/llm_specialized_in_programming/jhacfwr/
false
4
t1_jhabzly
For lm-eval, I think you'd either need to take GPTQ's inference script and shim it into a model: [https://github.com/EleutherAI/lm-evaluation-harness/tree/master/lm\_eval/models](https://github.com/EleutherAI/lm-evaluation-harness/tree/master/lm_eval/models) or you might be able to use a project like [https://github.co...
3
0
2023-04-22T16:36:52
randomfoo2
false
null
0
jhabzly
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jhabzly/
false
3
t1_jhaa57z
There was this - [I trained llama7b on Unreal Engine 5’s documentation](https://old.reddit.com/r/LocalLLaMA/comments/12gj0l0/i_trained_llama7b_on_unreal_engine_5s/) Are you looking for a particular programming language? There should be at least one or two models on huggingface aimed more towards software development.
2
0
2023-04-22T16:23:50
AzerbaijanNyan
false
null
0
jhaa57z
false
/r/LocalLLaMA/comments/12v7ypv/llm_specialized_in_programming/jhaa57z/
false
2
t1_jha975o
Taking almost anything down past 4bit makes it dumb as hell. I would argue that 4bit does the same but it's still workable to a point.
1
0
2023-04-22T16:16:55
redfoxkiller
false
null
0
jha975o
false
/r/LocalLLaMA/comments/12u6edu/trends_in_computational_power_requirements_for/jha975o/
false
1
t1_jha5306
Fine tuning will come with its own challenges but is probably your best bet. You'll have to generate question/answer sets unless you want it to just generate documentation in the style of your other documentation (if I'm understanding the situation correctly)
1
0
2023-04-22T15:47:15
LetMeGuessYourAlts
false
null
0
jha5306
false
/r/LocalLLaMA/comments/12v642q/how_do_make_llm_models_for_example_koala_search/jha5306/
false
1
t1_jha4u0a
There are some real tricky situations here, unless all of your documents are prevetted, absolutely correct and at the same time complete for the subject they are referring to. The model has no knowledge of recent events so if you tell it something changes it is just gonna trust it 100%. For example you ask it what...
1
0
2023-04-22T15:45:27
Faintly_glowing_fish
false
null
0
jha4u0a
false
/r/LocalLLaMA/comments/12v642q/how_do_make_llm_models_for_example_koala_search/jha4u0a/
false
1
t1_jha4q6s
I really try to avoid these to be honest as finetuning might work better than this
1
0
2023-04-22T15:44:41
teraktor2003
false
null
0
jha4q6s
false
/r/LocalLLaMA/comments/12v642q/how_do_make_llm_models_for_example_koala_search/jha4q6s/
false
1
t1_jha3jyx
Does Langchain first check the doc and then the general knowledge of LLM? As far as I understand, you can pass docs to Langchain to query from that specific doc. Any gitHub or other resources is appreciated.
1
0
2023-04-22T15:36:21
teraktor2003
false
null
0
jha3jyx
false
/r/LocalLLaMA/comments/12v642q/how_do_make_llm_models_for_example_koala_search/jha3jyx/
false
1
t1_jh9z7wd
Langchain. You can solve this problem with just a few lines of code.
4
0
2023-04-22T15:05:15
ZestyData
false
null
0
jh9z7wd
false
/r/LocalLLaMA/comments/12v642q/how_do_make_llm_models_for_example_koala_search/jh9z7wd/
false
4
t1_jh9y6l0
Vicuna 13B will work the best right now. Pure LLaMa 30B/65B is probably going to do better in the long run with better prompting
4
0
2023-04-22T14:57:29
Dany0
false
null
0
jh9y6l0
false
/r/LocalLLaMA/comments/12una2g/agentllm_is_working_autogpt_with_llamacpp_and/jh9y6l0/
false
4
t1_jh9y5nt
CPP is going to have a different quantization too but I assume they should be in the same ballpark at least.
1
0
2023-04-22T14:57:18
a_beautiful_rhind
false
null
0
jh9y5nt
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jh9y5nt/
false
1
t1_jh9xknw
Josh-XT did a great job with Agent-LLM! I looked through his code and there is a lot to like. Ran the agent, it unfortunately fails miserably with Vicuna right now. I suspect Vicuna's habit of returning the prompt alongside its answer might have to do with it.
3
0
2023-04-22T14:52:58
nbuster
false
null
0
jh9xknw
false
/r/LocalLLaMA/comments/12u9f2u/adding_longterm_memory_to_custom_llms_lets_tame/jh9xknw/
false
3
t1_jh9x5e3
The llama.cpp perplexity scores for 7B were context 512 yeah. But now you mention it, I'm not certain what the Vicuna 13B figure was. It might have been 2048. Good point. I'll run my own tests and see what I come back with.
5
0
2023-04-22T14:49:48
The-Bloke
false
null
0
jh9x5e3
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jh9x5e3/
false
5
t1_jh9wz9z
> Also a score of 7 for Llama 7B I used 512 context, did you use full context? I think we would have to compare like context to like.
2
0
2023-04-22T14:48:32
a_beautiful_rhind
false
null
0
jh9wz9z
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jh9wz9z/
false
2
t1_jh9wq5n
Some of those perplexity scores are surprisingly high and not matching what I'm familiar with. For example on Vicuna 13B v1.1 4bit 128g, I've seen a score around 7.11 for wikitext. Source: [https://huggingface.co/TheBloke/vicuna-13B-1.1-GPTQ-4bit-128g/discussions/4#644041ea7841867cd5b4dce6](https://huggingface.co/TheBl...
11
0
2023-04-22T14:46:37
The-Bloke
false
null
0
jh9wq5n
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jh9wq5n/
false
11
t1_jh9w0ci
We need a model who select a finetuned model depending of the context. A model trained on stories, an other one for chat, an other one for wiki... When it detect a chat format, it switch to the best model, if the prompter ask for code, it switch for the code finetuned one...
5
0
2023-04-22T14:41:07
3deal
false
null
0
jh9w0ci
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jh9w0ci/
false
5
t1_jh9vo3m
You need to somehow get the pertinent sections of data into the prompt to be able to query that data if fine-tuning is not an option. You could iterate through all the data with the LLM to find that pertinent data (slow) or you could use a more traditional text search to find it much faster but potentially with less ac...
4
0
2023-04-22T14:38:34
LetMeGuessYourAlts
false
null
0
jh9vo3m
false
/r/LocalLLaMA/comments/12v642q/how_do_make_llm_models_for_example_koala_search/jh9vo3m/
false
4
t1_jh9s6ge
Is there a zero sum mechanism going on here, if you add something then something must be taken away as well?
4
0
2023-04-22T14:11:26
mulletarian
false
null
0
jh9s6ge
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jh9s6ge/
false
4
t1_jh9rcx0
Hey just found this sub, does this allow someone to run autogpt but instead of querying the gpt api they can use llama as a core locally?
2
0
2023-04-22T14:04:50
lawless_c
false
null
0
jh9rcx0
false
/r/LocalLLaMA/comments/12una2g/agentllm_is_working_autogpt_with_llamacpp_and/jh9rcx0/
false
2
t1_jh9qdlb
Predicting the next word is useful metric for TRAINING, but than other things take priority - like, producing coherent and useful *replies*. And besides, who runs their models at zero temperature? Using nonzero would increase their perplexity by definition, but it works. Also, since we are working with fairly small mo...
18
0
2023-04-22T13:56:48
BalorNG
false
null
0
jh9qdlb
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jh9qdlb/
false
18
t1_jh9mrz8
Ah, yes, numbers are made of... numbers
6
0
2023-04-22T13:26:19
2muchnet42day
false
null
0
jh9mrz8
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jh9mrz8/
false
6
t1_jh9mo6b
It's a little known fact the during his childhood, JFK idolized Steve Jobs and strived to grow up to be like him.
1
0
2023-04-22T13:25:22
ThePseudoMcCoy
false
null
0
jh9mo6b
false
/r/LocalLLaMA/comments/12uxeu4/was_messing_around_with_a_jfkbot_i_made_and_hes_a/jh9mo6b/
false
1
t1_jh9jvnw
I bet this would be really shocking if I had any idea wtf I am looking at.
5
0
2023-04-22T12:59:29
SoundHole
false
null
0
jh9jvnw
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jh9jvnw/
false
5
t1_jh9ji8t
Thank you very much for such a detailed and quick answer. I am familiar with the johnsmith0031 repo, I think he did an awesome job and the results are great. I have finetuned and played with 30b 4 bit with very good results, but was interested in trying 2 bit 65 and see how it performed. Thank you very very much for ...
1
0
2023-04-22T12:55:52
2muchnet42day
false
null
0
jh9ji8t
false
/r/LocalLLaMA/comments/12sqo3r/fatty_alpaca_alpacalora65b_ggml_quantised_to_4bit/jh9ji8t/
false
1
t1_jh9j7zx
LLaMA 7b is a potato.
3
0
2023-04-22T12:53:10
ambient_temp_xeno
false
null
0
jh9j7zx
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jh9j7zx/
false
3
t1_jh9j6oy
Probably not possible right now. Firstly, the files I listed in the OP are GGML files for CPU inference. They can't be fine tuned at all, to my knowledge. All the fine tuning code I've seen uses the GPU. There are no 2-bit quantisation methods for GPU right now that I know of. GPTQ provides 4bit and 3bit quantisatio...
5
0
2023-04-22T12:52:49
The-Bloke
false
null
0
jh9j6oy
false
/r/LocalLLaMA/comments/12sqo3r/fatty_alpaca_alpacalora65b_ggml_quantised_to_4bit/jh9j6oy/
false
5
t1_jh9iz2x
Even GPT4 was smarter before they fine-tuned it into ChatGPT. Making it follow instructions makes it worse at predicting next words in the general case, but the fine tunes are still easier to use.
24
0
2023-04-22T12:50:49
i_wayyy_over_think
false
null
0
jh9iz2x
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jh9iz2x/
false
24
t1_jh9iilf
How would one go about finetuning with LoRA the 2 bit version?
1
0
2023-04-22T12:46:21
2muchnet42day
false
null
0
jh9iilf
false
/r/LocalLLaMA/comments/12sqo3r/fatty_alpaca_alpacalora65b_ggml_quantised_to_4bit/jh9iilf/
false
1
t1_jh9ih4n
That's going to work on models used through GPTQ and https://github.com/johnsmith0031/alpaca_lora_4bit ?
1
0
2023-04-22T12:45:57
a_beautiful_rhind
false
null
0
jh9ih4n
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jh9ih4n/
false
1
t1_jh9idsd
I think your analogy is on the right track and your last sentence is spot-on. As I have wrapped my head around it, a large model is a (very) complex mapping of numerical "switches" (weights) that guide linear mathematical operations to a specific (hypothetical) point in space, given a particular input value(s). So, the...
2
0
2023-04-22T12:45:02
SoCuteShibe
false
null
0
jh9idsd
false
/r/LocalLLaMA/comments/12o1nrl/why_are_llms_read_only/jh9idsd/
false
2
t1_jh9ib06
One is in pickle and one is in safetensors, probably not.
1
0
2023-04-22T12:44:17
a_beautiful_rhind
false
null
0
jh9ib06
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jh9ib06/
false
1
t1_jh9hz4o
But is there a difference between the 2 I posted?
2
0
2023-04-22T12:40:58
mrbluesneeze
false
null
0
jh9hz4o
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jh9hz4o/
false
2
t1_jh9hge0
Thanks for sharing. Works great for me with suggested GPTQ. However I wasn’t able to get Vicuna 1.1 4or 8 bit to work with any LoRas. Do you know if it is even possible, or if LORAs can only be loaded on top of base llama models?
1
0
2023-04-22T12:35:40
shirtshape
false
null
0
jh9hge0
false
/r/LocalLLaMA/comments/12u1mtx/vicuna_13b_11_gptq_4bit_128g_doesnt_work/jh9hge0/
false
1
t1_jh9gz84
What llama model they recommend to try this out ?
2
0
2023-04-22T12:30:41
Still_Map_8572
false
null
0
jh9gz84
false
/r/LocalLLaMA/comments/12una2g/agentllm_is_working_autogpt_with_llamacpp_and/jh9gz84/
false
2
t1_jh9gxwp
This might be expected? All these quick and dirty fine-tunes are built to make it function better as a chatbot, so it makes sense it would become less accurate for text completions? A bit more about perplexity and what Wikitext actually is: * [https://blog.salesforceairesearch.com/the-wikitext-long-term-dependency-lan...
15
0
2023-04-22T12:30:19
randomfoo2
false
null
0
jh9gxwp
false
/r/LocalLLaMA/comments/12v2nwd/are_all_the_finetunes_stupid/jh9gxwp/
false
15