🚀 Reproducing DeepSeek R1 for Text-to-Graph Extraction
I’ve been working on replicating DeepSeek R1, focusing on zero-shot text-to-graph extraction—a challenging task where LMs extract entities and relations from text based on predefined types.
🧠 Key Insight: Language models struggle when constrained by entity/relation types. Supervised training alone isn’t enough, but reinforcement learning (RL), specifically Guided Reward Policy Optimization (GRPO), shows promise.
💡 Why GRPO? It trains the model to generate structured graphs, optimizing multiple reward functions (format, JSON validity, and extraction accuracy). It allows the model to learn from both positive and hard negative examples dynamically. RL can be fine-tuned to emphasize relation extraction improvements.
📊 Early Results: Even with limited training, F1 scores consistently improved, and we saw clear benefits from RL-based optimization. More training = better performance!
🔬 Next Steps: We’re scaling up experiments with larger models and high-quality data. Stay tuned for updates! Meanwhile, check out one of our experimental models here: Ihor/Text2Graph-R1-Qwen2.5-0.5b
Yo fam, this ain't just another AI drop— this is the FUTURE of emotional intelligence! 🚀
Introducing HAI-SER, powered by Structured Emotional Reasoning (SER), the next-level AI that doesn’t just understand your words—it feels you, analyzes your emotions, and helps you navigate life’s toughest moments. 💡
💥 What makes HAI-SER a game-changer? 🔹 Emotional Vibe Check – Gets the mood, energy, and what’s really going on 🎭 🔹 Mind-State Analysis – Breaks down your thoughts, beliefs, and patterns 🤯 🔹 Root Cause Deep-Dive – Unpacks the WHY behind your emotions 💡 🔹 Impact Check – Sees how it’s affecting your life and mental health 💔 🔹 Safety Check – Prioritizes your well-being and crisis management 🚨 🔹 Healing Game Plan – Custom strategies to help you bounce back 💪 🔹 Growth Potential – Turns struggles into opportunities for self-improvement 📈 🔹 How to Approach – Teaches you and others how to communicate and heal 🤝 🔹 Personalized Response – Not just generic advice—real talk, tailored to YOU 💯
No more robotic AI responses. No more surface-level advice. HAI-SER gets deep, analyzing emotions with precision and giving real, actionable support.
This ain’t just AI—this is your digital therapist, life coach, and hype squad all in one. Whether it’s mental health, career struggles, relationships, or personal growth, HAI-SER has your back.
🚀 The future of emotionally intelligent AI is HERE. Are you ready? 🔥💯
Why choose between strong LLM reasoning and efficient models?
Use DeepSeek to generate high-quality training data, then distil that knowledge into ModernBERT answerdotai/ModernBERT-base for fast, efficient classification.
Given an input image, it generates several queries along with explanations to justify them. This approach can generate synthetic data for fine-tuning ColPali models.
The Hugging Face community has rated educational content in languages spoken by 1.6 billion people! New additions: • Japanese • Italian • Old High German
There's so much you could do with these developments. Especially combining them together into agentic applications or fine-tuning them on your use case.
I'm helping out on some community research to learn about the AI community. If you want to join in the conversation, head over here where I started a community discussion on the most influential model since BERT.
📣 Teachers and Students! Here's a handy quiz app if you're preparing your own study material.
TLDR, It's a quiz that uses a dataset to make questions and save answers
Here's how it works:
- make a dataset of multiple choice questions - duplicate the space add set the dataset repo - log in and do the quiz - submit the questions to create a new dataset
I made this to get ready for the agents course, but I hope it's useful for you projects too!