Triangle104 commited on
Commit
64427ff
·
verified ·
1 Parent(s): 574ff00

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +160 -0
README.md CHANGED
@@ -18,6 +18,166 @@ tags:
18
  This model was converted to GGUF format from [`prithivMLmods/LwQ-10B-Instruct`](https://huggingface.co/prithivMLmods/LwQ-10B-Instruct) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
19
  Refer to the [original model card](https://huggingface.co/prithivMLmods/LwQ-10B-Instruct) for more details on the model.
20
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  ## Use with llama.cpp
22
  Install llama.cpp through brew (works on Mac and Linux)
23
 
 
18
  This model was converted to GGUF format from [`prithivMLmods/LwQ-10B-Instruct`](https://huggingface.co/prithivMLmods/LwQ-10B-Instruct) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
19
  Refer to the [original model card](https://huggingface.co/prithivMLmods/LwQ-10B-Instruct) for more details on the model.
20
 
21
+ ---
22
+ Model details:
23
+ -
24
+ LwQ-10B-Instruct (Llama with Questions), based on the Llama 3.1
25
+ collection of multilingual large language models (LLMs), is a set of
26
+ pre-trained and instruction-tuned generative models optimized for
27
+ multilingual dialogue use cases. These models outperform many available
28
+ open-source alternatives. Model Architecture: Llama 3.1 is an
29
+ auto-regressive language model that utilizes an optimized transformer
30
+ architecture. The tuned versions undergo supervised fine-tuning (SFT)
31
+ and reinforcement learning with human feedback (RLHF) to better align
32
+ with human preferences for helpfulness and safety. LwQ-10B is trained on
33
+ synthetic reasoning datasets for mathematical reasoning and
34
+ context-based problem-solving, with a focus on following instructions or
35
+ keywords embedded in the input.
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+ Use with transformers
44
+
45
+
46
+
47
+
48
+ Starting with transformers >= 4.43.0 onward, you can run conversational inference using the Transformers pipeline abstraction or by leveraging the Auto classes with the generate() function.
49
+
50
+
51
+ Make sure to update your transformers installation via pip install --upgrade transformers.
52
+
53
+
54
+ import transformers
55
+ import torch
56
+
57
+ model_id = "prithivMLmods/LwQ-10B-Instruct"
58
+
59
+ pipeline = transformers.pipeline(
60
+ "text-generation",
61
+ model=model_id,
62
+ model_kwargs={"torch_dtype": torch.bfloat16},
63
+ device_map="auto",
64
+ )
65
+
66
+ messages = [
67
+ {"role": "system", "content": "You are a pirate chatbot who always responds in pirate speak!"},
68
+ {"role": "user", "content": "Who are you?"},
69
+ ]
70
+
71
+ outputs = pipeline(
72
+ messages,
73
+ max_new_tokens=256,
74
+ )
75
+ print(outputs[0]["generated_text"][-1])
76
+
77
+
78
+
79
+
80
+
81
+
82
+
83
+
84
+ Intended Use
85
+
86
+
87
+
88
+
89
+ Multilingual Conversational Agents:
90
+ LwQ-10B-Instruct
91
+ is well-suited for building multilingual chatbots and virtual
92
+ assistants, providing accurate and context-aware responses in various
93
+ languages.
94
+
95
+
96
+ Instruction-Following Applications:
97
+ The model
98
+ is ideal for tasks where adherence to specific instructions is
99
+ critical, such as task automation, guided workflows, and structured
100
+ content generation.
101
+
102
+
103
+ Mathematical and Logical Reasoning:
104
+ Trained
105
+ on synthetic reasoning datasets, LwQ-10B can handle mathematical
106
+ problem-solving, logical reasoning, and step-by-step explanations,
107
+ making it suitable for education platforms and tutoring systems.
108
+
109
+
110
+ Contextual Problem-Solving:
111
+ The model is
112
+ optimized for solving contextually rich problems by understanding and
113
+ processing inputs with embedded instructions or keywords, useful for
114
+ complex decision-making and recommendation systems.
115
+
116
+
117
+ Content Creation and Summarization:
118
+ LwQ-10B can generate high-quality content, including articles, reports, and summaries, across different languages and domains.
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+ Limitations
129
+
130
+
131
+
132
+
133
+ Limited Context Window:
134
+ The model has a
135
+ finite context length, which may affect its ability to handle tasks
136
+ requiring extensive context or long conversations effectively.
137
+
138
+
139
+ Performance Variability Across Languages:
140
+ While
141
+ it supports multiple languages, performance may vary, with higher
142
+ accuracy in languages that are better represented in the training data.
143
+
144
+
145
+
146
+ Accuracy in Complex Reasoning:
147
+ Despite being
148
+ trained on reasoning datasets, the model may occasionally produce
149
+ incorrect or incomplete answers for highly complex or multi-step
150
+ reasoning tasks.
151
+
152
+
153
+ Bias and Ethical Risks:
154
+ Since the model is
155
+ trained on large datasets from diverse sources, it may exhibit biases
156
+ present in the training data, potentially leading to inappropriate or
157
+ biased outputs.
158
+
159
+
160
+ Dependency on Clear Instructions:
161
+ The model’s
162
+ ability to generate accurate outputs relies heavily on the clarity and
163
+ specificity of user instructions. Ambiguous or vague instructions may
164
+ result in suboptimal responses.
165
+
166
+
167
+ Resource Requirements:
168
+ As a large language
169
+ model with 10 billion parameters, it requires significant computational
170
+ resources for both training and inference, limiting its deployment in
171
+ low-resource environments.
172
+
173
+
174
+ Lack of Real-Time Understanding:
175
+ LwQ-10B
176
+ lacks real-time understanding of current events or data beyond its
177
+ training, so it may not provide accurate responses for highly recent or
178
+ dynamic information.
179
+
180
+ ---
181
  ## Use with llama.cpp
182
  Install llama.cpp through brew (works on Mac and Linux)
183