Practical AI
Practical AI

Capabilities of LLMs 🤯

Large Language Model (LLM) capabilities have reached new heights and are nothing short of mind-blowing! However, with so many advancements happening at once, it can be overwhelming to keep up with all the latest developments. To help us navigate through this complex terrain, we’ve invited Raj - one

Featured Speakers

Rajiv Shah Guest

Topics Discussed

Episode Summary

Executive Summary: Hugging Face machine learning engineer Rajiv Shah discusses how short-form video can teach data science, how large language models enable in-context learning and prompt-based workflows, and how open models and tooling are rapidly evolving. He sees broad potential for AI to expand access to problem-solving, while emphasizing model-selection complexity, hallucinations, data and IP risks, and the need for practical education and responsible adoption.

Main Topics: Teaching data science through new media: Shah describes discovering that his son learned coding from YouTube rather than written tutorials, inspiring him to make short, story-driven data science videos. He sees formats such as TikTok as a way to communicate nuanced ideas to audiences with different learning habits. In-context learning and prompt-based workflows: Large language models can perform tasks after seeing a few examples in a prompt, without changing their weights or undergoing task-specific training. Shah illustrates this with sentiment classification and describes chaining prompts for cleaning, summarizing, and routing enterprise documents. Rapidly expanding model ecosystem: Models differ in openness, access to weights and training data, licensing, size, and computing requirements. Shah notes the challenges of evaluating options and the value of Hugging Face tools and community resources for comparing models and building interoperable applications. Open-source tooling and efficient fine-tuning: Hugging Face tools such as Transformers and PEFT, along with approaches including low-rank adaptation and reinforcement learning from human feedback, can help developers use or adapt large models with fewer resources. Shah also points to broader developer contributions and tools such as DeepSpeed Chat. Risks, reliability, and responsible deployment: Shah warns that language models can hallucinate and that their outputs may raise concerns involving training-data provenance, copyrighted material, and intellectual property. He recommends combining language models' conversational abilities with traditional information retrieval for more fact-grounded applications. Adoption across work and education: The speakers view AI tools as increasingly accessible and likely to become part of education and work. Shah favors pragmatic adoption paired with instruction on capabilities and limitations, while acknowledging unequal access and the need to help coworkers and the public learn by using the tools.

Key Arguments: In-context learning can replace some task-specific data-labeling and model-training work: provide a few examples and a new input, and a large language model can infer the desired response format or classification without updating its weights. Prompt sequences can combine tasks such as text cleanup, summarization, and categorization, making some workflows accessible through natural language rather than requiring users to build a separate machine-learning model for every task. The model landscape is too varied for a one-size-fits-all choice; organizations should assess openness, licensing, data and weight access, model size, capabilities, and infrastructure needs against their own requirements. Open models and parameter-efficient techniques can give organizations more control over data and model behavior, while reducing dependence on proprietary APIs and the resources needed to fine-tune large models. Language models should not be treated as reliable sources of fact because they can generate unsupported answers; pairing them with established information retrieval methods can improve factual grounding while retaining a conversational interface. Adoption is likely to spread beyond specialist data scientists, but it requires practical education about both useful capabilities and limitations, as well as attention to unequal access to the technology.

Data Points: Time allotted for a practical AI project: 24 hours - Shah and his son set aside a weekend day to independently work on a practical project, such as a Discord bot. Examples used to illustrate in-context learning: Three examples - Shah describes prompting a model with examples of good and bad movie reviews before asking it to classify a new review. Traditional sentiment-labeling example: 100 or 1,000 reviews - He contrasts collecting and labeling reviews for conventional model training with using a few examples in a prompt. Bloom model size: About 170 billion parameters - Shah cites Bloom as an example of a very large open-source model. Smaller model size example: About 1 billion parameters - He contrasts very large models with smaller models, including models in the LLAMA family, noting the implications for local inference. Inference share in production: About 99% - The hosts characterize inference as accounting for most of the use of a model in production. Enterprise adoption horizon: Over the next year or so - Shah says organizations have breathing room to determine an appropriate large-language-model strategy amid the rapid pace of change.

Pivotal Quotes: "Just by carefully asking it for some type of information, it knows and can kind of figure out: oh, you like it like this. Well, I will give you back an answer in that same kind of format, style, same type of information." — Rajiv Shah: Explaining how in-context learning lets a model respond to examples without changing its weights. "These models lie. They're just going to create output, and the output doesn't necessarily have necessarily a tie to reality with that." — Rajiv Shah: Warning listeners that generated language can sound convincing without being factually grounded. "The easiest answer for me is just like getting them using it a little bit." — Rajiv Shah: Describing how to help people unfamiliar with AI understand its capabilities and limitations.

Implications: AI tools could let more people build workflows and solve problems through natural-language interaction, while open tooling may improve control and lower resource barriers. Organizations and educators should pair hands-on adoption with guidance on hallucinations, data and IP risks, access, and fact-grounding.

🔓 Sign Up for Unlimited Episode Search

About Practical AI

View all episodes from Practical AI