s-sahoo commited on
Commit
f63889d
·
verified ·
1 Parent(s): 20885e7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +52 -3
README.md CHANGED
@@ -1,3 +1,52 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ language:
5
+ - en
6
+ datasets:
7
+ - Skylion007/openwebtext
8
+ metrics:
9
+ - perplexity
10
+ ---
11
+
12
+ ## Using DUO
13
+ To use the pre-trained model for masked language modeling, use the following snippet:
14
+ ```python
15
+ from transformers import AutoModelForMaskedLM, AutoTokenizer
16
+
17
+ # See the `MDLM` collection page on the hub for list of available models.
18
+ tokenizer = transformers.AutoTokenizer.from_pretrained('gpt2')
19
+ model = AutoModelForMaskedLM.from_pretrained('s-sahoo/duo')
20
+ ```
21
+ For a hands-on example, check out this [Colab notebook](https://colab.research.google.com/drive/1Sf7R-dqdR6gq-H8nyZ9E3ZkyvqMTqcwq?usp=sharing).
22
+ For more information and implementation details, visit our github repository: [DUO](https://github.com/s-sahoo/duo)
23
+
24
+ ## Model Details
25
+ The model, which has a context length of `1024` and is similar in size to GPT2-medium with approximately `130 million` non-embedding parameters,
26
+ was trained for 1M steps on the OpenWebText corpus.
27
+
28
+ For more details, please see our paper: [The Diffusion Duality](https://openreview.net/forum?id=CB0Ub2yXjC).
29
+
30
+
31
+
32
+ ## Citation
33
+
34
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
35
+ Please cite our work using the bibtex below:
36
+
37
+ **BibTeX:**
38
+
39
+ ```
40
+ @inproceedings{
41
+ sahoo2025the,
42
+ title={The Diffusion Duality},
43
+ author={Subham Sekhar Sahoo and Justin Deschenaux and Aaron Gokaslan and Guanghan Wang and Justin T Chiu and Volodymyr Kuleshov},
44
+ booktitle={ICLR 2025 Workshop on Deep Generative Model in Machine Learning: Theory, Principle and Efficacy},
45
+ year={2025},
46
+ url={https://openreview.net/forum?id=CB0Ub2yXjC}
47
+ }
48
+ ```
49
+
50
+
51
+ ## Model Card Contact
52
+ Subham Sekhar Sahoo ([email protected])