Update README.md
Browse files
README.md
CHANGED
@@ -19,14 +19,13 @@ datasets:
|
|
19 |
|
20 |
![](https://huggingface.co/timpal0l/Mistral-7B-v0.1-flashback-v2/resolve/main/flashcat.png?download=true)
|
21 |
|
22 |
-
Mistral-7B-v0.1-flashback-v2-instruct is an instruct based version of the base model
|
|
|
23 |
|
24 |
## How to use:
|
25 |
```python
|
26 |
from transformers import pipeline
|
27 |
-
|
28 |
pipe = pipeline("text-generation", "timpal0l/Mistral-7B-v0.1-flashback-v2-instruct")
|
29 |
-
|
30 |
text="Hur många ägg har jag? Jag hade 10 ägg, sen gav jag bort 5 ägg. Sen fick jag 3 ägg av en kompis?"
|
31 |
print(pipe(f"USER:{text}ASSISTANT:", max_length=512, temperature=0.6)[0]["generated_text"].split("ASSISTANT: ")[1:][0])
|
32 |
```
|
|
|
19 |
|
20 |
![](https://huggingface.co/timpal0l/Mistral-7B-v0.1-flashback-v2/resolve/main/flashcat.png?download=true)
|
21 |
|
22 |
+
[Mistral-7B-v0.1-flashback-v2-instruct](https://huggingface.co/timpal0l/Mistral-7B-v0.1-flashback-v2-instruct) is an instruct based version of the base model [timpal0l/Mistral-7B-v0.1-flashback-v2](https://huggingface.co/timpal0l/Mistral-7B-v0.1-flashback-v2).
|
23 |
+
It has been finetuned on a machine translated subset of [OpenHermes2.5](https://huggingface.co/datasets/timpal0l/OpenHermes-2.5-sv).
|
24 |
|
25 |
## How to use:
|
26 |
```python
|
27 |
from transformers import pipeline
|
|
|
28 |
pipe = pipeline("text-generation", "timpal0l/Mistral-7B-v0.1-flashback-v2-instruct")
|
|
|
29 |
text="Hur många ägg har jag? Jag hade 10 ägg, sen gav jag bort 5 ägg. Sen fick jag 3 ägg av en kompis?"
|
30 |
print(pipe(f"USER:{text}ASSISTANT:", max_length=512, temperature=0.6)[0]["generated_text"].split("ASSISTANT: ")[1:][0])
|
31 |
```
|