Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
treprinum
on July 24, 2023
|
parent
|
context
|
favorite
| on:
A simple guide to fine-tuning Llama 2
I understand, I use llama.cpp for my own personal stuff but can't override the policy on the project I want to plug it in, which is python-only.
pests
on July 25, 2023
[–]
There was a post yesterday about a 500 line single-file C implmenetation of llama2 with no dependencies. The llama2 architecture is hard coded. It shouldn't be too hard to port to python.
Found the repo, couldn't easily find the HN thread.
https://github.com/karpathy/llama2.c
treprinum
on July 25, 2023
|
parent
[–]
That's Andrej's toy project, it won't run 7B LLaMA.
NateGenX
on July 27, 2023
|
root
|
parent
[–]
It does now:
https://github.com/karpathy/llama2.c#metas-llama-2-models
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: