Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    E

    Eric Hartford

    erichartford.com · Personal blog · on HN since 2023

    Eric Hartford writes about training and fine-tuning open language models, including the Dolphin and Samantha models and uncensored model methods.

    Visit blogRSSHN submissions
    AI & Machine Learning
    What HN says

    HN commenters point to his blog as a good explanation of how uncensored models are made, and discuss his Dolphin models and AMD hardware.

    Stats for nerds
    22HN people shared it
    9linked in comments
    323story points
    Jun 2025last shared
    2023people per year2025

    Top posts on HN

    1. 1
      NIST's DeepSeek "evaluation" is a hit piece
      1 person · 278 points · first shared 2025 · 236 comments on HN
    2. 2
      Uncensored (Language) Models
      11 people · 36 points · first shared 2023 · 7 comments on HN
    3. 3
      Based-30B
      2 people · 4 points · first shared 2023 · Discussion on HN
    4. 4
      Dolphin
      2 people · 2 points · first shared 2023 · Discussion on HN
    5. 5
      From Zero to Fineturning with Axolotl on ROCm
      2 people · 1 points · first shared 2024 · Discussion on HN
    6. 6
      OpenOrca: open source dataset and instruct-tuned LLMs
      1 person · 1 points · first shared 2023 · Discussion on HN
    7. 7
      My Own AI Server Cluster
      1 person · 1 points · first shared 2023 · Discussion on HN
    8. 8
      Meet samantha
      2 people · first shared 2023

    What HN people wrote when they linked it

    • ryaoJun 2025

      I hope your business works out for you and I am willing to believe that AMD has improved somewhat, but I do not believe AMD has improved enough to be worth people’s time when Nvidia is an option. I have heard too many nightmares and it is going to take many people, including people who reported those nightmares, reporting improvements for me to think otherwise. It is not just George Hotz who reported issues. Eric Hartford has been quiet lately, but one of the last comments he made on his blog was not very inspiring:

      > Know that you are in for rough waters. And even when you arrive - There are lots of optimizations tailored for nVidia GPUs so, even though the hardware may be just as strong spec-wise, in my experience so far, it still may take 2-3 times as long to train on equivalient AMD hardware. (though if you are a super hacker maybe you can fix it!)

      https://erichartford.com/from-zero-to-fineturning-with-axolotl-on-rocm

      There has been no follow-up “it works great now”.

      That said, as for saying you have a conflict of interest, let us consider what a conflict of interest is:

      https://en.wikipedia.org/wiki/Conflict_of_interest

      > A conflict of interest (COI) is a situation in which a person or organization is involved in multiple interests, financial or otherwise, and serving one interest could involve working against another.

      You run a company whose business is dependent entirely on leasing AMD GPUs. Here, you want to say that AMD’s hardware is useful for that purpose…

    • paulmdJun 2024

      Ollama is not as powerful as llama.cpp or raw pytorch, but it is almost zero effort to get started.

      brew install ollama; ollama serve; ollama pull llama3: 8b-v2.9-q5_K_M; ollama run llama3: 8b-v2.9-q5_K_M

      https://ollama.com/library/dolphin-llama3:8b-v2.9-q5_K_M

      (It may need to be Q4 or Q3 instead of Q5 depending on how the RAM shakes out. But the Q5_K_M quantization (k-quantization is the term) is generally the best balance of size vs performance vs intelligence if you can run it, followed by Q4_K_M. Running Q6, Q8, or fp16 is of course even better but you’re nowhere near fitting that on 8gb.)

      https://old.reddit.com/r/LocalLLaMA/comments/1ba55rj/overview_of_gguf_quantization_methods/

      Dolphin-llama3 is generally more compliant and I’d recommend that over just the base model. It's been fine-tuned to filter out the dumb "sorry I can't do that" battle, and it turns out this also increases the quality of the results (by limiting the space you're generating, you also limit the quality of the results).

      https://erichartford.com/uncensored-models

      https://arxiv.org/abs/2308.13449

      Most of the time you will want to look for an "instruct" model, if it doesn't have the instruct suffix it'll normally be a "fill in the blank" model that finishes what it thinks is the pattern in the input, rather than generate a textual answer to a question. But ollama typically pulls the instruct models into their repos.

      (sometimes you will see this even with instruct models, especially if…

    • PeterisPFeb 2024

      In general, the core language model is simply trained on a very large amount of unannotated text (which is the most time-consuming and expensive part), but a language model is not directly very useful in the role of e.g. a chat agent, it quite literally tries to continue text and that sometimes is what you want and sometimes isn't.

      The second step is fine-tuning the model on a much smaller set of annotated data which specify that it should actually "do something" in its responses and what it should do; it "teaches" it that it should actually answer the questions instead of e.g. continuing on with a list of more questions in the same vein, and most such training sets also "teach" it that for certain questions the appropriate response is a refusal.

      If you have the original core model (before that instruction tuning) then you can repeat the same process but instead replace the instruction training set with a different one, so you can "instruct" the model to behave differently. Here is a nice and informative article from Eric Hartford about how he did that to make certain 'uncensored' models - https://erichartford.com/uncensored-models

    • swahDec 2023

      edit: misread the title

      The uncensored one [1] - finally gave me instructions for making crack and a bomb. It felt cool that it would answer everything, like a 90s zine.

      [1] https://huggingface.co/TheBloke/dolphin-2.1-mistral-7B-GGUF

      Note on that page: This model is uncensored. I have filtered the dataset to remove alignment and bias. This makes the model more compliant. You are advised to implement your own alignment layer before exposing the model as a service. It will be highly compliant to any requests, even unethical ones. Please read my blog post about uncensored models. https://erichartford.com/uncensored-models You are responsible for any content you create using this model. Enjoy responsibly.

    • CodeLSep 2023

      Correct. Eric Hartford's blog post delves into the alignment of open-source LLMs[1]. In essence, models like LLaMA and GPT-Neo-X adopt alignment behaviors from ChatGPT-sourced instruction datasets. To achieve more transparent model responses, one can refine the dataset by removing biases and refusals, then retrain.

      [1] https://erichartford.com/uncensored-models#heading-ok-so-if-you-are-still-reading-you-agree-that-the-open-source-ai-community-should-build-publish-maintain-and-have-access-to-uncensored-instruct-tuned-ai-models-for-science-and-freedom-and-composability-and-sexy-stories-and-the-lulz-but-how-do-we-do-it

    • tikkunJun 2023

      I compiled this list - https://gist.github.com/TikkunCreation/5de1df7b24800cc05b4823da4116f1ad

      In particular, you'll probably want to skip to nanoGPT (https://github.com/karpathy/nanoGPT) and then maybe if you are interested in a bit more of the theory, Zero to Hero (https://karpathy.ai/zero-to-hero.html), and his comments in one of the threads linked: https://news.ycombinator.com/item?id=34414716

      Fine tuning may also be a faster and better place to start, this is a good guide for fine tuning some publicly released LLMs: https://erichartford.com/uncensored-models

    Related

    AI Advancesai.gopubby.com17 people

    Run the strongest open-source LLM model: Llama3 70B with just a single 4GB GPU

    AI Advances
    Publication · last shared 2026
    Meta AI Blogai.meta.com322 people

    The Llama 4 herd

    Meta AI Blog
    Company · last shared 2026
    Anyscale Bloganyscale.com50 people

    Uv and Ray: Pain-Free Python Dependencies in Clusters

    Anyscale Blog
    Company · last shared 2026
    MosaicML Blogmosaicml.com42 people

    Training Stable Diffusion from Scratch Costs <$160k

    MosaicML Blog
    Company · last shared 2024
    LessWronglesswrong.com2.4k people

    The Best Textbooks on Every Subject

    LessWrong
    Publication · last shared 2026
    Gary Marcusgarymarcus.substack.com203 people

    ChatGPT went berserk

    Gary Marcus
    Personal · last shared 2026
    Stanford CRFM Blogcrfm.stanford.edu54 people

    Surprisingly fast AI-generated kernels we didn't mean to publish yet

    Stanford CRFM Blog
    Company · last shared 2026
    Hamel Husainhamel.dev39 people

    Dokku: My favorite personal serverless platform

    Hamel Husain
    Personal · last shared 2026