File size: 1,873 Bytes
26194e5
 
25c0f5c
 
 
 
 
 
15ea92b
 
26194e5
 
25c0f5c
26194e5
25c0f5c
26194e5
479916e
 
 
 
 
 
15ea92b
26194e5
15ea92b
 
 
 
 
4c8b5b6
 
15ea92b
4c8b5b6
 
7f2d500
4c8b5b6
 
15ea92b
 
 
 
 
7f2d500
be80420
15ea92b
25c0f5c
26194e5
25c0f5c
26194e5
25c0f5c
26194e5
25c0f5c
26194e5
25c0f5c
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
48
49
50
51
52
53
54
---
library_name: transformers
tags:
- llm
- 7b
license: cc-by-4.0
language:
- en
datasets:
- argilla/distilabel-math-preference-dpo
---

# Jaskier-7b-dpo-v5.6

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

<figure>

![Jaskier](Bard.jpeg)

</figure>

Model based on `paulml/OGNO-7B` (downstream version of Mistral7B) finetuned using Direct Preference Optimization on argilla/distilabel-math-preference-dpo.

## How to use

You can use this model directly with a Hugging Face pipeline:
```python

from transformers import pipeline, Conversation
import torch

base_model_name = "bardsai/jaskier-7b-dpo-v5.6"
chatbot = pipeline("conversational", model=base_model_name, torch_dtype=torch.float16, device_map="auto")
conversation = Conversation("Is bard an ML engineer?")
conversation = chatbot(conversation)
print(conversation.messages[-1]["content"])

```

## Output

"There is no direct personal connection between the concept of a "bard" and an "ML engineer." A bard is a mythical or literary figure, often a storyteller or musician, while an ML engineer refers to a Machine Learning engineer, a professional in the tech industry. They are unrelated entities, one fictional and the other a real-world occupation."

If you still find any issues with "INST" character chain appearing in generated output, try our newest model: https://huggingface.co/bardsai/jaskier-7b-dpo-v6.1 . Re-tasking the prompt can also help. 
## Changelog

- 2024-02-16: 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 [email protected]