tans37 commited on
Commit
8c3a5c6
·
verified ·
1 Parent(s): 53db7a7

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. all.jsonl +60 -0
  2. test.jsonl +30 -0
  3. train.jsonl +0 -0
  4. val.jsonl +30 -0
all.jsonl ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Design a recommendation engine that combines collaborative filtering, content-based filtering, and knowledge graphs. Provide the full system architecture."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.88}"}]}
2
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "What is the time complexity of binary search?"}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.89}"}]}
3
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write a research proposal for using reinforcement learning to optimize energy consumption in data centers."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.85}"}]}
4
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Design an algorithm to solve the traveling salesman problem for up to 20 cities using dynamic programming with bitmask, and analyze its complexity."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.93}"}]}
5
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Goodbye, have a nice day!"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.93}"}]}
6
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Give me a recipe for scrambled eggs."}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.86}"}]}
7
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "What color is the sky?"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.87}"}]}
8
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "What is the difference between HTTP and HTTPS?"}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.98}"}]}
9
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Given a dataset of customer purchases, describe how you would build a recommendation system."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.89}"}]}
10
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Hello, how are you?"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.91}"}]}
11
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "If a train travels 60 mph for 2.5 hours, how far does it go?"}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.86}"}]}
12
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Explain what photosynthesis is in simple terms."}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.88}"}]}
13
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Explain the proof of the Fundamental Theorem of Calculus and its connection to Riemann integration."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.96}"}]}
14
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write an async Python function that fetches data from 3 APIs concurrently."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.93}"}]}
15
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "What year did World War II end?"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.97}"}]}
16
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Explain the difference between a list and a tuple in Python."}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.89}"}]}
17
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "What does 'RSVP' stand for?"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.96}"}]}
18
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Explain backpropagation in neural networks step by step with a simple example."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.9}"}]}
19
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Design a scalable real-time chat system that handles 10 million concurrent users. Include architecture diagram description, technology choices, and failure handling."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.96}"}]}
20
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Who wrote Romeo and Juliet?"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.88}"}]}
21
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write a Python function that reverses a string."}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.89}"}]}
22
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write a technical blog post introduction about microservices vs monolithic architecture."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.95}"}]}
23
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "How does garbage collection work in Java vs Python? Compare approaches."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.98}"}]}
24
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Explain how a hash map works internally, including collision resolution strategies."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.89}"}]}
25
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write a comprehensive literature review on transformer architectures in NLP, covering attention mechanisms, positional encoding variants, and recent efficiency improvements."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.86}"}]}
26
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Perform a security threat model for a healthcare application handling PHI data under HIPAA, including attack vectors, mitigations, and compliance checklist."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.95}"}]}
27
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Analyze the trade-offs between SQL and NoSQL databases for an e-commerce platform."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.86}"}]}
28
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Given a legacy monolithic e-commerce application, create a detailed migration plan to microservices including service boundaries, data migration strategy, and rollback plan."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.96}"}]}
29
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "What is the square root of 4?"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.96}"}]}
30
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "A farmer has 100 meters of fencing. What dimensions maximize the enclosed rectangular area? Show your work."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.89}"}]}
31
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Debug this Python code that's supposed to find duplicates in a list but returns wrong results:\ndef find_dupes(lst):\n seen = []\n for i in lst:\n if i in lst:\n seen.append(i)\n return seen"}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.89}"}]}
32
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Design the database schema for a social media application with posts, comments, and likes."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.94}"}]}
33
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Explain the CAP theorem and its implications for distributed systems."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.91}"}]}
34
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write a 2000-word essay analyzing the ethical implications of artificial general intelligence, covering alignment, economic displacement, and governance."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.93}"}]}
35
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Summarize the plot of The Great Gatsby in 3 sentences."}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.95}"}]}
36
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Explain the mathematical foundations of public-key cryptography, including RSA and elliptic curve cryptography, with proofs of correctness."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.96}"}]}
37
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "How do you spell 'necessary'?"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.92}"}]}
38
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "How many days are in a week?"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.94}"}]}
39
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write a haiku about autumn."}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.86}"}]}
40
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "List the top 5 most populated countries."}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.96}"}]}
41
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write a Python function to find the longest common subsequence of two strings."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.96}"}]}
42
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Analyze the complexity classes P, NP, and NP-Complete. Explain the P vs NP problem and discuss the implications of its resolution."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.87}"}]}
43
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Convert this JSON to a Python dictionary: {\"name\": \"Alice\", \"age\": 30}"}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.93}"}]}
44
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Rewrite this sentence in passive voice: 'The cat chased the mouse.'"}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.96}"}]}
45
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Convert 100 Fahrenheit to Celsius"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.91}"}]}
46
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Design a distributed consensus protocol that improves on Raft for geo-replicated databases. Describe the algorithm, prove its safety properties, and analyze liveness."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.96}"}]}
47
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Implement a binary search tree with insert, delete, and search operations in Python."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.86}"}]}
48
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Prove that the square root of 2 is irrational."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.93}"}]}
49
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write a comprehensive technical specification for a programming language with dependent types, including syntax, type-checking rules, and example programs."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.88}"}]}
50
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "What are the SOLID principles in software engineering? Explain each with an example."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.91}"}]}
51
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "What are three healthy breakfast options?"}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.88}"}]}
52
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Create a full curriculum for teaching machine learning to software engineers, including 12 weekly modules with learning objectives, readings, and projects."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.87}"}]}
53
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "What is the capital of France?"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.97}"}]}
54
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "What is the boiling point of water?"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.97}"}]}
55
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Name the largest planet in our solar system."}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.94}"}]}
56
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Translate 'The quick brown fox jumps over the lazy dog' to French."}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.87}"}]}
57
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "What is 2 + 2?"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.86}"}]}
58
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Is water wet?"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.89}"}]}
59
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Compare and contrast REST APIs vs GraphQL. When would you choose each?"}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.93}"}]}
60
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "What are the pros and cons of remote work?"}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.96}"}]}
test.jsonl ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write a function to find the maximum of two numbers."}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.92}"}]}
2
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Calculate 15% tip on a $45 bill."}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.95}"}]}
3
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Solve the differential equation: dy/dx = y/x with the initial condition y(1) = 2."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.91}"}]}
4
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write a Python server script using asyncio that handles multiple concurrent TCP connections."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.89}"}]}
5
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Given the vector u = (1, 2, 3) and v = (4, -1, 0), calculate their cross product."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.93}"}]}
6
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Explain the mechanism of CRISPR-Cas9 gene editing at a molecular level."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.98}"}]}
7
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Explain the mathematical proof for the irrationality of the square root of 2."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.97}"}]}
8
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write a function that removes duplicate elements from a list while maintaining order."}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.96}"}]}
9
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "What is the absolute value of -15?"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.96}"}]}
10
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Create a function that converts a string to uppercase."}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.98}"}]}
11
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "If 3x = 12, what is x?"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.91}"}]}
12
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Prove by mathematical induction that for all n >= 1, the sum of the first n odd positive integers is n^2."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.95}"}]}
13
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write a function that returns 'Hello World'."}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.96}"}]}
14
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Does a triangle have 3 sides?"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.97}"}]}
15
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Solve the inequality: 10 - 2x > 4"}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.88}"}]}
16
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write a function that returns True if a number is negative."}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.93}"}]}
17
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write a function to find the minimum of two numbers."}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.93}"}]}
18
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write a comprehensive unit test suite using pytest for a Flask authentication blueprint, including edge cases."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.93}"}]}
19
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Design a RESTful API specification for an e-commerce checkout flow, including endpoints, verbs, requests, and responses."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.9}"}]}
20
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Is '123' a number or a word?"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.92}"}]}
21
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "There are 24 students in a class. Half of them are girls. How many girls are there?"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.93}"}]}
22
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Give me a step-by-step guide to boiling an egg."}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.96}"}]}
23
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "If P(A) = 0.6, P(B) = 0.5, and P(A U B) = 0.8, find P(A|B)."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.9}"}]}
24
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "What are the main differences between plant and animal cells?"}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.98}"}]}
25
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write a smart contract in Solidity for a decentralized voting system that prevents double voting and ensures anonymity."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.96}"}]}
26
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Create a function that returns the absolute value of a number."}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.96}"}]}
27
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Create a python script to print the numbers 1 to 5."}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.96}"}]}
28
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write a function to check if two strings are anagrams of each other."}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.9}"}]}
29
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Why do leaves change color in the fall?"}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.95}"}]}
30
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write a short poem about a cat."}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.93}"}]}
train.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
val.jsonl ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write a review for a fictional restaurant that had great food but terrible service."}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.89}"}]}
2
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Complete the sentence: An apple a day keeps the _____ away."}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.89}"}]}
3
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "What is the square root of 64?"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.94}"}]}
4
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "What color is a ripe banana?"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.93}"}]}
5
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "What is 9 squared?"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.88}"}]}
6
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "What is the opposite of 'hot'?"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.93}"}]}
7
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Translate this complex medical research abstract from English to Japanese, maintaining specialized terminology."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.91}"}]}
8
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Create a custom memory allocator module in Python simulating malloc and free using byte arrays."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.97}"}]}
9
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "What is the first letter of the alphabet?"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.9}"}]}
10
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Create a Python script to perform binary search on a sorted rotated array to find a target element."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.95}"}]}
11
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write a dialogue between two friends arguing about what movie to watch."}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.97}"}]}
12
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "What is 5 + 7?"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.93}"}]}
13
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write an algorithm that uses a Trie data structure to implement an autocomplete system."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.92}"}]}
14
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "If a printing press can print 500 pages in 4 hours, how many pages can it print in 7 hours?"}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.99}"}]}
15
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Create a function to count the frequency of words in a given string and return a dictionary."}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.89}"}]}
16
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Create a python implementation of a Bloom Filter with customizable hashing functions."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.96}"}]}
17
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write a function that converts a Roman numeral to an integer."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.93}"}]}
18
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write a comprehensive risk assessment report for migrating a legacy monolithic application to AWS cloud infrastructure."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.91}"}]}
19
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Create an algorithm to solve Sudoku puzzles using backtracking."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.96}"}]}
20
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Which is a vehicle: Car or Apple?"}, {"role": "assistant", "content": "{\"model_tier\": 1, \"confidence\": 0.93}"}]}
21
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Solve for x: 3x + 5 = 20"}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.96}"}]}
22
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Explain the concept of supply and demand."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.91}"}]}
23
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Create a function that computes the factorial of a number using iteration."}, {"role": "assistant", "content": "{\"model_tier\": 2, \"confidence\": 0.89}"}]}
24
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write a function that implements Dijkstra's algorithm to find the shortest path in a weighted graph."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.92}"}]}
25
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Create an algorithm to solve the N-Queens problem and return all distinct board configurations."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.94}"}]}
26
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Create a regular expression that matches valid IPv4 addresses, and explain each part of the regex."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.9}"}]}
27
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write a script that parses an abstract syntax tree (AST) for simple Python expressions and evaluates them safely."}, {"role": "assistant", "content": "{\"model_tier\": 4, \"confidence\": 0.96}"}]}
28
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Solve for x in the complex plane: x^4 = 1. Provide all roots."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.93}"}]}
29
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Find the shortest distance between the parallel lines 3x - 4y + 5 = 0 and 3x - 4y - 10 = 0."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.96}"}]}
30
+ {"messages": [{"role": "system", "content": "You are a query complexity router for Mistral AI models. Given a user query, classify it into the appropriate model tier and provide a confidence score.\n\nOutput ONLY valid JSON in this exact format:\n{\"model_tier\": <1|2|3|4>, \"confidence\": <0.0-1.0>}\n\nTier definitions:\n- Tier 1 (small): Simple factual lookups, greetings, trivial math, yes/no questions\n- Tier 2 (medium): Summarization, translation, moderate reasoning, simple coding\n- Tier 3 (large): Complex analysis, multi-step reasoning, debugging, comparisons\n- Tier 4 (xlarge): Expert-level research, novel problem-solving, proofs, system design"}, {"role": "user", "content": "Write an algorithm to find the longest palindromic substring in a given string."}, {"role": "assistant", "content": "{\"model_tier\": 3, \"confidence\": 0.99}"}]}