Update README.md
Browse files
README.md
CHANGED
@@ -15,7 +15,7 @@ Oneirogen was used to produce [The Android and The Machine](https://huggingface.
|
|
15 |
|
16 |
Oneirogen can be used to generate novel dream narratives. It can also be used for dream analysis. For example, one could finetuned this model on [Hall and Van de Castle annotations](https://dreams.ucsc.edu/Coding/) to predict character and emotion in dream narratives. I've introduced this task in this [paper](https://aclanthology.org/2024.lrec-main.1282/).
|
17 |
|
18 |
-
## Code
|
19 |
|
20 |
```py
|
21 |
from transformers import AutoTokenizer, AutoModelForCausalLM, StoppingCriteria, StoppingCriteriaList
|
@@ -51,6 +51,10 @@ This model resonates with a speech called _The Android and The Human_ given by s
|
|
51 |
|
52 |
> Our environment – and I mean our man-made world of machines, artificial constructs, computers, electronic systems, interlinking homeostatic components – all of this is in fact beginning more and more to possess what the earnest psychologists fear the primitive sees in his environment: animation. In a very real sense our environment is becoming alive, or at least quasi-alive, and in ways specifically and fundamentally analogous to ourselves... Rather than learning about ourselves by studying our constructs, perhaps we should make the attempt to comprehend what our constructs are up to by looking into what we ourselves are up to
|
53 |
|
|
|
|
|
|
|
|
|
54 |
## Contact
|
55 |
|
56 |
Mail: [email protected]
|
|
|
15 |
|
16 |
Oneirogen can be used to generate novel dream narratives. It can also be used for dream analysis. For example, one could finetuned this model on [Hall and Van de Castle annotations](https://dreams.ucsc.edu/Coding/) to predict character and emotion in dream narratives. I've introduced this task in this [paper](https://aclanthology.org/2024.lrec-main.1282/).
|
17 |
|
18 |
+
## Code for generation
|
19 |
|
20 |
```py
|
21 |
from transformers import AutoTokenizer, AutoModelForCausalLM, StoppingCriteria, StoppingCriteriaList
|
|
|
51 |
|
52 |
> Our environment – and I mean our man-made world of machines, artificial constructs, computers, electronic systems, interlinking homeostatic components – all of this is in fact beginning more and more to possess what the earnest psychologists fear the primitive sees in his environment: animation. In a very real sense our environment is becoming alive, or at least quasi-alive, and in ways specifically and fundamentally analogous to ourselves... Rather than learning about ourselves by studying our constructs, perhaps we should make the attempt to comprehend what our constructs are up to by looking into what we ourselves are up to
|
53 |
|
54 |
+
## Technical aspects
|
55 |
+
|
56 |
+
Oneirogen is a Qwen2 model finetuned on the DreamBank corpus using LoRA adaptation. A notebook to replicate the training will soon be available.
|
57 |
+
|
58 |
## Contact
|
59 |
|
60 |
Mail: [email protected]
|