Hugo Alatrista-Salas retweeted
๐๐ฐ Hugging Face Transformers: Leverage Open-Source AI in Python
In this tutorial, you'll get hands-on experience with Hugging Face and the Transformers library in Python.
#python realpython.com/huggingface-tโฆ
Hugo Alatrista-Salas retweeted
The AI Agent Development Process.
How to go from idea to production.
(A thread) ๐งต
Hugo Alatrista-Salas retweeted
Essential Math for #DataScience โ Take Control of Your Data with Fundamental #LinearAlgebra, #Calculus, #Probability, and #Statistics: amzn.to/47GEBCZ
โโโโโ
#Mathematics #Analytics #MachineLearning #AI #DeepLearning #DataScientist #Algorithms
Hugo Alatrista-Salas retweeted
Explained well ๐
Hugo Alatrista-Salas retweeted
ChatGPT has 400M+ users.
But most of them are stuck in beginner mode.
Here's the list of 1,000 prompts to use chatGPT like a pro:
Hugo Alatrista-Salas retweeted
#AI Tools for Literature Review
by @Faheem_uh
#ArtificialIntelligence #Innovation #EmergingTech #TechForGood
cc: @marcusborba @HaroldSinnott @karpathy
Hugo Alatrista-Salas retweeted
Vector indexes are the difference between waiting 10 seconds and 10 milliseconds.
Hereโs what most developers donโt know about them:
๐ช๐ต๐ฎ๐ ๐ถ๐ ๐๐ฒ๐ฐ๐๐ผ๐ฟ ๐ถ๐ป๐ฑ๐ฒ๐
๐ถ๐ป๐ด?
In vector databases, these (vector) indexes organize your embeddings to make similarity searches efficient. Instead of comparing your query against every single vector (which would take forever!), the index helps narrow down the search to the most relevant candidates.
๐ช๐ต๐ ๐ฑ๐ผ ๐๐ผ๐ ๐ป๐ฒ๐ฒ๐ฑ ๐ถ๐?
Searching millions of vectors without an index is computational suicide. Vector embeddings have hundreds or thousands of dimensions.
Without indexing, every search compares against EVERY vector. With indexing, you only check relevant vectors, and your search becomes more efficient.
๐ง๐๐ฝ๐ฒ๐ ๐ผ๐ณ ๐๐ป๐ฑ๐ฒ๐
๐ฒ๐:
โข ๐ฉ๐ฒ๐ฐ๐๐ผ๐ฟ ๐ถ๐ป๐ฑ๐ฒ๐
๐ฒ๐: For similarity search in high-dimensional space
โข ๐๐ป๐๐ฒ๐ฟ๐๐ฒ๐ฑ ๐ถ๐ป๐ฑ๐ฒ๐
๐ฒ๐: Traditional keyword matching - great for BM25 and exact matches
๐ง๐๐ฝ๐ฒ๐ ๐ผ๐ณ ๐ฉ๐ฒ๐ฐ๐๐ผ๐ฟ ๐๐ป๐ฑ๐ฒ๐
๐ฒ๐ ๐ถ๐ป ๐ช๐ฒ๐ฎ๐๐ถ๐ฎ๐๐ฒ:
- ๐๐ก๐ฆ๐ช - weaviate.io/developers/weaviโฆ
โ Perfect for: Large-scale production (>100k vectors)
โข ๐๐น๐ฎ๐ - weaviate.io/developers/weaviโฆ
โ Perfect for: Small datasets (<10k vectors) where precision is critical
โข ๐๐๐ป๐ฎ๐บ๐ถ๐ฐ - weaviate.io/developers/weaviโฆ
โ Perfect for: Growing applications
๐ง๐ต๐ฒ ๐ง๐ฟ๐ฎ๐ฑ๐ฒ-๐ผ๐ณ๐ณ๐
Every index type makes different compromises:
- Speed vs Accuracy
- Memory usage vs Performance
- Build time vs Query time
Choose wisely based on your specific needs.
๐ช๐ต๐ฒ๐ป ๐๐ผ ๐๐ธ๐ถ๐ฝ ๐ถ๐ป๐ฑ๐ฒ๐
๐ถ๐ป๐ด
For tiny datasets (<1000 vectors) or when you need absolute precision for legal/medical applications, the overhead of indexing might not be worth it. Sometimes brute force is actually faster than maintaining an index structure.
In short:
โ Choose HNSW when you need speed at scale
โ Pick Flat when accuracy is non-negotiable and data is manageable
โ Go Dynamic when you want Weaviate to handle the optimization for you
Learn more about Vector Indexes: weaviate.io/developers/weaviโฆ
Hugo Alatrista-Salas retweeted
๐๐ฐ Getters and Setters: Manage Attributes in Python โ realpython.com/python-getterโฆ
#python
Hugo Alatrista-Salas retweeted
Harvard University is literally giving away free online courses.
No payment Required.
Here are best courses you don't want to miss in 2025:
Hugo Alatrista-Salas retweeted
๐ ๐๐ฃ plus ๐๐ฎ๐, here is how they complement each other ๐
Protocol wars continue to rage, let's understand how Googles A2A (Agent2Agent) protocol is different from MCP and how they complement each other (read till the end).
๐๐ฐ๐ท๐ช๐ฏ๐จ ๐ฑ๐ช๐ฆ๐ค๐ฆ๐ด ๐ช๐ฏ ๐๐๐:
๐ญ. MCP Host - Programs using LLMs at the core that want to access data through MCP.
โ๏ธ When combined with A2A, an Agent becomes MCP Host.
๐ฎ. MCP Client - Clients that maintain 1:1 connections with servers.
๐ฏ. MCP Server - Lightweight programs that each expose specific capabilities through the standardised Model Context Protocol.
๐ฐ. Local Data Sources - Your computerโs files, databases, and services that MCP servers can securely access.
๐ฑ. Remote Data Sources - External systems available over the internet (e.g., through APIs) that MCP servers can connect to.
๐๐ฏ๐ต๐ฆ๐ณ ๐2๐:
Where MCP falls short, A2A tries to help. In multi-Agent applications where state is not necessarily shared
๐ฒ. Agents (MCP Hosts) would implement and communicate via A2A protocol, that enables:
โก๏ธ Secure Collaboration.
โก๏ธ Task and State Management.
โก๏ธ User Experience Negotiation.
โก๏ธ Capability discovery - similar to MCP tools.
๐๐ผ๐ป๐ฒ๐๐ ๐๐ต๐ผ๐๐ด๐ต๐๐:
โ๏ธ Open protocols for Agent communication are important but they are just a piece of the picture, there will be a need for standards that govern all of the existing protocols and other missing pieces. E.g.
โ How do we standardise tracing and Observability in multi-agent IOA systems?
โ How do we retain the identity of the running job of an AI Agent instance if the communication standard is not unified in different parts of the pipeline?
โ ...
โ
More on this in my future posts, stay tuned!
Let me know your thoughts in the comments. ๐
#LLM #AI #MachineLearning
Hugo Alatrista-Salas retweeted
๐ก Python Constructs That Use the else Block
1. if-else Statement
2. for-else Loop
3. while-else Loop
4. try-except-else
Some examples:
Hugo Alatrista-Salas retweeted
Linear Regression is one of the most important tools in a Data Scientist's toolbox.
Yet it's super confusing for beginners.
Let's fix that: ๐งต
Hugo Alatrista-Salas retweeted
2025 #AI Agents Tech stack
by @Khulood_Almani
#ArtificialIntelligence #MachineLearning #ML #MI
cc: @miketamir @evankirstel @theadamgabriel




































