prithivMLmods commited on
Commit
b3c6c9f
·
verified ·
1 Parent(s): 659765a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +80 -1
README.md CHANGED
@@ -24,8 +24,87 @@ base_model:
24
  pipeline_tag: text-generation
25
  library_name: transformers
26
  ---
 
 
 
 
 
 
 
 
 
 
 
 
27
  >Prompt Style :
28
  >
29
  > Make a dark-themed minimalist dashboard for an **oil rig**.
30
  >
31
- > [HTML, CSS, and more if required].
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  pipeline_tag: text-generation
25
  library_name: transformers
26
  ---
27
+
28
+ # **Raptor X1**
29
+
30
+ > Raptor X1 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 advanced coding reasoning and UI coding. It excels in contextual understanding, logical deduction, and multi-step problem-solving. Raptor X1 has been fine-tuned using a long chain-of-thought reasoning model and specialized datasets to improve comprehension, structured responses, and conversational intelligence.
31
+
32
+ Key improvements include:
33
+ 1. **Enhanced Coding Reasoning**: Provides in-depth explanations and optimizations for complex coding problems, making it useful for developers and engineers.
34
+ 2. **Advanced UI Coding Support**: Excels in generating and refining front-end code for web and mobile applications.
35
+ 3. **General-Purpose Coding**: Capable of generating, debugging, and optimizing code across multiple programming languages, supporting software development and automation.
36
+ 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.
37
+ 5. **Multilingual Proficiency**: Supports over 29 languages, including English, Chinese, French, Spanish, Portuguese, German, Italian, Russian, Japanese, Korean, Vietnamese, Thai, Arabic, and more.
38
+
39
  >Prompt Style :
40
  >
41
  > Make a dark-themed minimalist dashboard for an **oil rig**.
42
  >
43
+ > [HTML, CSS, and more if required].
44
+
45
+ # **Quickstart with transformers**
46
+
47
+ Here is a code snippet with `apply_chat_template` to show you how to load the tokenizer and model and generate content:
48
+
49
+ ```python
50
+ from transformers import AutoModelForCausalLM, AutoTokenizer
51
+
52
+ model_name = "prithivMLmods/Raptor-X1"
53
+
54
+ model = AutoModelForCausalLM.from_pretrained(
55
+ model_name,
56
+ torch_dtype="auto",
57
+ device_map="auto"
58
+ )
59
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
60
+
61
+ prompt = "How do I optimize React performance?"
62
+ messages = [
63
+ {"role": "system", "content": "You are a helpful assistant capable of answering a wide range of questions."},
64
+ {"role": "user", "content": prompt}
65
+ ]
66
+ text = tokenizer.apply_chat_template(
67
+ messages,
68
+ tokenize=False,
69
+ add_generation_prompt=True
70
+ )
71
+ model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
72
+
73
+ generated_ids = model.generate(
74
+ **model_inputs,
75
+ max_new_tokens=512
76
+ )
77
+ generated_ids = [
78
+ output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
79
+ ]
80
+
81
+ response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
82
+ ```
83
+
84
+ # **Intended Use**
85
+ 1. **Coding Reasoning**:
86
+ Designed for providing explanations, optimizations, and best practices for coding problems.
87
+ 2. **UI Coding and Development**:
88
+ Excels in front-end development, including React, Vue, and other UI frameworks.
89
+ 3. **Programming and Software Development**:
90
+ Capable of generating, analyzing, and optimizing code in multiple programming languages.
91
+ 4. **Educational Assistance**:
92
+ Helps developers by providing coding tutorials, debugging assistance, and structured learning material.
93
+ 5. **Multilingual Applications**:
94
+ Supports global communication, translations, and multilingual content generation.
95
+ 6. **Long-Form Content Generation**:
96
+ Can generate extended responses, including documentation, technical reports, and coding guides.
97
+
98
+ # **Limitations**
99
+ 1. **Hardware Requirements**:
100
+ Requires high-memory GPUs or TPUs due to its large parameter size and long-context support.
101
+ 2. **Potential Bias in Responses**:
102
+ While designed to be neutral, outputs may still reflect biases present in training data.
103
+ 3. **Complexity in Some Advanced Topics**:
104
+ While proficient in general coding, highly specialized fields may require verification.
105
+ 4. **Limited Real-World Awareness**:
106
+ Does not have access to real-time events beyond its training cutoff.
107
+ 5. **Error Propagation in Extended Outputs**:
108
+ Minor errors in early responses may affect overall coherence in long-form outputs.
109
+ 6. **Prompt Sensitivity**:
110
+ The effectiveness of responses may depend on how well the input prompt is structured.