ziadrone commited on
Commit
cd2425b
·
verified ·
1 Parent(s): 99fcc4f

Upload fine-tuned model based on Qwen/Qwen3-1.7B. Run: placeholder_run_1748694791

Browse files
Files changed (1) hide show
  1. README.md +56 -0
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - fine-tuned
5
+ - text-generation
6
+ - qwen
7
+ # Add your base model tag e.g., - qwen3-1.7b
8
+ - oneplusaries2
9
+ # Add task-specific tags:
10
+ # - math-reasoning
11
+ # - tree-of-thoughts
12
+ # - custom-pipeline
13
+ pipeline_tag: text-generation
14
+ ---
15
+
16
+ # Fine-tuned Model: ziadrone/oneplusaries2
17
+
18
+ This model is a fine-tuned version of `Qwen/Qwen3-1.7B`.
19
+ It has undergone a custom fine-tuning process which may include techniques like Tree-of-Thoughts data generation and/or specific policy optimization methods (e.g., GRPO).
20
+
21
+ ## Fine-tuning Details
22
+ - **Base Model**: `Qwen/Qwen3-1.7B`
23
+ - **Fine-tuning Data Source**: Data was likely generated or selected based on problems from sources like `HuggingFaceH4/MATH-500` and/or other custom datasets, processed to align with a structured reasoning format.
24
+ - The SFT/generated dataset associated with this model (if pushed) might be found at: [huggingface.co/datasets/ziadrone/dataset-for-oneplusaries2](https://huggingface.co/datasets/ziadrone/dataset-for-oneplusaries2)
25
+ - **Training Objective**: To improve performance on tasks requiring step-by-step reasoning and to adhere to specific structured output formats (e.g., involving `<reasoning>` and `<answer>` tags).
26
+
27
+ ## Intended Uses & Limitations
28
+ This model is the result of an experimental fine-tuning process. Its performance should be carefully evaluated for your specific use case. It is primarily aimed at tasks that benefit from detailed, structured reasoning.
29
+
30
+ ## How to Use
31
+ ```python
32
+ from transformers import AutoTokenizer, AutoModelForCausalLM
33
+
34
+ model_id = "ziadrone/oneplusaries2"
35
+ tokenizer = AutoTokenizer.from_pretrained(model_id)
36
+ model = AutoModelForCausalLM.from_pretrained(model_id)
37
+
38
+ # To use with a GPU:
39
+ # model.to("cuda")
40
+
41
+ # Example prompt structure (adapt to your model's training):
42
+ # SYSTEM_PROMPT = "Your system prompt here..." # The system prompt used during training
43
+ # user_problem = "Your problem statement here..."
44
+ # messages = [
45
+ # {"role": "system", "content": SYSTEM_PROMPT},
46
+ # {"role": "user", "content": user_problem}
47
+ # ]
48
+ # input_text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
49
+ # inputs = tokenizer(input_text, return_tensors="pt") # .to("cuda" if using GPU)
50
+
51
+ # outputs = model.generate(**inputs, max_new_tokens=512, pad_token_id=tokenizer.pad_token_id or tokenizer.eos_token_id)
52
+ # response_text = tokenizer.decode(outputs, skip_special_tokens=True)
53
+ # # Note: The response_text might include the prompt depending on generation settings.
54
+ # # You might need to slice it to get only the generated part.
55
+ # # generated_output = response_text[len(input_text):] if response_text.startswith(input_text) else response_text
56
+ # print(response_text) ```