File size: 2,032 Bytes
64bc028
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
---
language:
- en
license: apache-2.0
tags:
- qwen2.5
- fine-tuned
- lora
- chemistry
base_model: Qwen/Qwen2.5-14B-Instruct
---

# qwen-quantum

This model is a fine-tuned version of [Qwen/Qwen2.5-14B-Instruct](https://huggingface.co/Qwen/Qwen2.5-14B-Instruct) 
using LoRA (Low-Rank Adaptation) on a chemistry dataset.

## Model Description

Fine-tuned Qwen2.5-14B model for chemistry domain tasks.

## Available Formats

- **GGUF**: `qwen_quantum_merged-q4_k_m.gguf` - Quantized for efficient inference with llama.cpp

## Usage

### Using GGUF (with llama.cpp, Ollama, LM Studio, etc.)

```bash
# Download the GGUF file
huggingface-cli download Kylan12/qwen-quantum qwen_quantum_merged-q4_k_m.gguf

# Use with llama.cpp
./llama.cpp/build/bin/llama-cli -m qwen_quantum_merged-q4_k_m.gguf -p "Your prompt here"
```

### Using HuggingFace Transformers

```python
from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("Kylan12/qwen-quantum")
tokenizer = AutoTokenizer.from_pretrained("Kylan12/qwen-quantum")

prompt = "What is the IUPAC name for..."
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_length=200)
print(tokenizer.decode(outputs[0]))
```

## Training Details

- **Base Model**: Qwen/Qwen2.5-14B-Instruct
- **Training Method**: LoRA (Low-Rank Adaptation)
- **Dataset**: camel-ai/chemistry
- **LoRA Rank**: 16
- **LoRA Alpha**: 16
- **Target Modules**: q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj

## Limitations

This model inherits the limitations of the base Qwen2.5-14B-Instruct model and may have 
additional domain-specific limitations due to the fine-tuning dataset.

## Citation

If you use this model, please cite:

```bibtex
@misc{qwen_quantum,
  author = {Your Name},
  title = {qwen-quantum},
  year = {2025},
  publisher = {HuggingFace},
  url = {https://huggingface.co/Kylan12/qwen-quantum}
}
```

## License

This model is released under the Apache 2.0 license, consistent with the base Qwen model.