Text Generation
Transformers
Safetensors
English
qwen2
conversational
text-generation-inference
krogoldAI commited on
Commit
d6f64b2
·
verified ·
1 Parent(s): 63683a0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +19 -17
README.md CHANGED
@@ -457,17 +457,7 @@ Output only valid JSON. Do not include any explanations, comments, or text outsi
457
 
458
  </details>
459
 
460
- ### Performance Considerations
461
-
462
- Performance characteristics will vary based on query type, domain, and ambiguity level. The model is expected to perform strongest on queries similar to those in the training distribution and may require additional fine-tuning or prompt engineering for specialized applications or domains underrepresented in the training data.
463
-
464
- ## Acknowledgments
465
-
466
- This model builds upon [Qwen2.5-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct) by the Qwen team at Alibaba Cloud. The training data incorporates queries from [rag-datasets/rag-mini-wikipedia](https://huggingface.co/datasets/rag-datasets/rag-mini-wikipedia), [razbit96/Ambiguity-Handling-in-User-Queries](https://huggingface.co/datasets/razbit96/Ambiguity-Handling-in-User-Queries), and [glaiveai/RAG-v1](https://huggingface.co/datasets/glaiveai/RAG-v1).
467
-
468
- ---
469
-
470
- #### A. Per-ambiguity breakdown + sample sizes
471
 
472
  | | NONE | LOW | MEDIUM | HIGH |
473
  |:---------------------|:---------------|:---------------|:---------------|:---------------|
@@ -479,11 +469,8 @@ This model builds upon [Qwen2.5-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2
479
  | follows_guidelines | 97.14 ± 13.26% | 97.05 ± 12.91% | **98.89 ± 7.17%** | 95.67 ± 13.76% |
480
  | semantic_score | 96.82 ± 9.58% | 96.73 ± 9.80% | **97.31 ± 6.82%** | 95.11 ± 10.06% |
481
 
482
- Performance analysis across four ambiguity levels shows that QueryRefiner-0.5B-v0.1-GRPO sustains near-saturated accuracy for domain and intent identification (~99%) and achieves perfect structural and ambiguity assessment at the highest ambiguity tier. These results confirm that the model effectively internalized the XML schema and ambiguity-recognition criteria learned during GRPO pretraining.
483
-
484
- More nuanced metrics reveal moderate, expected declines in rephrasing quality (from 90.8 % to 87.5 %) and intent preservation (from ~96 % to 92.8 %) as ambiguity increases, indicating that the model’s semantic generation remains robust but not immune to underspecified inputs. The consistent yet non-flat degradation, coupled with realistic standard-deviation ranges, suggests healthy generalization rather than overfitting: the model adapts sensibly to rising query uncertainty while preserving adherence to output-format and guideline constraints.
485
-
486
- ### Discussion of Results
487
 
488
  The evaluation results reveal a clear task difficulty hierarchy that aligns with the inherent complexity of each component. Structural and classification metrics (domain accuracy, intent accuracy, ambiguity assessment) achieve 98-99% performance, while the generative rephrasing task scores lower at ~90%. This gap reflects the fundamental difference in task complexity rather than a training deficiency.
489
 
@@ -493,4 +480,19 @@ Rephrasing quality, by contrast, requires the model to make nuanced judgments ab
493
 
494
  The per-ambiguity breakdown supports this interpretation: rephrasing quality remains relatively stable across ambiguity levels (87.5-90.8%), with the expected slight degradation on highly ambiguous queries. This consistency across query types suggests the model has learned generalizable rephrasing strategies rather than memorizing domain-specific patterns. The ~18% standard deviation across all metrics indicates natural variance in query difficulty rather than systematic failures on particular query types.
495
 
496
- For production deployments, users should anticipate that the model will perform most reliably on structural conformance and classification tasks, while rephrasing decisions may occasionally require human review, particularly for edge cases or highly specialized domains underrepresented in the training data.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
457
 
458
  </details>
459
 
460
+ Here's a per-ambiguity breakdown:
 
 
 
 
 
 
 
 
 
 
461
 
462
  | | NONE | LOW | MEDIUM | HIGH |
463
  |:---------------------|:---------------|:---------------|:---------------|:---------------|
 
469
  | follows_guidelines | 97.14 ± 13.26% | 97.05 ± 12.91% | **98.89 ± 7.17%** | 95.67 ± 13.76% |
470
  | semantic_score | 96.82 ± 9.58% | 96.73 ± 9.80% | **97.31 ± 6.82%** | 95.11 ± 10.06% |
471
 
472
+ <details>
473
+ <summary><i>Unroll for a further discussion of results</i></summary>
 
 
 
474
 
475
  The evaluation results reveal a clear task difficulty hierarchy that aligns with the inherent complexity of each component. Structural and classification metrics (domain accuracy, intent accuracy, ambiguity assessment) achieve 98-99% performance, while the generative rephrasing task scores lower at ~90%. This gap reflects the fundamental difference in task complexity rather than a training deficiency.
476
 
 
480
 
481
  The per-ambiguity breakdown supports this interpretation: rephrasing quality remains relatively stable across ambiguity levels (87.5-90.8%), with the expected slight degradation on highly ambiguous queries. This consistency across query types suggests the model has learned generalizable rephrasing strategies rather than memorizing domain-specific patterns. The ~18% standard deviation across all metrics indicates natural variance in query difficulty rather than systematic failures on particular query types.
482
 
483
+ For production deployments, users should anticipate that the model will perform most reliably on structural conformance and classification tasks, while rephrasing decisions may occasionally require human review, particularly for edge cases or highly specialized domains underrepresented in the training data.
484
+
485
+ </details>
486
+
487
+ <!-- Performance analysis across four ambiguity levels shows that QueryRefiner-0.5B-v0.1-GRPO sustains near-saturated accuracy for domain and intent identification (~99%) and achieves perfect structural and ambiguity assessment at the highest ambiguity tier. These results confirm that the model effectively internalized the XML schema and ambiguity-recognition criteria learned during GRPO pretraining.
488
+
489
+ More nuanced metrics reveal moderate, expected declines in rephrasing quality (from 90.8 % to 87.5 %) and intent preservation (from ~96 % to 92.8 %) as ambiguity increases, indicating that the model’s semantic generation remains robust but not immune to underspecified inputs. The consistent yet non-flat degradation, coupled with realistic standard-deviation ranges, suggests healthy generalization rather than overfitting: the model adapts sensibly to rising query uncertainty while preserving adherence to output-format and guideline constraints.
490
+ -->
491
+
492
+ ### Performance Considerations
493
+
494
+ Performance characteristics will vary based on query type, domain, and ambiguity level. The model is expected to perform strongest on queries similar to those in the training distribution and may require additional fine-tuning or prompt engineering for specialized applications or domains underrepresented in the training data.
495
+
496
+ ## Acknowledgments
497
+
498
+ This model builds upon [Qwen2.5-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct) by the Qwen team at Alibaba Cloud. The training data incorporates queries from [rag-datasets/rag-mini-wikipedia](https://huggingface.co/datasets/rag-datasets/rag-mini-wikipedia), [razbit96/Ambiguity-Handling-in-User-Queries](https://huggingface.co/datasets/razbit96/Ambiguity-Handling-in-User-Queries), and [glaiveai/RAG-v1](https://huggingface.co/datasets/glaiveai/RAG-v1).