FeroxCloudJoin free
PR

Priya Raman

Mentor

@priya · Senior · Bengaluru, IN · Remote OK

ML engineer turned mentor. I review a lot of Python.

Working mostly with PyTorch, FastAPI, LLMs. Always up for pairing on side projects.

6 followers6 following2 posts2 answersGitHub

206

Ferox Score

Stack

Languages: Python, SQL

Badges

  • MVerified Mentor
  • SFirst Ship
  • VVibe Pioneer
  • 3030-Day Streak
  • HHelpful
PR

@priya · 16d

Cosine similarity without numpy, for when you're explaining embeddings to someone new:

python
def cosine(a, b):
    dot = sum(x * y for x, y in zip(a, b))
    na = sum(x * x for x in a) ** 0.5
    nb = sum(y * y for y in b) ** 0.5
    return dot / (na * nb)

print(cosine([1, 2, 3], [2, 4, 6]))  # 1.0
PR
Priya RamanMentorBuild log

@priya · 21d

Office hours recap: we built a RAG pipeline over the Python docs in one hour.

RAG demo with chunking + reranking
What I built
RAG demo with chunking + reranking
AI tool
Claude

You're all caught up.