Text this: Research on fine-tuning algorithms for Large Language Models integrating Uncertainty Modeling and External Memory Augmentation