Hacker GitHub

← All repos

meta-llama/llama

View on GitHub ↗ ★ 59,634 Python

Inference code for Llama models

93 mentions on Hacker News by 78 people: 6 stories, 87 comments · first 2023-02-24 · latest 2025-06-17

Mentions per year 93 mentions · busiest year 2023 (79)
20082026
  1. Comparing the 13B model here https://huggingface.co/cerebras/Cerebras-GPT-13B to LLaMA-13B https://github.com/facebookresearch/llama/blob/main/MODEL_CA... you can see that in all of the reasoning tasks Cerebras-GPT lags behind. Any reason…
  2. …agreeing to the license by visiting facebook's repository and getting the magnet link yourself: https://github.com/facebookresearch/llama/pull/73/files
  3. lol what are you talking about? The weights are being linked to on Meta's repo right now: https://github.com/facebookresearch/llama/pull/73/files The idea that Meta is frantically running around trying to "wipe" these weights is…
  4. …and only based on the LLamA (not a derivative work afaik). That said : Also Meta's licensing here https://github.com/facebookresearch/llama/blob/main/LICENSE Can't be sure what that license actually reffers to, the language model or just…
  5. As well as the super-upvoted PR to change the model license to Apache 2.0: https://github.com/facebookresearch/llama/pull/184
  6. Meanwhile, the pull request on the official repo linking to a torrent of the weights is still up. https://github.com/facebookresearch/llama/pull/73/files
  7. …their results running on all sorts of hardware, though I don't see anything Android related: https://github.com/facebookresearch/llama/issues/79 Obviously the larger models won't run on such limited hardware (yet) but one of the next big…
    comment by glenneroo · 2023-03-15 · in GPT-4
  8. Check this out: https://github.com/facebookresearch/llama/issues/169 Also I'm working on a very hacky way to tune with the hf ecosystem as my very first attempt to do deepspeed/accelerate/transformers https://github.com/lxe/llama-tune
  9. …2nd March: Someone posts a PR with a BitTorrent link to the models: https://github.com/facebookresearch/llama/pull/73 10th March: First commit to llama.cpp by Georgi Gerganov: https://github.com/ggerganov/llama.cpp/commit/26c0
  10. It is, if you request and get approved. https://github.com/facebookresearch/llama
  11. …CPU only one implemented in C++. The python + GPU one can be found on the official facebook repo: https://github.com/facebookresearch/llama (Presumably GP thought this was already known to everyone so they pasted the other link)
  12. There's a BitTorrent link in this PR: https://github.com/facebookresearch/llama/pull/73
  13. …lean on much older prompt engineering tricks - there are a few initial tips in the LLaMA FAQ here: https://github.com/facebookresearch/llama/blob/main/FAQ.md#2...
    comment by simonw · 2023-03-12 · in Using LLaMA with M1 Mac and Python 3.11
  14. There are a few initial tips here in the LLaMAA FAQ: https://github.com/facebookresearch/llama/blob/main/FAQ.md#2...
  15. https://github.com/facebookresearch/llama/pull/73/files
  16. …combination: https://github.com/gmorenz/llama/tree/ssd Usage instructions in the commit message: https://github.com/facebookresearch/llama/commit/5be06e56056... At least with my hardware this runs at "[size of model]/[speed of SSD reads]"…
  17. …the reference code by Facebook is one of the cleaner, easier to read ML code I've seen in a while. https://github.com/facebookresearch/llama/blob/main/llama/mo... It's about 200 lines long. You probably do need a bit of knowledge to…
  18. Follow up: https://github.com/facebookresearch/llama/issues/79#issuecom... claims 65B was able to fit in 128 GB by unsharding & merging weights into a single file instead of the multiple pth with 172Gb max swap file usage & appears to…
    comment by downvotetruth · 2023-03-08 · in Fork of Facebook’s LLaMa model to run on CPU
  19. Reading the patch: https://github.com/facebookresearch/llama/compare/main...mar... Looks like this is just tweaking some defaults and commenting out some code that enables cuda. It also switches to something called gloo, which I'm not…
  20. …mentions this and gives tips for how to get out of the ChatGPT mindset and prompt llama better. [1] https://github.com/facebookresearch/llama/blob/main/FAQ.md#2
  21. The code (including the model) is here: https://github.com/facebookresearch/llama I already got the 7B model to generate text using my GPU! The 1st example prompt generated this: [I believe the meaning of life is] to be happy, and it is…
  22. Looks like you need multiple GPUs for anything >7B. https://github.com/facebookresearch/llama/issues/55#issuecom...
  23. …2nd, or is it really running on all 4 A40s? it's sharded across all 4 GPUs (as per the readme here: https://github.com/facebookresearch/llama ). I'd wait a few weeks to a month for people to settle on a solution for running the model,…
  24. …but the 7B parameter checkpoint is 13.5GB in size. Someone with 24GB VRAM struggled to run it: https://github.com/facebookresearch/llama/issues/55
  25. …overhead. Here someone struggles to fit the 7B parameter model (13.5GB checkpoint) on a 24GB card: https://github.com/facebookresearch/llama/issues/55 EDIT2: actually using the tip in that link I got it to run on a P5000 with 16GB of ram!…
  26. …overhead. Here someone struggles to fit the 7B parameter model (13.5GB checkpoint) on a 24GB card: https://github.com/facebookresearch/llama/issues/55 EDIT2: actually using the tip in that link I got it to run on a P5000 with 16GB of ram!…
  27. https://github.com/facebookresearch/llama/blob/main/FAQ.md#3 Looks like it needs 14gb for weights and it isn't clear what the minimum size for the decoding cache is, but it defaults to settings for 30gb GPUs.
  28. BitTorrent links: https://github.com/facebookresearch/llama/pull/73/files
  29. clone this and point the script(s) to your downloaded model files: https://github.com/facebookresearch/llama/
  30. …when I can get hands on The architecture is available just fine, both in the paper[1] and in code: https://github.com/facebookresearch/llama/blob/main/llama/mo... It's the model weights that you can't get as easily. [1]…
  31. Again, I have to point you to the repo code. Here’s the licence: https://github.com/facebookresearch/llama/blob/main/LICENSE The model code is literally open source. Provided and licensed.
    comment by p1esk · 2023-02-25 · in Meta rolls out AI language model LLaMA
  32. Did you even look at the repo before commenting? The model code is literally open source: https://github.com/facebookresearch/llama/blob/main/llama/mo... Even the checkpoints are provided - for free! All you have to do is ask. Someone at…
    comment by p1esk · 2023-02-25 · in Meta rolls out AI language model LLaMA
  33. Because it is open source: https://github.com/facebookresearch/llama
    comment by p1esk · 2023-02-24 · in Meta rolls out AI language model LLaMA
  34. …can thus generate toxic or offensive content, incorrect information or generally unhelpful answers. https://github.com/facebookresearch/llama/blob/main/MODEL_CA...
  35. https://github.com/facebookresearch/llama/blob/main/MODEL_CA... (linked in OP) has basic information about this model.
  36. Full paper [1[ Github [2] [1] https://research.facebook.com/file/1574548786327032/LLaMA--O... [2] https://github.com/facebookresearch/llama
  37. …to the application in our research paper. The closest you are going to get to the source is here: https://github.com/facebookresearch/llama It is still unclear if you are even going to get access to the entire model as open source. Even if…