mantra patel's picture

mantra patel PRO

mantrakp
Β·

AI & ML interests

None yet

Recent Activity

Organizations

Hugging Face Discord Community's profile picture

mantrakp's activity

replied to alielfilali01's post about 1 month ago
view reply

its really good at planning however it does have a very short context window due to large portion of the context window used during thinking process. That is probably what's holding the output quality back. To tackle this i generally start with o1 preview for the base approach and a draft, use o1 to add/remove stuff you don't need don't exceed 1 chat, keep on editing it, annoying but ik we don't rlly have a huge context window). Continue with 4o/claude from that point onwards

reacted to singhsidhukuldeep's post with πŸ‘ about 1 month ago
view post
Post
2279
Thinking about upgrading from Python 3.10 to 3.11? Here's why you should make the move - a deep technical breakdown that might convince you:

>> Performance Revolution
The performance improvements are staggering, with benchmarks showing 10-60% faster execution across different workloads. Let me break down the game-changing features:

>> Core Architecture Changes
Python 3.11's interpreter now uses statically allocated core modules, eliminating the multi-step loading process we've dealt with in 3.10. This means your applications will start 10-15% faster out of the gate.

>> Function Optimization
The redesigned frame objects are a thing of beauty - they've been stripped of unnecessary baggage, resulting in a 3-7% speedup for all function calls. But it gets better: function calls are now inlined, giving us a 1-3% boost, with recursive functions like Fibonacci seeing up to 1.7x improvement!

>> Adaptive Intelligence
The new Specializing Interpreter is perhaps the most exciting addition. Think of it as a lightweight JIT - it identifies hot code paths and optimizes them automatically.

The interpreter now automatically specializes math operations, array indexing, and even sequence unpacking based on actual usage patterns.

>> Exception Handling Revolution
My favorite feature? Zero-cost exceptions! Your try-except blocks no longer carry overhead when no exceptions occur. The code runs at full speed until an exception actually happens.

Ready to make the switch? These improvements aren't just numbers - they're real-world performance gains waiting to be unlocked in your codebase.
New activity in dev-mode-explorers/README 2 months ago
New activity in zero-gpu-explorers/README 3 months ago