MaziyarPanahi
commited on
Commit
•
f59a9cd
1
Parent(s):
0330cd4
Create README.md (#2)
Browse files- Create README.md (654d0501e70f999c8ccd9eb2bdc831a804606d07)
README.md
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
pipeline_tag: text-generation
|
5 |
+
tags:
|
6 |
+
- chat
|
7 |
+
- llama
|
8 |
+
- facebook
|
9 |
+
- llaam3
|
10 |
+
- finetune
|
11 |
+
- chatml
|
12 |
+
library_name: transformers
|
13 |
+
inference: false
|
14 |
+
model_creator: MaziyarPanahi
|
15 |
+
quantized_by: MaziyarPanahi
|
16 |
+
base_model: meta-llama/Meta-Llama-3.1-70B-Instruct
|
17 |
+
model_name: calme-2.1-llama3.1-70b
|
18 |
+
datasets:
|
19 |
+
- MaziyarPanahi/truthy-dpo-v0.1-axolotl
|
20 |
+
---
|
21 |
+
|
22 |
+
<img src="./calme-2.webp" alt="Calme-2 Models" width="800" style="margin-left:'auto' margin-right:'auto' display:'block'"/>
|
23 |
+
|
24 |
+
# MaziyarPanahi/calme-2.1-llama3.1-70b
|
25 |
+
|
26 |
+
This model is a fine-tuned version of the powerful `Qwen/Qwen2-72B-Instruct`, pushing the boundaries of natural language understanding and generation even further. My goal was to create a versatile and robust model that excels across a wide range of benchmarks and real-world applications.
|
27 |
+
|
28 |
+
|
29 |
+
## Use Cases
|
30 |
+
|
31 |
+
This model is suitable for a wide range of applications, including but not limited to:
|
32 |
+
|
33 |
+
- Advanced question-answering systems
|
34 |
+
- Intelligent chatbots and virtual assistants
|
35 |
+
- Content generation and summarization
|
36 |
+
- Code generation and analysis
|
37 |
+
- Complex problem-solving and decision support
|
38 |
+
|
39 |
+
# ⚡ Quantized GGUF
|
40 |
+
|
41 |
+
All GGUF models are available here: coming soon!
|
42 |
+
|
43 |
+
# 🏆 [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
|
44 |
+
|
45 |
+
coming soon!
|
46 |
+
|
47 |
+
|
48 |
+
This model uses `ChatML` prompt template:
|
49 |
+
|
50 |
+
```
|
51 |
+
<|im_start|>system
|
52 |
+
{System}
|
53 |
+
<|im_end|>
|
54 |
+
<|im_start|>user
|
55 |
+
{User}
|
56 |
+
<|im_end|>
|
57 |
+
<|im_start|>assistant
|
58 |
+
{Assistant}
|
59 |
+
````
|
60 |
+
|
61 |
+
# How to use
|
62 |
+
|
63 |
+
|
64 |
+
```python
|
65 |
+
|
66 |
+
# Use a pipeline as a high-level helper
|
67 |
+
|
68 |
+
from transformers import pipeline
|
69 |
+
|
70 |
+
messages = [
|
71 |
+
{"role": "user", "content": "Who are you?"},
|
72 |
+
]
|
73 |
+
pipe = pipeline("text-generation", model="MaziyarPanahi/calme-2.1-llama3.1-70b")
|
74 |
+
pipe(messages)
|
75 |
+
|
76 |
+
|
77 |
+
# Load model directly
|
78 |
+
|
79 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
80 |
+
|
81 |
+
tokenizer = AutoTokenizer.from_pretrained("MaziyarPanahi/calme-2.1-llama3.1-70b")
|
82 |
+
model = AutoModelForCausalLM.from_pretrained("MaziyarPanahi/calme-2.1-llama3.1-70b")
|
83 |
+
```
|
84 |
+
|
85 |
+
|
86 |
+
# Ethical Considerations
|
87 |
+
|
88 |
+
As with any large language model, users should be aware of potential biases and limitations. We recommend implementing appropriate safeguards and human oversight when deploying this model in production environments.
|