File size: 1,423 Bytes
0ef196b
 
 
 
 
 
ddc14e2
0ef196b
72896c6
0ef196b
9e1afa1
 
d2837bf
 
72896c6
d2837bf
 
 
 
 
 
 
 
 
 
 
 
f7ae940
d2837bf
 
b4d3ef5
d2837bf
 
 
 
b4d3ef5
 
d2837bf
0ef196b
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
license: apache-2.0
language:
- en
datasets:
- Intel/orca_dpo_pairs
pipeline_tag: conversational
---
# 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