તાલીમ (ટ્રેનિંગ) એ ડેટામાંથી ML મોડેલને શીખવવાની પ્રક્રિયા છે (પેટર્ન શીખવું, પરિમાણો સમાયોજિત કરવા), જ્યારે અનુમાન (ઇનફરેન્સ) એ તાલીમ પ્રાપ્ત મોડેલનો ઉપયોગ કરીને નવા ડેટા પર આગાહીઓ કરવાની છે। આ બે અલગ-અલગ તબક્કાઓ છે જે અલગ-અલગ લાક્ષણિકતાઓ અને ખર્ચ ધરાવે છે।
તાલીમ વર્સેસ અનુમાન
TRAINING → teaching the model (the LEARNING phase):
→ feed lots of DATA → the model adjusts its parameters to learn patterns
→ computationally EXPENSIVE (lots of data, compute, time — e.g. training an LLM costs
huge resources); done once (or periodically to update)
→ produces a trained MODEL
INFERENCE → using the trained model (the PREDICTION phase):
→ give the trained model NEW input → it produces an output (prediction/generation)
→ much CHEAPER/faster than training (a single forward pass); done MANY times (every
time you use the model)
→ train once (expensive), infer many times (cheaper, in production)
