TheCluster commited on
Commit
0b6a590
·
verified ·
1 Parent(s): 3d5e7ec

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +31 -3
README.md CHANGED
@@ -1,3 +1,31 @@
1
- ---
2
- license: agpl-3.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: agpl-3.0
3
+ pipeline_tag: text-generation
4
+ tags:
5
+ - chemistry
6
+ - chat
7
+ - 6bit
8
+ language:
9
+ - en
10
+ - zh
11
+ library_name: mlx
12
+ ---
13
+ # ChemDFM v1.5 8B 6-bit MLX
14
+ MLX version of **ChemDFM v1.5 8B**: An Large Language Foundation Model for Chemistry
15
+
16
+ This model was converted to MLX format from [`https://huggingface.co/OpenDFM/ChemDFM-v1.5-8B`]() using mlx-lm version **0.22.1**.
17
+
18
+
19
+ ChemDFM 8B is the pioneering open-sourced dialogue foundation model for Chemistry and molecule science, which is build based on LLaMa-8B. 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).
20
+
21
+
22
+
23
+ ## Use with mlx
24
+
25
+ ```bash
26
+ pip install -U mlx-lm
27
+ ```
28
+
29
+ ```bash
30
+ python -m mlx_lm.generate --model TheCluster/ChemDFM-v1.5-8B-mlx-6bit --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"
31
+ ```