Triangle104 commited on
Commit
f759506
·
verified ·
1 Parent(s): 695986f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +74 -0
README.md CHANGED
@@ -18,6 +18,80 @@ 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 collection of multilingual large language models (LLMs), is a set of pre-trained and instruction-tuned generative models optimized for multilingual dialogue use cases. These models outperform many available open-source alternatives. Model Architecture: Llama 3.1 is an auto-regressive language model that utilizes an optimized transformer architecture. The tuned versions undergo supervised fine-tuning (SFT) and reinforcement learning with human feedback (RLHF) to better align with human preferences for helpfulness and safety. LwQ-10B is trained on synthetic reasoning datasets for mathematical reasoning and context-based problem-solving, with a focus on following instructions or keywords embedded in the input.
25
+ Use with transformers
26
+
27
+ 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.
28
+
29
+ Make sure to update your transformers installation via pip install --upgrade transformers.
30
+
31
+ import transformers
32
+ import torch
33
+
34
+ model_id = "prithivMLmods/LwQ-10B-Instruct"
35
+
36
+ pipeline = transformers.pipeline(
37
+ "text-generation",
38
+ model=model_id,
39
+ model_kwargs={"torch_dtype": torch.bfloat16},
40
+ device_map="auto",
41
+ )
42
+
43
+ messages = [
44
+ {"role": "system", "content": "You are a pirate chatbot who always responds in pirate speak!"},
45
+ {"role": "user", "content": "Who are you?"},
46
+ ]
47
+
48
+ outputs = pipeline(
49
+ messages,
50
+ max_new_tokens=256,
51
+ )
52
+ print(outputs[0]["generated_text"][-1])
53
+
54
+ Intended Use
55
+
56
+ Multilingual Conversational Agents:
57
+ LwQ-10B-Instruct is well-suited for building multilingual chatbots and virtual assistants, providing accurate and context-aware responses in various languages.
58
+
59
+ Instruction-Following Applications:
60
+ The model is ideal for tasks where adherence to specific instructions is critical, such as task automation, guided workflows, and structured content generation.
61
+
62
+ Mathematical and Logical Reasoning:
63
+ Trained on synthetic reasoning datasets, LwQ-10B can handle mathematical problem-solving, logical reasoning, and step-by-step explanations, making it suitable for education platforms and tutoring systems.
64
+
65
+ Contextual Problem-Solving:
66
+ The model is optimized for solving contextually rich problems by understanding and processing inputs with embedded instructions or keywords, useful for complex decision-making and recommendation systems.
67
+
68
+ Content Creation and Summarization:
69
+ LwQ-10B can generate high-quality content, including articles, reports, and summaries, across different languages and domains.
70
+
71
+ Limitations
72
+
73
+ Limited Context Window:
74
+ The model has a finite context length, which may affect its ability to handle tasks requiring extensive context or long conversations effectively.
75
+
76
+ Performance Variability Across Languages:
77
+ While it supports multiple languages, performance may vary, with higher accuracy in languages that are better represented in the training data.
78
+
79
+ Accuracy in Complex Reasoning:
80
+ Despite being trained on reasoning datasets, the model may occasionally produce incorrect or incomplete answers for highly complex or multi-step reasoning tasks.
81
+
82
+ Bias and Ethical Risks:
83
+ Since the model is trained on large datasets from diverse sources, it may exhibit biases present in the training data, potentially leading to inappropriate or biased outputs.
84
+
85
+ Dependency on Clear Instructions:
86
+ The model’s ability to generate accurate outputs relies heavily on the clarity and specificity of user instructions. Ambiguous or vague instructions may result in suboptimal responses.
87
+
88
+ Resource Requirements:
89
+ As a large language model with 10 billion parameters, it requires significant computational resources for both training and inference, limiting its deployment in low-resource environments.
90
+
91
+ Lack of Real-Time Understanding:
92
+ LwQ-10B lacks real-time understanding of current events or data beyond its training, so it may not provide accurate responses for highly recent or dynamic information.
93
+
94
+ ---
95
  ## Use with llama.cpp
96
  Install llama.cpp through brew (works on Mac and Linux)
97