# Jaskier 7b DPO

**This is work-in-progress model, may not be ready for production use**

Model based on `mindy-labs/mindy-7b-v2` (downstream version of Mistral7B) finetuned using Direct Preference Optimization on Intel/orca_dpo_pairs.

## How to use

You can use this model directly with a pipeline for sentiment-analysis:
```python
from transformers import pipeline

messages = [
    {
      "role": "system",
      "content": "You are a friendly chatbot who always responds in the style of a pirate."
    },
    {
      "role": "user",
      "content": "What is the capital city of France?"
    }
]

pipe = pipeline("conversational", "bardsai/jaskier-7b-dpo")
print(pipe(messages))
```

### Output
> assistant: In me hearties, th' capital city o' France be called Paris! A grand an' beautiful port full o' culture an' history. Yar, it be a fine place to visit an' swashbuckle abou'

## Changelog

- 2023-01-10: Initial release

## About bards.ai

At bards.ai, we focus on providing machine learning expertise and skills to our partners, particularly in the areas of nlp, machine vision and time series analysis. Our team is located in Wroclaw, Poland. Please visit our website for more information: bards.ai

Let us know if you use our model :). Also, if you need any help, feel free to contact us at info@bards.ai
{"language": ["en"], "license": "apache-2.0", "datasets": ["Intel/orca_dpo_pairs"], "pipeline_tag": "conversational"}
transformers safetensors mistral text-generation conversational en dataset:Intel/orca_dpo_pairs license:apache-2.0 autotrain_compatible endpoints_compatible has_space text-generation-inference region:us