Model Card for mncai/mistral-7b-dpo-v5
Introduction of MindsAndCompany
We create various AI models and develop solutions that can be applied to businesses. And as for generative AI, we are developing products like Code Assistant, TOD Chatbot, LLMOps, and are in the process of developing Enterprise AGI (Artificial General Intelligence).
Model Summary
based mistral, instruction tuned and dpo.
How to Use
Here give some examples of how to use our model.
from transformers import AutoConfig, AutoModel, AutoTokenizer
import transformers
import torch
hf_model = 'mncai/mistral-7b-dpo-v5'
message = "<|user|>\nλ κ°μ κ΅¬κ° μλλ° κ°κ° μ§λ¦μ΄ 1, 2μΌλ κ° κ΅¬μ λΆνΌλ λͺλ°°μΌ? μ€λͺ
λ κ°μ΄ ν΄μ€.\n<|assistant|>\n"
sequences = pipeline(
message,
do_sample=True,
top_k=10,
num_return_sequences=1,
eos_token_id=tokenizer.eos_token_id,
max_length=2048,
)
for seq in sequences:
print(f"Result: {seq['generated_text']}")
Contact
If you have any questions, please raise an issue or contact us at [email protected]
- Downloads last month
- 1,193
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social
visibility and check back later, or deploy to Inference Endpoints (dedicated)
instead.