---
title: medical-o1-finetuning-DeepSeek-R1-Distill-Llama-8B
canonical_url: "https://www.modelscope.cn/models/walicook/medical-o1-finetuning-DeepSeek-R1-Distill-Llama-8B"
md_url: "https://www.modelscope.cn/models/walicook/medical-o1-finetuning-DeepSeek-R1-Distill-Llama-8B.md"
repository: walicook/medical-o1-finetuning-DeepSeek-R1-Distill-Llama-8B
chinese_name: "deepseek蒸馏模型微调医疗think"
last_updated: 2025-02-20
base_model:
  - unsloth/deepseek-r1-distill-llama-8b-unsloth-bnb-4bit
base_model_relation: adapter
parameters: 41.9M
tensor_type:
  - F32
library_name:
  - safetensors
downloads: 35
stars: 0
---

# medical-o1-finetuning-DeepSeek-R1-Distill-Llama-8B

> medical-o1-finetuning-DeepSeek-R1-Distill-Llama-8B - walicook 在 ModelScope 开源的模型。Model Card for Model ID

walicook/medical-o1-finetuning-DeepSeek-R1-Distill-Llama-8B 是 ModelScope 魔搭社区上的 41.9M 参数机器学习模型，基于 unsloth/deepseek-r1-distill-llama-8b-unsloth-bnb-4bit 构建。

- **Repository**: walicook/medical-o1-finetuning-DeepSeek-R1-Distill-Llama-8B
- **Parameters**: 41.9M
- **Base model**: unsloth/deepseek-r1-distill-llama-8b-unsloth-bnb-4bit
- **Downloads**: 35
- **Stars**: 0
- **Last updated**: 2025-02-20

Source: https://www.modelscope.cn/models/walicook/medical-o1-finetuning-DeepSeek-R1-Distill-Llama-8B

---

# Model Card for Model ID

<!-- Provide a quick summary of what the model is/does. -->


目标是在小模型上实现大模型R1，o3有的推理效果


[More Information Needed]

## Bias, Risks, and Limitations

<!-- This section is meant to convey both technical and sociotechnical limitations. -->

[More Information Needed]



## Training Details

### Training Data
基础模型：DeepSeek-R1-Distill-Llama-8B/
数据库：FreedomIntelligence/medical-o1-reasoning-SFT
训练方法：TRL  SFT
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->

效果展示：

question1 = "A 40-year-old female presents with fever, fatigue, and diffuse painful swelling in the midline of the neck. Fine needle aspiration cytology (FNAC) reveals epithelioid cells and giant cells. Based on these clinical and cytological findings, what is the most likely diagnosis?"


训练前：

<think>



</think>

The patient is a 40-year-old female presenting with fever, fatigue, and diffuse painful swelling in the midline of her neck. The FNAC cytology results show epithelioid cells and giant cells. This constellation of symptoms and cytological findings is highly suggestive of a deep neck infection, specifically **cervical lymphadenitis** caused by **tuberculous** or **granulomatous** etiology.**



1. **Clinical Presentation**: The fever, fatigue, and painful neck swelling are classic signs of an infectious or inflammatory process in the cervical lymph nodes.

2. **Cytological Findings**: The presence of epithelioid cells and giant cells in the FNAC biopsy is indicative of a granulomatous infection. Epithelioid cells are a hallmark of tuberculosis, while giant cells are seen in both tuberculosis and granulomatous infections.

3. **Differential Diagnosis**: While other conditions like infectious mononucleosis or fungal infections could present similarly, the presence of giant cells leans more towards a granulomatous process, which is often associated with tuberculosis or fungal infections like histoplasmosis.



Given the patient's age, the geographical prevalence of tuberculosis, and the cytological findings, the most likely diagnosis is **cervical lymphadenitis due to a tuberculous or granulomatous infection**.

</think>



The patient is a 40-year-old female presenting with fever, fatigue, and diffuse painful swelling in the midline of her neck. The FNAC cytology results show epithelioid cells and giant cells. This constellation of symptoms and cytological findings is highly suggestive of a deep neck infection, specifically **cervical lymphadenitis** caused by **tuberculous** or **granulomatous** etiology.



**Step-by-Step Explanation:**



1. **Clinical Presentation**: The patient's symptoms—fever, fatigue, and neck swelling—are indicative of an underlying systemic or localized infection.



2. **Cytological Findings**: The presence of epithelioid and giant cells in the FNAC biopsy points towards a granulomatous process. Epithelioid cells are a hallmark of tuberculosis, while giant cells are seen in both tuberculosis and granulomatous infections.



3. **Differential Diagnosis**: While conditions like infectious mononucleosis or fungal infections (e.g., histoplasmosis) can present similarly, the cytological findings are more consistent with a granulomatous infection, which is often associated with tuberculosis.



4. **Conclusion**: Considering the patient's age, geographical prevalence of tuberculosis, and cytological evidence, the most likely diagnosis is **cervical lymphadenitis due to a tuberculous or granulomatous infection**.



训练后：


<think>



</think>

Alright, let's see what we're dealing with here. We've got a 40-year-old woman who's not feeling well, with fever, fatigue, and a painful swelling right in the middle of her neck. That sounds pretty serious, especially with those giant cells showing up in the FNAC. Let's think about what could be causing this.



First off, the neck swelling is in the midline. That's a big hint. I remember that the thyroid area is in the front of the neck, but the swelling here is in the middle, so maybe it's not just the thyroid. It could be something like a goiter, but I need to think more about what's causing it.



Oh, the FNAC showing epithelioid cells and giant cells is interesting. That pattern reminds me of a granulomatous condition, like tuberculosis or sarcoidosis. Those can cause those kinds of cellular changes. But I can't jump to conclusions too quickly.



Let's consider granulomatous thyroiditis. That's an inflammation of the thyroid gland, often caused by TB or sarcoidosis. It can lead to these specific cell changes. Hmm, that fits quite well with what we're seeing here.



Another possibility is subacute thyroiditis. That's different because it's usually not granulomatous and doesn't have giant cells. It's more about painless swelling and mild symptoms. That doesn't seem to match our situation.



Oh, what about the thyroid nodule itself? A thyroid nodule can cause pain and swelling, but it doesn't explain the giant cells. So, that's probably not it.



The fever and fatigue are also making me think of systemic diseases that could involve the thyroid. Let's not forget about tuberculosis. It can involve the thyroid and cause those granulomatous changes, leading to symptoms like fever and fatigue. Yeah, that makes sense.



Sarcoidosis is another angle. It can cause similar granulomatous changes and systemic symptoms. It's a bit tricky because it can affect various tissues, including the thyroid. That could explain the giant cells and systemic symptoms.



Alright, let's tie this all together. The combination of midline neck swelling, giant cells in the FNAC, and systemic symptoms like fever and fatigue points towards a granulomatous process, like tuberculosis or sarcoidosis involving the thyroid. Given this scenario, I'm leaning towards granulomatous thyroiditis caused by tuberculosis or sarcoidosis as the most likely diagnosis. It's important to consider both possibilities since they can have similar presentations and require different management strategies.


## SDK下载

### 安装ModelScope
pip install modelscope

### SDK模型下载
from modelscope import snapshot_download
model_dir = snapshot_download('walicook/medical-o1-finetuning-DeepSeek-R1-Distill-Llama-8B')
Git下载

#Git模型下载
git clone https://www.modelscope.cn/walicook/medical-o1-finetuning-DeepSeek-R1-Distill-Llama-8B.git

[More Information Needed]

## Model Card Authors [optional]

[More Information Needed]

## Model Card Contact

[More Information Needed]
### Framework versions

- PEFT 0.14.0
