MaziyarPanahi
commited on
Commit
•
a30cf0e
1
Parent(s):
c2573d6
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,164 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
- mistral
|
6 |
+
- 7b
|
7 |
+
- calme
|
8 |
+
model-index:
|
9 |
+
- name: Calme-7B-Instruct-v0.2
|
10 |
+
results: []
|
11 |
+
model_name: Calme-7B-Instruct-v0.2
|
12 |
+
inference: false
|
13 |
+
model_creator: MaziyarPanahi
|
14 |
+
pipeline_tag: text-generation
|
15 |
+
quantized_by: MaziyarPanahi
|
16 |
+
---
|
17 |
+
|
18 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/5fd5e18a90b6dc4633f6d292/LzEf6vvq2qIiys-q7l9Hq.webp" width="550" />
|
19 |
+
|
20 |
+
# MaziyarPanahi/Calme-7B-Instruct-v0.2
|
21 |
+
|
22 |
+
## Model Description
|
23 |
+
|
24 |
+
Calme-7B is a state-of-the-art language model with 7 billion parameters, fine-tuned over high-quality datasets on top of Mistral-7B. The Calme-7B models excel in generating text that resonates with clarity, calmness, and coherence.
|
25 |
+
|
26 |
+
### How to Use
|
27 |
+
|
28 |
+
```python
|
29 |
+
# Use a pipeline as a high-level helper
|
30 |
+
from transformers import pipeline
|
31 |
+
|
32 |
+
pipe = pipeline("text-generation", model="MaziyarPanahi/Calme-7B-Instruct-v0.2")
|
33 |
+
|
34 |
+
# Load model directly
|
35 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
36 |
+
|
37 |
+
tokenizer = AutoTokenizer.from_pretrained("MaziyarPanahi/Calme-7B-Instruct-v0.2")
|
38 |
+
model = AutoModelForCausalLM.from_pretrained("MaziyarPanahi/Calme-7B-Instruct-v0.2")
|
39 |
+
```
|
40 |
+
|
41 |
+
### Quantized Models
|
42 |
+
|
43 |
+
> I love how GGUF democratizes the use of Large Language Models (LLMs) on commodity hardware, more specifically, personal computers without any accelerated hardware. Because of this, I am committed to converting and quantizing any models I fine-tune to make them accessible to everyone!
|
44 |
+
|
45 |
+
- GGUF (2/3/4/5/6/8 bits): [MaziyarPanahi/Calme-7B-Instruct-v0.2-GGUF](https://huggingface.co/MaziyarPanahi/Calme-7B-Instruct-v0.2-GGUF)
|
46 |
+
|
47 |
+
## Examples
|
48 |
+
|
49 |
+
```
|
50 |
+
<s>[INST] You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature.
|
51 |
+
|
52 |
+
If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.
|
53 |
+
|
54 |
+
describe about pros and cons of docker system. [/INST]
|
55 |
+
```
|
56 |
+
|
57 |
+
<details>
|
58 |
+
<summary>Show me the response</summary>
|
59 |
+
|
60 |
+
```
|
61 |
+
|
62 |
+
```
|
63 |
+
|
64 |
+
</details>
|
65 |
+
|
66 |
+
|
67 |
+
```
|
68 |
+
|
69 |
+
```
|
70 |
+
|
71 |
+
<details>
|
72 |
+
<summary>Show me the response</summary>
|
73 |
+
|
74 |
+
```
|
75 |
+
|
76 |
+
```
|
77 |
+
|
78 |
+
</details>
|
79 |
+
|
80 |
+
|
81 |
+
```
|
82 |
+
<s> [INST] Mark is faster than Mary, Mary is faster than Joe. Is Joe faster than Mark? Let's think step by step [/INST]
|
83 |
+
```
|
84 |
+
|
85 |
+
<details>
|
86 |
+
<summary>Show me the response</summary>
|
87 |
+
|
88 |
+
```
|
89 |
+
|
90 |
+
```
|
91 |
+
|
92 |
+
</details>
|
93 |
+
|
94 |
+
|
95 |
+
```
|
96 |
+
|
97 |
+
```
|
98 |
+
|
99 |
+
<details>
|
100 |
+
<summary>Show me the response</summary>
|
101 |
+
|
102 |
+
```
|
103 |
+
|
104 |
+
```
|
105 |
+
|
106 |
+
</details>
|
107 |
+
|
108 |
+
|
109 |
+
```
|
110 |
+
<s> [INST] explain step by step 25-4*2+3=? [/INST]
|
111 |
+
```
|
112 |
+
|
113 |
+
<details>
|
114 |
+
<summary>Show me the response</summary>
|
115 |
+
|
116 |
+
```
|
117 |
+
|
118 |
+
```
|
119 |
+
</details>
|
120 |
+
|
121 |
+
|
122 |
+
**Multilingual:**
|
123 |
+
|
124 |
+
```
|
125 |
+
<s> [INST] Vous êtes un assistant utile, respectueux et honnête. Répondez toujours de la manière la plus utile possible, tout en étant sûr. Vos réponses ne doivent inclure aucun contenu nuisible, contraire à l'éthique, raciste, sexiste, toxique, dangereux ou illégal. Assurez-vous que vos réponses sont socialement impartiales et de nature positive.
|
126 |
+
|
127 |
+
Si une question n'a pas de sens ou n'est pas cohérente d'un point de vue factuel, expliquez pourquoi au lieu de répondre quelque chose d'incorrect. Si vous ne connaissez pas la réponse à une question, veuillez ne pas partager de fausses informations.
|
128 |
+
|
129 |
+
Décrivez les avantages et les inconvénients du système Docker.[/INST]
|
130 |
+
```
|
131 |
+
|
132 |
+
<details>
|
133 |
+
<summary>Show me the response</summary>
|
134 |
+
|
135 |
+
```
|
136 |
+
|
137 |
+
```
|
138 |
+
|
139 |
+
<details>
|
140 |
+
<summary>Show me the response</summary>
|
141 |
+
|
142 |
+
```
|
143 |
+
|
144 |
+
```
|
145 |
+
|
146 |
+
</details>
|
147 |
+
|
148 |
+
|
149 |
+
```
|
150 |
+
<s>[INST] Ви - корисний, поважний та чесний помічник. Завжди відповідайте максимально корисно, будучи безпечним. Ваші відповіді не повинні містити шкідливого, неетичного, расистського, сексистського, токсичного, небезпечного або нелегального контенту. Будь ласка, переконайтеся, що ваші відповіді соціально неупереджені та мають позитивний характер.
|
151 |
+
|
152 |
+
Якщо питання не має сенсу або не є фактично послідовним, поясніть чому, замість того, щоб відповідати щось некоректне. Якщо ви не знаєте відповіді на питання, будь ласка, не діліться неправдивою інформацією.
|
153 |
+
|
154 |
+
Опис про переваги та недоліки системи Docker.[/INST]
|
155 |
+
```
|
156 |
+
|
157 |
+
<details>
|
158 |
+
<summary>Show me the response</summary>
|
159 |
+
|
160 |
+
```
|
161 |
+
|
162 |
+
```
|
163 |
+
|
164 |
+
</details>
|