prithivMLmods commited on
Commit
34d266c
·
verified ·
1 Parent(s): 670d50a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +88 -0
README.md CHANGED
@@ -11,3 +11,91 @@ tags:
11
  - 14B
12
  ---
13
  ![8.png](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/tjNuRLSzhSKu0cdE8opl8.png)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  - 14B
12
  ---
13
  ![8.png](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/tjNuRLSzhSKu0cdE8opl8.png)
14
+
15
+ # **Fornax-Qwen-14B**
16
+
17
+ > Fornax-Qwen-14B is based on the Qwen 2.5 14B modality architecture, designed to enhance the reasoning capabilities of 14B-parameter models. This model is optimized for general-purpose reasoning and answering, excelling in contextual understanding, logical deduction, and multi-step problem-solving. It has been fine-tuned using a long chain-of-thought reasoning model and specialized datasets to improve comprehension, structured responses, and conversational intelligence.
18
+
19
+ ## **Key Improvements**
20
+ 1. **Enhanced General Knowledge**: The model provides broad knowledge across various domains, improving capabilities in answering questions accurately and generating coherent responses.
21
+ 2. **Improved Instruction Following**: Significant advancements in understanding and following complex instructions, generating structured responses, and maintaining coherence over extended interactions.
22
+ 3. **Versatile Adaptability**: More resilient to diverse prompts, enhancing its ability to handle a wide range of topics and conversation styles, including open-ended and structured inquiries.
23
+ 4. **Long-Context Support**: Supports up to 128K tokens for input context and can generate up to 8K tokens in a single output, making it ideal for detailed responses.
24
+ 5. **Multilingual Proficiency**: Supports over 29 languages, including English, Chinese, French, Spanish, Portuguese, German, Italian, Russian, Japanese, Korean, Vietnamese, Thai, Arabic, and more.
25
+
26
+ ## **Quickstart with transformers**
27
+
28
+ Here is a code snippet with `apply_chat_template` to show you how to load the tokenizer and model and generate content:
29
+
30
+ ```python
31
+ from transformers import AutoModelForCausalLM, AutoTokenizer
32
+
33
+ model_name = "prithivMLmods/Fornax-Qwen-14B"
34
+
35
+ model = AutoModelForCausalLM.from_pretrained(
36
+ model_name,
37
+ torch_dtype="auto",
38
+ device_map="auto"
39
+ )
40
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
41
+
42
+ prompt = "What are the key principles of general-purpose AI?"
43
+ messages = [
44
+ {"role": "system", "content": "You are a helpful assistant capable of answering a wide range of questions."},
45
+ {"role": "user", "content": prompt}
46
+ ]
47
+ text = tokenizer.apply_chat_template(
48
+ messages,
49
+ tokenize=False,
50
+ add_generation_prompt=True
51
+ )
52
+ model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
53
+
54
+ generated_ids = model.generate(
55
+ **model_inputs,
56
+ max_new_tokens=512
57
+ )
58
+ generated_ids = [
59
+ output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
60
+ ]
61
+
62
+ response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
63
+ ```
64
+
65
+ ## **Intended Use**
66
+ 1. **General-Purpose Reasoning**:
67
+ Designed for broad applicability, assisting with logical reasoning, answering diverse questions, and solving general knowledge problems.
68
+
69
+ 2. **Educational and Informational Assistance**:
70
+ Suitable for providing explanations, summaries, and research-based responses for students, educators, and general users.
71
+
72
+ 3. **Conversational AI and Chatbots**:
73
+ Ideal for building intelligent conversational agents that require contextual understanding and dynamic response generation.
74
+
75
+ 4. **Multilingual Applications**:
76
+ Supports global communication, translations, and multilingual content generation.
77
+
78
+ 5. **Structured Data Processing**:
79
+ Capable of analyzing and generating structured outputs, such as tables and JSON, useful for data science and automation.
80
+
81
+ 6. **Long-Form Content Generation**:
82
+ Can generate extended responses, including articles, reports, and guides, maintaining coherence over large text outputs.
83
+
84
+ ## **Limitations**
85
+ 1. **Hardware Requirements**:
86
+ Requires high-memory GPUs or TPUs due to its large parameter size and long-context support.
87
+
88
+ 2. **Potential Bias in Responses**:
89
+ While designed to be neutral, outputs may still reflect biases present in training data.
90
+
91
+ 3. **Inconsistent Outputs in Creative Tasks**:
92
+ May produce variable results in storytelling and highly subjective topics.
93
+
94
+ 4. **Limited Real-World Awareness**:
95
+ Does not have access to real-time events beyond its training cutoff.
96
+
97
+ 5. **Error Propagation in Extended Outputs**:
98
+ Minor errors in early responses may affect overall coherence in long-form outputs.
99
+
100
+ 6. **Prompt Sensitivity**:
101
+ The effectiveness of responses may depend on how well the input prompt is structured.