Views
No views yet
do_sample: true
temperature: 0.2
top_p: 0.14
top_k: 12
repetition_penalty: 1.151base_model: Locutusque/TinyMistral-248M-v2.5
2experts:
3 - source_model: Locutusque/TinyMistral-248M-v2
4 positive_prompts:
5 - "An emerging trend in global economics is"
6 - "TITLE: The Next Generation of Internet Connectivity"
7 - "begin a comprehensive analysis on the sociopolitical effects of"
8 negative_prompts:
9 - "Code a simple"
10 - "Explain the Krebs cycle in detail"
11 - "Compose a sonnet about"
12
13 - source_model: Locutusque/TinyMistral-248M-v2.5
14 positive_prompts:
15 - "Advanced C++ memory management techniques"
16 - "C# asynchronous programming best practices"
17 - "AI's role in predictive analytics"
18 - "textbook review on machine learning algorithms"
19 - "## Exercise: Design a C# interface for a CRM system"
20 - "## Solution: Optimize an AI-powered recommendation engine"
21 negative_prompts:
22 - "Narrate the story of"
23 - "The ethical considerations in"
24 - "Review the latest art exhibition by"
25
26 - source_model: Locutusque/TinyMistral-248M-v2.5-Instruct
27 positive_prompts:
28 - "What is the chemical formula for photosynthesis?"
29 - "Identification of a new mineral found on Mars"
30 - "physics: Explaining the concept of relativity"
31 - "Solve for x using differential equations:"
32 - "history: Analyze the causes of the French Revolution"
33 negative_prompts:
34 - "Devise a business plan for"
35 - "The evolution of culinary arts"
36 - "Orchestrate a piece for a string quartet"
37
38 - source_model: jtatman/tinymistral-v2-pycoder-instruct-248m
39 positive_prompts:
40 - "Write a Python program for facial recognition"
41 - "Explain dynamic typing in programming languages"
42 - "algorithm development for efficient data sorting"
43 negative_prompts:
44 - "Who was the first Emperor of Rome?"
45 - "Discuss the political dynamics in"
46 - "Provide a proof for Fermat's Last Theorem"
47 - "physics: The principles of thermodynamics"
48
49 - source_model: Felladrin/TinyMistral-248M-SFT-v4
50 positive_prompts:
51 - "Escreba sobre a influência da música no Brasil"
52 - "Voici un guide pour les voyageurs en France"
53 - "Para entender la política de México, se debe considerar"
54 - "Cuales son los efectos de la globalización en Argentina"
55 - "Welche gesellschaftlichen Veränderungen gibt es in Deutschland"
56 - "If you had to imagine a utopian city, what would be its core values?"
57 negative_prompts:
58 - "Calculate the integral of"
59 - "Describe the process of cell division"
60 - "Review the latest advancements in quantum computing"
61
62 - source_model: Locutusque/TinyMistral-248M-v2-Instruct
63 positive_prompts:
64 - "Write an essay on the evolution of international trade laws"
65 - "What are the key components of a sustainable urban ecosystem?"
66 - "instruct on effective negotiation techniques in diplomacy"
67 - "How does cognitive bias affect decision making in high-pressure environments?"
68 - "Identify the architectural significance of the Sydney Opera House"
69 negative_prompts:
70 - "Develop a script to automate"
71 - "Understanding inheritance in object-oriented programming"
72 - "philosophy of existentialism in contemporary society"1!pip install -qU transformers bitsandbytes accelerate
2
3from transformers import AutoTokenizer
4import transformers
5import torch
6
7model = "M4-ai/TinyMistral-6x248M"
8
9tokenizer = AutoTokenizer.from_pretrained(model)
10pipeline = transformers.pipeline(
11 "text-generation",
12 model=model,
13 model_kwargs={"torch_dtype": torch.float16, "load_in_4bit": True},
14)
15
16messages = [{"role": "user", "content": "Explain what a Mixture of Experts is in less than 100 words."}]
17prompt = pipeline.tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
18outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
19print(outputs[0]["generated_text"])