base_model:Locutusque/TinyMistral-248M-v2.5experts:-source_model:Locutusque/TinyMistral-248M-v2positive_prompts:-"An emerging trend in global economics is"-"TITLE: The Next Generation of Internet Connectivity"-"begin a comprehensive analysis on the sociopolitical effects of"negative_prompts:-"Code a simple"-"Explain the Krebs cycle in detail"-"Compose a sonnet about"-source_model:Locutusque/TinyMistral-248M-v2.5positive_prompts:-"Advanced C++ memory management techniques"-"C# asynchronous programming best practices"-"AI's role in predictive analytics"-"textbook review on machine learning algorithms"-"## Exercise: Design a C# interface for a CRM system"-"## Solution: Optimize an AI-powered recommendation engine"negative_prompts:-"Narrate the story of"-"The ethical considerations in"-"Review the latest art exhibition by"-source_model:Locutusque/TinyMistral-248M-v2.5-Instructpositive_prompts:-"What is the chemical formula for photosynthesis?"-"Identification of a new mineral found on Mars"-"physics: Explaining the concept of relativity"-"Solve for x using differential equations:"-"history: Analyze the causes of the French Revolution"negative_prompts:-"Devise a business plan for"-"The evolution of culinary arts"-"Orchestrate a piece for a string quartet"-source_model:jtatman/tinymistral-v2-pycoder-instruct-248mpositive_prompts:-"Write a Python program for facial recognition"-"Explain dynamic typing in programming languages"-"algorithm development for efficient data sorting"negative_prompts:-"Who was the first Emperor of Rome?"-"Discuss the political dynamics in"-"Provide a proof for Fermat's Last Theorem"-"physics: The principles of thermodynamics"-source_model:Felladrin/TinyMistral-248M-SFT-v4positive_prompts:-"Escreba sobre a influência da música no Brasil"-"Voici un guide pour les voyageurs en France"-"Para entender la política de México, se debe considerar"-"Cuales son los efectos de la globalización en Argentina"-"Welche gesellschaftlichen Veränderungen gibt es in Deutschland"-"If you had to imagine a utopian city, what would be its core values?"negative_prompts:-"Calculate the integral of"-"Describe the process of cell division"-"Review the latest advancements in quantum computing"-source_model:Locutusque/TinyMistral-248M-v2-Instructpositive_prompts:-"Write an essay on the evolution of international trade laws"-"What are the key components of a sustainable urban ecosystem?"-"instruct on effective negotiation techniques in diplomacy"-"How does cognitive bias affect decision making in high-pressure environments?"-"Identify the architectural significance of the Sydney Opera House"negative_prompts:-"Develop a script to automate"-"Understanding inheritance in object-oriented programming"-"philosophy of existentialism in contemporary society"
💻 Usage
!pip install -qU transformers bitsandbytes accelerate
from transformers import AutoTokenizer
import transformers
import torch
model = "M4-ai/TinyMistral-6x248M"
tokenizer = AutoTokenizer.from_pretrained(model)
pipeline = transformers.pipeline(
"text-generation",
model=model,
model_kwargs={"torch_dtype": torch.float16, "load_in_4bit": True},
)
messages = [{"role": "user", "content": "Explain what a Mixture of Experts is in less than 100 words."}]
prompt = pipeline.tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
print(outputs[0]["generated_text"])
Runs of M4-ai TinyMistral-6x248M on huggingface.co
18
Total runs
0
24-hour runs
0
3-day runs
12
7-day runs
12
30-day runs
More Information About TinyMistral-6x248M huggingface.co Model
TinyMistral-6x248M huggingface.co is an AI model on huggingface.co that provides TinyMistral-6x248M's model effect (), which can be used instantly with this M4-ai TinyMistral-6x248M model. huggingface.co supports a free trial of the TinyMistral-6x248M model, and also provides paid use of the TinyMistral-6x248M. Support call TinyMistral-6x248M model through api, including Node.js, Python, http.
TinyMistral-6x248M huggingface.co is an online trial and call api platform, which integrates TinyMistral-6x248M's modeling effects, including api services, and provides a free online trial of TinyMistral-6x248M, you can try TinyMistral-6x248M online for free by clicking the link below.
M4-ai TinyMistral-6x248M online free url in huggingface.co:
TinyMistral-6x248M is an open source model from GitHub that offers a free installation service, and any user can find TinyMistral-6x248M on GitHub to install. At the same time, huggingface.co provides the effect of TinyMistral-6x248M install, users can directly use TinyMistral-6x248M installed effect in huggingface.co for debugging and trial. It also supports api for free installation.