Menu

Post image 1
Post image 2
1 / 2
0

Prompt engineering vs RAG vs Finetuning

DEV Community·Haki·30 days ago
#Vr19anLQ
#ai#beginners#llm#rag#model#prompt
Reading 0:00
15s threshold

Before I get started, this is my first blog on this platform, I hope it goes well. MAIN FOCUS It’s become a very easy thing to mistake prompt engineering for finetuning, especially the scenario of “when should I use which”, this blog posts explains everything. Difference between Prompt Engineering and finetuning Straight to the point! Prompt engineering essentially changes/tailors the output of the model, FROM the input itself An example might be “Give me a dummy list of students and their cgpa in JSON format, the advantage of this is that the result you’re getting is something you expect, not just random or unstructured. key focus : in prompt engineering, you change the input, NOT the model itself. While on the other hand… Finetuning is much broader, in this case, you retrain the model on your own data, directly modifying the model behavior, this can be done in different environments although expensive, eg: google collab (free), hugging face (models and data), or even server/ locally (very expensive).…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More