Instruction Finetuning DeepSeek-R1-8B Model Using LoRA and NEFTune

Wu Yuerong, Mingni Luo
6/9/2026
cs.AI
lora-peft-merging

No confident code implementation found for this paper.

Abstract

Financial named-entity recognition (NER) is essential for translating unstructured financial reports and news into structured knowledge graphs. However, general-purpose large language models (LLMs) often misclassify financial entities or ignore domain-specific patterns.

Show full abstract

This paper investigates the use of DeepSeek-R1-8B, a recent open-source large language model, combined with Low-Rank Adaptation (LoRA) and Noisy Embedding Fine-Tuning (NEFTune) for financial NER. Each annotated sentence in our corpus of 1693 samples is converted into an instruction-input-output triple. We insert lightweight LoRA matrices into the Transformer layers and apply NEFTune to improve generalisation by adding uniform noise to embedding vectors during training. Experiments show that the LoRA-adapted DeepSeek-R1-8B achieves a micro-F1 of 0.901 on seven entity types (Company, Date, Location, Money, Person, Product and Quantity), and adding NEFTune further boosts the micro-F1 to 0.912, outperforming Llama3-8B, Qwen3-8B, Baichuan2-7B, T5 and BERT-Base baselines.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yuerong2026instruction,
  title  = {Instruction Finetuning DeepSeek-R1-8B Model Using LoRA and NEFTune},
  author = {Wu Yuerong and Mingni Luo},
  year   = {2026},
  eprint = {2606.10392},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.10392v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.10392.svg)](https://codeofpaper.com/paper/2606.10392)

Discussion