noch inator commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
---
|
| 2 |
license: agpl-3.0
|
| 3 |
-
datasets:
|
| 4 |
-
- JeanKaddour/minipile
|
| 5 |
language:
|
| 6 |
- en
|
| 7 |
pipeline_tag: text2text-generation
|
|
@@ -17,6 +15,8 @@ A new way to create embeddings
|
|
| 17 |
Auto-regressivly generates thought vectors (embeddings) for an input. This means fewer elements for the core model to process and thereby less compute to use. Additionally it can decode a thought vector
|
| 18 |
back into a (vaugly) similar meaning in text. It doesn't focus on exact wording, but rather capturing the full meaning of the input.
|
| 19 |
|
|
|
|
|
|
|
| 20 |
- **Developed by:** nochinator
|
| 21 |
- **Model type:** embeddings
|
| 22 |
- **Language(s) (NLP):** English
|
|
@@ -30,8 +30,7 @@ back into a (vaugly) similar meaning in text. It doesn't focus on exact wording,
|
|
| 30 |
|
| 31 |
## Uses
|
| 32 |
|
| 33 |
-
Specifically built for use in chatbots, but the embeddings should apply for any NLP system that doesn't rely on percise
|
| 34 |
-
however more percisely then sentence level embeddings.
|
| 35 |
|
| 36 |
### Direct Use
|
| 37 |
|
|
@@ -58,29 +57,28 @@ with original tokens, then backpropagating the error through both encoder and de
|
|
| 58 |
|
| 59 |
#### Training Hyperparameters
|
| 60 |
|
| 61 |
-
group_data=
|
|
|
|
| 62 |
num_epochs=1000,
|
| 63 |
batch_size=128,
|
| 64 |
-
|
| 65 |
-
learning_rate=
|
| 66 |
-
weight_decay=
|
| 67 |
-
length_penalty=0.
|
| 68 |
-
single_vector_prob=0.
|
| 69 |
save_path="thought_vectors_prototype.tar",
|
| 70 |
spm_model_prefix="spm",
|
| 71 |
vocab_size=8192,
|
| 72 |
-
d_model=
|
| 73 |
encoder_nhead=8,
|
| 74 |
decoder_nhead=8,
|
| 75 |
encoder_layers=4,
|
| 76 |
decoder_layers=4,
|
| 77 |
-
max_thoughts=
|
| 78 |
dropout=0.1,
|
| 79 |
max_len=256,
|
| 80 |
-
termination_threshold=0.
|
| 81 |
-
patience=
|
| 82 |
-
|
| 83 |
-
Data is a generator for MiniPile
|
| 84 |
|
| 85 |
## Evaluation
|
| 86 |
|
|
@@ -88,7 +86,7 @@ Comming soon
|
|
| 88 |
|
| 89 |
#### Testing Data
|
| 90 |
|
| 91 |
-
https://huggingface.co/datasets/
|
| 92 |
|
| 93 |
### Model Architecture and Objective
|
| 94 |
|
|
|
|
| 1 |
---
|
| 2 |
license: agpl-3.0
|
|
|
|
|
|
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
pipeline_tag: text2text-generation
|
|
|
|
| 15 |
Auto-regressivly generates thought vectors (embeddings) for an input. This means fewer elements for the core model to process and thereby less compute to use. Additionally it can decode a thought vector
|
| 16 |
back into a (vaugly) similar meaning in text. It doesn't focus on exact wording, but rather capturing the full meaning of the input.
|
| 17 |
|
| 18 |
+
As of now this is a prototype, not ready for full use. It proves the concept works, runs really fast, and vaugly grasps some concepts in english.
|
| 19 |
+
|
| 20 |
- **Developed by:** nochinator
|
| 21 |
- **Model type:** embeddings
|
| 22 |
- **Language(s) (NLP):** English
|
|
|
|
| 30 |
|
| 31 |
## Uses
|
| 32 |
|
| 33 |
+
Specifically built for use in chatbots, but the embeddings should apply for any NLP system that doesn't rely on percise wordings (eg. classification) then sentence level embeddings.
|
|
|
|
| 34 |
|
| 35 |
### Direct Use
|
| 36 |
|
|
|
|
| 57 |
|
| 58 |
#### Training Hyperparameters
|
| 59 |
|
| 60 |
+
group_data="train.csv",
|
| 61 |
+
test_data="val.csv",
|
| 62 |
num_epochs=1000,
|
| 63 |
batch_size=128,
|
| 64 |
+
accum_steps=1,
|
| 65 |
+
learning_rate=5e-4,
|
| 66 |
+
weight_decay=2e-5,
|
| 67 |
+
length_penalty=0.001,
|
| 68 |
+
single_vector_prob=0.1,
|
| 69 |
save_path="thought_vectors_prototype.tar",
|
| 70 |
spm_model_prefix="spm",
|
| 71 |
vocab_size=8192,
|
| 72 |
+
d_model=512,
|
| 73 |
encoder_nhead=8,
|
| 74 |
decoder_nhead=8,
|
| 75 |
encoder_layers=4,
|
| 76 |
decoder_layers=4,
|
| 77 |
+
max_thoughts=16,
|
| 78 |
dropout=0.1,
|
| 79 |
max_len=256,
|
| 80 |
+
termination_threshold=0.8,
|
| 81 |
+
patience=5
|
|
|
|
|
|
|
| 82 |
|
| 83 |
## Evaluation
|
| 84 |
|
|
|
|
| 86 |
|
| 87 |
#### Testing Data
|
| 88 |
|
| 89 |
+
https://huggingface.co/datasets/sentence-transformers/stsb
|
| 90 |
|
| 91 |
### Model Architecture and Objective
|
| 92 |
|