Update README.md
Browse files
README.md
CHANGED
|
@@ -28,7 +28,10 @@ The Seq2Seq Reverser model is a specialized sequence-to-sequence model trained t
|
|
| 28 |
### Model Architecture
|
| 29 |
|
| 30 |
The model uses a sequence-to-sequence architecture with:
|
| 31 |
-
-
|
|
|
|
|
|
|
|
|
|
| 32 |
- Specialized tokenizer for crypto market terminology
|
| 33 |
- Optimized for embedding vector reconstruction
|
| 34 |
|
|
@@ -37,13 +40,14 @@ The model uses a sequence-to-sequence architecture with:
|
|
| 37 |
The model can be used through the Aparecium Python package:
|
| 38 |
|
| 39 |
```python
|
| 40 |
-
from aparecium
|
| 41 |
|
| 42 |
-
#
|
| 43 |
-
|
| 44 |
|
| 45 |
-
#
|
| 46 |
-
|
|
|
|
| 47 |
```
|
| 48 |
|
| 49 |
### Installation
|
|
@@ -75,11 +79,12 @@ This model is released under the MIT License.
|
|
| 75 |
If you use this model in your research, please cite:
|
| 76 |
|
| 77 |
```bibtex
|
| 78 |
-
@software{
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
|
|
|
| 83 |
}
|
| 84 |
```
|
| 85 |
|
|
|
|
| 28 |
### Model Architecture
|
| 29 |
|
| 30 |
The model uses a sequence-to-sequence architecture with:
|
| 31 |
+
- Transformer decoder with 2 layers
|
| 32 |
+
- 8 attention heads
|
| 33 |
+
- 768-dimensional embeddings
|
| 34 |
+
- 2048-dimensional feed-forward networks
|
| 35 |
- Specialized tokenizer for crypto market terminology
|
| 36 |
- Optimized for embedding vector reconstruction
|
| 37 |
|
|
|
|
| 40 |
The model can be used through the Aparecium Python package:
|
| 41 |
|
| 42 |
```python
|
| 43 |
+
from aparecium import Seq2SeqReverser
|
| 44 |
|
| 45 |
+
# Load the pre-trained model from Hugging Face Hub
|
| 46 |
+
reverser = Seq2SeqReverser.from_pretrained("SentiChain/aparecium-seq2seq-reverser")
|
| 47 |
|
| 48 |
+
# Generate text from embedding vectors
|
| 49 |
+
recovered_text = reverser.generate_text(source_rep)
|
| 50 |
+
print(recovered_text)
|
| 51 |
```
|
| 52 |
|
| 53 |
### Installation
|
|
|
|
| 79 |
If you use this model in your research, please cite:
|
| 80 |
|
| 81 |
```bibtex
|
| 82 |
+
@software{aparecium2025,
|
| 83 |
+
author = {Chen, Edward},
|
| 84 |
+
title = {Aparecium: Text Reconstruction from Embedding Vectors},
|
| 85 |
+
year = {2025},
|
| 86 |
+
publisher = {GitHub},
|
| 87 |
+
url = {https://github.com/SentiChain/aparecium}
|
| 88 |
}
|
| 89 |
```
|
| 90 |
|