Instructions to use diffusionfamily/diffugpt-s with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use diffusionfamily/diffugpt-s with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("diffusionfamily/diffugpt-s") model = AutoModel.from_pretrained("diffusionfamily/diffugpt-s") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse filesLink to paper-page
README.md
CHANGED
|
@@ -31,4 +31,16 @@ Details and model loading can be seen [https://github.com/HKUNLP/DiffuLLaMA](htt
|
|
| 31 |
- Transformers 4.44.2
|
| 32 |
- Pytorch 2.1.1+cu121
|
| 33 |
- Datasets 2.21.0
|
| 34 |
-
- Tokenizers 0.19.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
- Transformers 4.44.2
|
| 32 |
- Pytorch 2.1.1+cu121
|
| 33 |
- Datasets 2.21.0
|
| 34 |
+
- Tokenizers 0.19.1
|
| 35 |
+
|
| 36 |
+
```
|
| 37 |
+
@misc{gong2024scalingdiffusionlanguagemodels,
|
| 38 |
+
title={Scaling Diffusion Language Models via Adaptation from Autoregressive Models},
|
| 39 |
+
author={Shansan Gong and Shivam Agarwal and Yizhe Zhang and Jiacheng Ye and Lin Zheng and Mukai Li and Chenxin An and Peilin Zhao and Wei Bi and Jiawei Han and Hao Peng and Lingpeng Kong},
|
| 40 |
+
year={2024},
|
| 41 |
+
eprint={2410.17891},
|
| 42 |
+
archivePrefix={arXiv},
|
| 43 |
+
primaryClass={cs.CL},
|
| 44 |
+
url={https://arxiv.org/abs/2410.17891},
|
| 45 |
+
}
|
| 46 |
+
```
|