News for hackers. Stuff that matters.
Re:Show HN: FinetuneDB – AI fine-tuning platform to create c... by KaoruAoiShiho on Wednesday October 09, 2024 @03:50PM (#41791910)
Am I able to upload a book and have it respond truthfully to the book in a way that's superior to NotebookLM or similar? Generally most long context solutions are very poor. Or does the data have to be in a specific format?
Re:Show HN: FinetuneDB – AI fine-tuning platform to create c... by felix089 on Wednesday October 09, 2024 @04:05PM (#41792065)
To get the outcome you want, RAG (retrieval augmented generation) would be the way to go, not fine-tuning. Fine-tuning doesn't make the model memorize specific content like a book. It teaches new behaviors or styles. RAG allows the model to access and reference the book during inference. Our platform focuses on fine-tuning with structured datasets, so data needs to be in a specific format.

This is a very common topic, so I wrote a blog post that explains the difference between fine-tuning and RAG if you're interested: https://finetunedb.com/blog/fine-tuning-vs-rag

Re:Show HN: FinetuneDB – AI fine-tuning platform to create c... by thomashop on Wednesday October 09, 2024 @04:20PM (#41792196)
These days, I'd say the easiest and most effective approach is to put the whole book in the context of one of the longer context models.
Re:Show HN: FinetuneDB – AI fine-tuning platform to create c... by felix089 on Wednesday October 09, 2024 @04:26PM (#41792265)
Agreed, for this use case probably the easiest way to go.
Re:Show HN: FinetuneDB – AI fine-tuning platform to create c... by swyx on Wednesday October 09, 2024 @05:40PM (#41792963)
(and most expensive)
Re:Show HN: FinetuneDB – AI fine-tuning platform to create c... by felix089 on Wednesday October 09, 2024 @06:22PM (#41793378)
Agreed too
Re:Show HN: FinetuneDB – AI fine-tuning platform to create c... by thomashop on Monday October 14, 2024 @06:46PM (#41842986)
Prompt caching to the rescue?
Re:Show HN: FinetuneDB – AI fine-tuning platform to create c... by KaoruAoiShiho on Wednesday October 09, 2024 @04:31PM (#41792295)
Not really, for something like gemini the accuracy and performance is very poor.
Re:Show HN: FinetuneDB – AI fine-tuning platform to create c... by farouqaldori on Wednesday October 09, 2024 @05:15PM (#41792723)
The magic behind NotebookLM can't be replicated only with fine-tuning. It's all about the workflow, from the chunking strategy, to retrieval etc.

For a defined specific use-case it's certainly possible to beat their performance, but things get harder when you try to create a general solution.

To answer your question, the format of the data depends entirely on the use-case and how many examples you have. The more examples you have, the more flexible you can be.

Re:Show HN: FinetuneDB – AI fine-tuning platform to create c... by hodanli on Wednesday October 09, 2024 @07:39PM (#41793990)
I dont think it is a big deal but you can use your own image or give credit to openai presentation on YouTube.