Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: agpl-3.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: agpl-3.0
|
| 3 |
+
pipeline_tag: text-generation
|
| 4 |
+
base_model: OpenDFM/ChemDFM-v1.0-13B
|
| 5 |
+
tags:
|
| 6 |
+
- chemistry
|
| 7 |
+
- chat
|
| 8 |
+
- 4bit
|
| 9 |
+
language:
|
| 10 |
+
- en
|
| 11 |
+
- zh
|
| 12 |
+
library_name: mlx
|
| 13 |
+
---
|
| 14 |
+
# ChemDFM v1.0 13B 4-bit MLX
|
| 15 |
+
MLX version of **ChemDFM v1.0 13B**: An Large Language Foundation Model for Chemistry
|
| 16 |
+
|
| 17 |
+
This model was converted to MLX format from [`https://huggingface.co/OpenDFM/ChemDFM-v1.0-13B`]() using mlx-lm version **0.22.1**.
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
ChemDFM 13B is the pioneering open-sourced dialogue foundation model for Chemistry and molecule science. ChemDFM outperforms the open-sourced LLMs in all the typical tasks of chemistry, and even reach comparable or higher performances of GPT-4. For more details, please refer to [paper](https://arxiv.org/abs/2401.14818).
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
## Use with mlx
|
| 25 |
+
|
| 26 |
+
```bash
|
| 27 |
+
pip install -U mlx-lm
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
```bash
|
| 31 |
+
python -m mlx_lm.generate --model TheCluster/ChemDFM-v1.0-13B-mlx-4bit --max-tokens 1024 --temperature 0.5 --prompt "Can you please give detailed descriptions of the molecule below?\nCl.O=C1c2c(O)cccc2-c2nn(CCNCCO)c3ccc(NCCNCCO)c1c23"
|
| 32 |
+
```
|