"No one is harder on a talented person than the person themselves" - Linda Wilkinson ; "Trust your guts and don't follow the herd" ; "Validate direction not destination" ;
Showing posts with label LLM. Show all posts
Showing posts with label LLM. Show all posts

March 31, 2025

Prompt + AI Code + Human Thinking > Prompt + AI Code

 


Ref - Link

Encourage juniors to use AI tools. It’s how the industry is evolving. Let them explore, but don’t stop at the surface.

🔍 Observe what bugs they can identify in AI-generated code and how they fix them. That tells you a lot about their problem-solving ability.

⚙️ Audit how they think about design and scalability. Can they spot limitations in AI output? Are they making informed architectural decisions?

🧠 The difference between a learning mindset and a copy-paste mindset becomes obvious over time. AI can accelerate growth, but only if developers take time to understand why things work.

🎯 Also, interview patterns must evolve to reflect this new ecosystem. We shouldn’t penalize devs for using modern tools—we should assess how they use them critically and creatively.

Let AI be a catalyst, not a crutch.

Keep Thinking!!!

March 13, 2025

Prompt Engineering - AI Vibes - Song with Lyrics and Music :)

[Verse]

Learning AI every day
Words and lines but in a new way
Teaching prompts to obey
Let's do this come what may

[Verse 2]

Lines and codes like a game
Every prompt should have a name
Crafting questions to be tame
Jumping into this no shame

[Chorus]

Prompt engineering
Creating everything
Generation accelerating
AI minds syncing

[Verse 3]

From models to output bright
Leading bots to give insight
Words aligned just right
Artificial lights ignite

[Verse 4]

Tune your prompts to sing
Every thought can bring a spring
Questions with a new zing
AI’s potential we'll bring

[Bridge]

Every prompt a spark
Lighting up the dark
Generation's mark
Begin that creative arc

Keep Going!!!

February 11, 2025

With GenAI, does Deepwork become Quick Work?

With GenAI tools, iterations, and idea generation happen naturally at a faster pace. Design, solutioning, and iterations become much quicker.

However, there are potential long-term impacts with surface-level learning:
1️⃣  The natural trial-and-error learning process gets shortened
2️⃣   The ability to evaluate information objectively is compromised due to shorter attention spans
3️⃣   The depth of historical understanding suffers when complex topics are reduced to simplified summaries
4️⃣  Shortcuts often come with trade-offs—what we learn quickly, we may forget just as fast if depth is lacking

👉 Are we trading deep understanding and human reasoning for speed?
👉 Should we slow down and give complex problems the time and focus they deserve?

Keep Thinking!!!

February 02, 2025

DeepSeek's Culture is Secret to Success

Good Read from Post

DeepSeek's Culture is Secret to Success

Key Lessons from post

  • Research groups are formed based on specific goals, with no fixed hierarchies or rigid roles
  • Everyone has unique experiences and comes with their own ideas
  • There are no weekly reports, no internal competitions that pit employees against each other
  • We need people who are extremely passionate about technology, not people who are used to using experience to find answers. Real innovation often comes from people who don't have baggage

Pick what you can connect with and Keep Going!!!

January 28, 2025

GenAI Quality: Beyond the Demo Effect

1. Demo ≠ Production Quality

  • Real-world performance matters more than showcases
  • Focus on consistent, reliable results

2. Benchmark-Driven Validation

  • Standardized performance metrics
  • Comprehensive testing scenarios
  • Regular evaluation cycles

3. Strategic Speed

  • Quality over frequency
  • Data foundation first
  • Systematic experimentation

4. Data Quality -First Architecture

  • Quality data infrastructure
  • Robust validation pipelines
  • Continuous data improvement

5. Evidence-Based Development

  • Model comparison frameworks
  • Data-driven decisions
  • Measurable improvements
Keep Learning!!!

January 14, 2025

Agent Driven Dashboards - Business Story aligned to User Questions

  • Agents will give Dashboards a voice as they will for data
  • Data is static in dashboards today and with Agents suddenly will tell stories



Reactive and Proactive work with Agents

Keep Exploring!!!

Optimizing AI Models for Low Latency: Techniques and Best Practices

GenAI product building has three key components: consistency, accuracy, and latency. These components are crucial and should be implemented in stages:

  • Build a solid data foundation.
  • Develop an approach that ensures consistent results.
  • Ensure the results are accurate.
  • Optimize for latency.

In every real-time implementation:

Once consistency and accuracy are achieved, latency plays a key role.

Techniques for Low Latency Optimization

After achieving accuracy, focus on these techniques to optimize latency:

  • Semantic Cache Implementation for similar questions.
  • Disable Logging in the production environment.
  • Database Optimization: Ensure proximity to the model serving region.
  • Multi-Prompt Steps in messaging.
  • Low Latency Models: GPT-4o-mini.
  • Text Optimization: Balance cost and performance (e.g., Claude 3.5 Sonnet).
  • Complex Reasoning: Use Gemini 1.5 Pro (gemini-1.5-pro).
  • Optimize Values: Fine-tune input tokens, output tokens, temperature, and max tokens.
  • Prompt Optimization: Leverage model context support.
  • Utilize Larger Context Windows: Implement multitask prompts.

Infrastructure and Cost Considerations

  • Quantization Effects: Using reduced precision (e.g., int8 instead of float32) may introduce minor, predictable delays due to quantization and dequantization steps.
  • Fine-Tuned GPT Models: Require high-quality data for implementation.

Top 5 Practices to Master GenAI Product Development

  • Solve the GenAI Aspect: Focus on prompt engineering and model versioning.
  • Scale for Multiple Formats: Use prompt catalogs and maintain prompt versions.
  • Optimize for Low Latency: Implement caching for key data, reuse existing data, and leverage retrieval-augmented generation (RAG) over documents, graphs, and summarized data.
  • Ensure Accuracy Across the Board: Preprocess, normalize, and organize data effectively for the use case, using RAG for enhanced results.
  • Focus on Safe Usage: Enforce guardrails to ensure responsible and secure deployments.

Entry of Agents

  • Once the foundational aspects are achieved, you can migrate to an agentic approach. Ensure robust controls for seamless transitions.

Personal Note

My focus has been on solving and solutioning diverse product use cases. Being an independent consultant has allowed me to concentrate on solutioning aspects of GenAI, LLMs, unstructured data, prompt optimization, and latency reduction. It’s a tradeoff between working on focused areas versus engaging across different layers of implementation.

Happy to collaborate if you are working on GenAI product building or Enterprise GenAI adoption!

Happy Learning!!!


January 08, 2025

Bridging the Skills Gap: Rethinking Education and Workforce Strategies in the Age of AI Agents

 $20 Code Agent Capabilities vs. Fresher Skills:

A $20 code agent will be provided, which individuals will need to run, test, and deploy. However, the skill gap between a fresher and the capabilities of this agent will be significant. This raises the need for a strategy to bridge this gap effectively.

Lack of Plan B in the Education System:

Our education system does not currently have a viable Plan B to adapt to such technological advancements. What additional measures can we take beyond utilizing agents to foster innovation? This is a critical area that requires rethinking and redesigning educational priorities.

Agents and Job Creation:

While agents are expected to enhance productivity, an important question remains: What new jobs will emerge as a result of this shift? Do policymakers and industry leaders have a clear vision or roadmap for these new opportunities? Ensuring that policies address this need for job creation is essential.

Keep Thinking!!!

December 27, 2024

LLM Reasoning - Procedural ?

LLM = Improving Interpolation / Level of abstraction has improved / Chain of abstractions


Same characteristics as humans may not be there but it may reach a better level of abstraction and interpolation

Keep Going!!!

November 17, 2024

October 12, 2024

Ethical AI vs. Agentic Autonomous AI: Navigating the Complexities of Modern AI Systems

  • Human Oversight vs. AI Independence: Ethical AI frameworks typically advocate for human-in-the-loop systems, ensuring human oversight. Agentic Autonomous AI aims to minimize human intervention, raising questions about responsibility and control.
  • Short-term Gains vs. Long-term Consequences: The push for rapid AI advancement (often seen in Agentic Autonomous AI) may overlook long-term ethical implications. Ethical AI approaches tend to prioritize careful consideration of potential future impacts.
  • The Reasoning Conundrum: While Large Language Models (LLMs) demonstrate language understanding and generation capabilities, they still lack true reasoning abilities. This limitation is crucial when considering the ethical implications of deploying AI systems in decision-making roles.
  • Ethical Constraints vs. Autonomous Agency: The core tension between Ethical AI and Agentic Autonomous AI lies in balancing moral safeguards with the desire for increasingly independent AI systems. Ethical AI prioritizes human values and safety, while Agentic Autonomous AI pushes for greater AI self-direction.
  • Transparency Trade-offs: Ethical AI often demands explainability and interpretability, potentially limiting model complexity. Conversely, highly autonomous AI systems may sacrifice transparency for increased capabilities, raising ethical concerns about accountability and trust.
  • Data Ethics in AI Development: Ethical AI emphasizes the importance of unbiased, representative datasets. Agentic Autonomous AI, however, may prioritize data quantity over quality to enhance its learning capabilities, potentially perpetuating or amplifying societal biases.
  • Continuous Learning and Ethical Drift: Agentic Autonomous AI systems that engage in continuous learning pose risks of ethical drift over time. Ethical AI frameworks must grapple with how to maintain moral constraints in evolving systems.
  • Global Ethics vs. Local Autonomy: As AI systems become more autonomous, they may encounter scenarios where global ethical standards conflict with optimal local decisions. This tension between universal ethics and situational autonomy remains a critical challenge.
  • Responsible AI Adoption in Practice: Implementing either Ethical AI or Agentic Autonomous AI requires a deep understanding of models, data, and their limitations. Superficial adoptions of either approach can lead to irresponsible and potentially harmful AI deployments.
  • The Role of Human Values: Ethical AI explicitly encodes human values into AI systems, while Agentic Autonomous AI may develop its own set of values through learning. The alignment (or potential misalignment) of these values with human ethics is a crucial area of ongoing research and debate.

Technology will continue to change the world. A thoughtful approach is needed to prioritize use cases that offer broader positive impacts over those that primarily lead to monetization. This way of thinking can help align AI adoption with human values and ensure a more substantial positive impact on humanity.

Keep Going!!!

October 02, 2024

The Harsh Realities of GenAI Startups: AI Advisor Perspective

  • 🔓 Open Source Paradox: There's a push to leverage open-source models and frameworks, yet expectations for state-of-the-art accuracy remain unrealistically high.
  • 🧩 Holistic Product Development: Successful GenAI products require a synergy of innovative ideas, domain expertise, and high-quality training data - not just algorithms.
  • 💰 Resource Constraints: Computational costs are a significant factor in GenAI development, often underestimated by founders.
  • 🎈 Hype vs. Reality Gap: Many founders lack a deep understanding of the technical challenges and limitations in GenAI implementation.
  • 🖥️ Infrastructure Costs: Even minimal GPU requirements for model training and inference can be daunting for bootstrapped startups.
  • ⚖️ Resource Optimization Fallacy: Attempts to minimize costs across all aspects of development often lead to suboptimal results in model performance and product quality.
  • 🏎️ Performance-Aesthetics Mismatch: Many startups focus on creating visually appealing UIs but struggle with the underlying AI engine's capabilities, resulting in a "sports car body with a scooter engine" scenario.
  • 🚀 Democratization vs. Expertise: While AI tools are becoming more accessible, creating truly groundbreaking GenAI applications still requires deep technical expertise and innovation.
  • 🌊 Depth vs. Breadth Trade-off: Founders who aren't willing to invest time and resources in deep technical development risk creating superficial, easily replicable products with limited longevity in the market.
Keep Exploring!!!

August 14, 2024

Latency is a never ending learning

  • Latency with cache
  • Latency with semantic cache
  • Latency with Indexes
  • Latency with Graph Queries
  • Latency with Optimal Value for Top K

Benchmark against domain dataset

Good Data = Good Strategy = Quality Experiments

Happy Low Latency!!!

August 11, 2024

How to avoid this scenario - Gartner Predicts 30% of Generative AI Projects Will Be Abandoned After Proof of Concept By End of 2025

What is required to Turn Data Into AI Products ? - My perspectives

  • Experimentation on Different levels of data / Summary / Key-Values / Multimodal
  • Data curation / Setting up Relationships
  • Adding domain knowledge

The main reasons cited are:

  • Poor data quality
  • Inadequate risk controls
  • Escalating costs
  • Unclear business value

So, the lesson is, my perspectives are:

  • The model is not lift-and-shift — customize it for your needs. A demo that works may not be the solution you need.
  • Build your data and benchmark with your data. Do not rely on benchmarks that do not reflect your data.
  • Have an LLM cybersecurity, data governance, and guardrails in place. Do not trust the LLM until your first 100 users are happy with it.
  • Escalating costs—first, get the accuracy right, then reduce costs. You cannot achieve everything at once.
  • Unclear business value — Do not force-fit LLM use case to get a promotion. Only opt for it if it genuinely adds value.
  • If someone promises a working solution in 1 month remember it can be selling a prototype, not a production-grade solution


Keep Exploring!!!

August 02, 2024

Memorization vs Generalization

Memorization vs Generalization

When you develop #GenAI apps, After a certain stage, When things work fine, The immediate next question is

  • Model is memorizing or Learning patterns
  • Test with variations / Analyze on patterns of responses

I don't want my life to be memorization - Company1 - Company2 ..., Exploring out of comfort zones provides diverse perspectives.

Earlier I had time to regret, Now I don't have time to think about anything. A long day of managing and solving different problems and different lenses of execution. Sometimes some experiences don't fill your pocket but fill your soul. In the end, I want to smile at death, I have tried all my wishlists.

Keep Exploring!!!


GenAI - LLM - Startup Learning War

 



Latency Experiments - Link

Keep Exploring!!!

July 24, 2024

Txt2SQL

Txt2SQL is easier in straightforward examples, Real database has a ton of complications

Example-

Columns can be generic, Attribute1, Attribute2, We may use Attribute1 for key, Attribute2 for Value. A ton of learning working on it, still trying to get a hold :)

  • Hints for clause level
  • Hints for join 
  • Verbose hints
  • Examples in database specific formats
  • Categorize on type of errors - Syntax, Missing columns, Missing right joins

Keep Exploring!!!

LLM perspectives

  • LLM - Fast, Simple, and Dumb Sometimes
  • Prompts - Looks simple but when structured relevant to context can give magical results
  • With extended context length, embedding it looks more magical with the abstraction of representations of useful knowledge

LLM generation kids / learning using LLM products will have a different perspective of thinking / before and after ChatGPT :)



July 22, 2024

Experimentation, Always something to find a solution :)

Some questions and answers take days or weeks, and sometimes the approach moves from LLM to NLP, It's a blend of techniques to make things work.

  • How do we optimize RAG with internal documents, Original vs Summary vs Intents, What works best? 
  • How do we merge external data? How can we keep versions and relevance?
  • More than LLM work, The heavy lifting is for Data preprocessing/cleaning / Embedding on summary 
  • When to use LLM vs Multimodals?
  • What is the benchmark for our domain and how much do we meet it consistently?
  • The transition for LLM, LLM+KG, Creating the data mapping..

A lot of challenges but one at a time, Balancing Consistency, Accuracy, and Latency. If you want to solve real problems you can connect/explore potential learning experimentation opportunities / dedicate some learning hours. Please drop a note to career@proplens.ai

#learnings #NLP #Datascience #RAG #LLMs #perspectives #Datascience 

Keep Exploring!!!

July 09, 2024

RAG and Prompts - Learning Evolves

In one particular use case, it's a constant process of experimentation and iterations.

  • Step #1 - Let me try with prompts - It works but not consistently
  • Step #2 - Let me try with a vision prompt - It takes time. 
  • Step #3 - Let me merge everything in the database and check. 
  • Step #4 - Routing takes 2 seconds, querying takes 2 seconds, and prompting takes 2 seconds. 
  • Step #5 - Let's keep accuracy and latency separate, divide everything into separate tracks, and sort out the basics.

Some successes, some lessons, and some learning.

Keep Exploring!!!