As requested, this is the subreddit’s second megathread for model discussion. This thread will now be hosted at least once a month to keep the discussion updated and help reduce identical posts.

I also saw that we hit 80,000 members recently! Thanks to every member for joining and making this happen.


Welcome to the r/LocalLLaMA Models Megathread

What models are you currently using and why? Do you use 7B, 13B, 33B, 34B, or 70B? Share any and all recommendations you have!

Examples of popular categories:

  • Assistant chatting

  • Chatting

  • Coding

  • Language-specific

  • Misc. professional use

  • Role-playing

  • Storytelling

  • Visual instruction


Have feedback or suggestions for other discussion topics? All suggestions are appreciated and can be sent to modmail.

^(P.S. LocalLLaMA is looking for someone who can manage Discord. If you have experience modding Discord servers, your help would be welcome. Send a message if interested.)


Previous Thread | New Models

  • TobyWonKenobi@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Deepseek coder 34b for code

    OpenHermes 2.5 for general chat

    Yi-34b chat is ok too, but I am a bit underwhelmed when I use it vs Hermes. Hermes seems to be more consistent and hallucinate less.

    It’s amazing that I am still using 7b when there are finally decent 34b models.

    • Akimotoh@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Did you notice a big difference between Deepseek coder 34B and it’s 7B version? What are the system requirements for 34B? It looks to be around 70GBs in size…

      • TobyWonKenobi@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        I honestly haven’t tried the 6.7b version of Deepseek yet, but I’ve heard great things about it!

        You can run 34b models in q4 k m quant because it’s only ~21 GB . I run it with one 3090.

  • Helpful-Gene9733@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    With a system limited machine (2017 i5 iMac Cpu only) I am getting very pleasing results with:

    Openhermes2-mistral (7B 4bit K_M quant) for general chat, desktop assistant, and some coding assistance - Ollama backend with my own front end U/I and llama-index libraries implementation. Haven’t tried 2.5 but may.

    Synatra 7B mistral fine tune (4bit K_M quant) seems to produce longer responses and spicier with same system prompt (same use case as above)

    Deepseek-coder 6.7B (4bit quant) as a coding assistant alternative to GPT-3.5 - just trying out in last week or so and building the personalized coding assistant front end u/I for fun

    OrcaMini-3B - for chat when I just want something smaller and faster to run on my machine - the 7B quants are about max for the old iMac. But OrcaMini sometimes doesn’t give great stuff for me.

    • SideShow_Bot@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      IIUC, for coding you suggest deepseek-coder-6.7b-instruct.Q4_K_M.gguf, right? Can I run it with 16 Gb? I’m on a i5 Windows machine, using LM Studio.

      • Helpful-Gene9733@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Yes that’s the one from The Bloke. I imagine you could, but try it! I can run it on an old i5 3.4 GHz chip with 8GB RAM and it seems to run as long as I’m not trying to keep a bunch of stuff open and using up RAM. I haven’t really used it a lot so can’t tell fully yet.

  • VertexMachine@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago
    • LoneStriker_OpenHermes-2-Mistral-7B-8.0bpw-h6-exl2 - my generic goto
    • LoneStriker_airoboros-l2-70b-3.1-2.4bpw-h6-exl2 - this one (and the whole family) is great for creative and precise tasks. If they don’t work I jump to wizardlm or vicuna.
    • oobabooga_CodeBooga-34B-v0.1-EXL2-4.250b and phind-codellama-34b-v2.Q4_K_M.gguf are great for coding. I haven’t decided which one is better yet.
  • FutureIsMine@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Llama2-70B for generating the plan and than using CodeLlama-34B for coding, or LLama-13B for executing the instructions from LLama-2-70B

    Currently in the process of exploring what other models to add once LLama2-70B generates the plan for what needs to get done

      • FutureIsMine@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Lets say you’ve got a task like write a blog post. Instead of issuing a single command, have a GPT model plan it out. Something akin to

        system: You are a planning AI, you will come up with a plan that will assist the user in any task they need help with as best you can. You will layout a clear and well followed plan.   
        User: Hello Planner AI, I need your help with coming up with a plan for the following   task : {user_prompt}   
        

        So the now LLama2-70B generates a plan that has steps in it that are numbered. Next, you can regex on the numbers and than pass that along to the worker model that will execute the task. As LLMS write more than humans and add in additional details that LLMS can follow, the subsequent LLMs will do a better job in executing the task rather than if you asked a smaller model write me a blog post about 3D printing D&D minis. Now go replace the task of writing a blog post with whatever it is you’re doing and you’ll be getting results

  • ehlowrld@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    TheBloke/mistral-7B-finetuned-orca-dpo-v2-GGUF

    Lets most 13B models bite the dust. I use it for a local application - thus inference on CPU-only using llama.cpp with clblast support compiled in. Generates about 10 tokens / sec. on a Dell laptop with intel i7.

  • pulse77@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    WizardLM (WizardLM-70b-v1.0.Q8_0 when quality is needed, WizardLM-30B Q5_K_M when speed is needed).

    • mcmoose1900@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      In addition to what others said, exl2 is very sensitive to the quantization dataset, which it uses to choose where to assign those “variable” bits.

      Most online quants use wikitext. But I believe if you quantize models yourself on your own chats, you can get better results, especially below 4bpw.

    • Biggest_Cans@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I won’t use anything else for GPU processing.

      The quality bump I’ve seen for my 4090 is very noticeable in speed, coherence and context.

      Wild to me that thebloke doesn’t ever use it.

      Easy enough to find quants though if you just go to models and search “exl2” and sort by whatever.

    • sophosympatheia@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      EXL2 runs fast and the quantization process implements some fancy logic behind the scenes to do something similar to k_m quants for GGUF models. Instead of quantizing every slice of the model to the same bits per weight (bpw), it determines which slices are more important and uses a higher bpw for those slices and a lower bpw for the less-important slices where the effects of quantization won’t matter as much. The result is the average bits per weight across all the layers works out to be what you specified, say 4.0 bits per weight, but the performance hit to the model is less severe than its level of quantization would suggest because the important layers are maybe 5.0 bpw or 5.5 bpw, something like that.

      In short, EXL2 quants tend to punch above their weight class due to some fancy logic going on behind the scenes.

      • CasimirsBlake@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Thank you! I’m reminded of variable bit rate encoding used in various audio and video formats, this sounds not dissimilar.

  • USM-Valor@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    13B and 20B Noromaid for RP/ERP.

    I am experimenting with comparing GGUF to EXL2 as well as stretching context. So far, Noromaid 13b at GGUF Q5_K_M stretches to 12k context on a 3090 without issues. Noromaid 20B at Q3_K_M stretches to 8k without issues and is in my opinion superior to the 13B. I have recently stretched Noromaid 20B to 10k using 4bpw EXL2 and it is giving coherent responses. I haven’t used it enough to assess the quality however.

    All this is to say, if you enjoy roleplay you should be giving Noromaid a look.

  • swagonflyyyy@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Mistral-7B-Instruct 4_K quant and openhermes2.5-7B-mistral 4_K quant. Still testing the waters but starting with these two first.

  • toothpastespiders@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I’m really late on this one, but dolphin 2.0 mistral 7b. I did a little extra training on it for some automation and the thing’s ridiculously solid, fast, and light on resource usage. I’m still cleaning up the output a bit after it’s chugging away at night. But to a pretty minor degree.

    Though if failures count then Yi 34b’s up there in terms of usage this week too. As I fail a million times over just to train a simple, single, usable, lora for it.

      • sophosympatheia@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        There are several popular methods, all supported by the lovely mergekit project at https://github.com/cg123/mergekit.

        The ties merge method is the newest and most advanced method. It works well because it implements some logic to minimize how much the models step on each other’s toes when you merge them together. Mergekit also makes it easy to do “frankenmerges” using the passthrough method where you interleave layers from different models in a way that extends the resultant model’s size beyond the normal limits. For example, that’s how goliath-120b was made from two 70b models merged together.