Update README.md
Browse files
README.md
CHANGED
@@ -5,10 +5,11 @@ language:
|
|
5 |
datasets:
|
6 |
- Intel/orca_dpo_pairs
|
7 |
---
|
|
|
8 |
|
9 |
Model based on `mindy-labs/mindy-7b-v2` (downstream version of Mistral7B) finetuned using Direct Preference Optimization on Intel/orca_dpo_pairs.
|
10 |
|
11 |
-
How to use
|
12 |
|
13 |
You can use this model directly with a pipeline for sentiment-analysis:
|
14 |
```python
|
@@ -32,19 +33,6 @@ print(pipe(messages))
|
|
32 |
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'
|
33 |
```
|
34 |
|
35 |
-
# Generate text
|
36 |
-
sequences = pipeline(
|
37 |
-
prompt,
|
38 |
-
do_sample=True,
|
39 |
-
temperature=0.7,
|
40 |
-
top_p=0.9,
|
41 |
-
num_return_sequences=1,
|
42 |
-
max_length=300,
|
43 |
-
)
|
44 |
-
|
45 |
-
print(sequences[0]['generated_text'])
|
46 |
-
```
|
47 |
-
|
48 |
## Changelog
|
49 |
|
50 |
- 2023-01-10: Initial release
|
|
|
5 |
datasets:
|
6 |
- Intel/orca_dpo_pairs
|
7 |
---
|
8 |
+
# Jaskier 7b DPO
|
9 |
|
10 |
Model based on `mindy-labs/mindy-7b-v2` (downstream version of Mistral7B) finetuned using Direct Preference Optimization on Intel/orca_dpo_pairs.
|
11 |
|
12 |
+
## How to use
|
13 |
|
14 |
You can use this model directly with a pipeline for sentiment-analysis:
|
15 |
```python
|
|
|
33 |
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'
|
34 |
```
|
35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
## Changelog
|
37 |
|
38 |
- 2023-01-10: Initial release
|