Update README.md
Browse files
README.md
CHANGED
|
@@ -6,9 +6,6 @@ license: mit
|
|
| 6 |
|
| 7 |
The model has been trained for a total of 17 epochs.
|
| 8 |
|
| 9 |
-
The loss curve is shown:
|
| 10 |
-

|
| 11 |
-
|
| 12 |
## Example Usage
|
| 13 |
|
| 14 |
```
|
|
@@ -30,4 +27,9 @@ inputs = tokenizer(dna_sequence, return_tensors="pt")
|
|
| 30 |
# Obtain a DNA embedding, which is a vector of length 768.
|
| 31 |
# The embedding is a representation of this DNA sequence in the model's latent space.
|
| 32 |
embedding = model(**inputs).hidden_states[-1].mean(1).squeeze()
|
| 33 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
The model has been trained for a total of 17 epochs.
|
| 8 |
|
|
|
|
|
|
|
|
|
|
| 9 |
## Example Usage
|
| 10 |
|
| 11 |
```
|
|
|
|
| 27 |
# Obtain a DNA embedding, which is a vector of length 768.
|
| 28 |
# The embedding is a representation of this DNA sequence in the model's latent space.
|
| 29 |
embedding = model(**inputs).hidden_states[-1].mean(1).squeeze()
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
## Results
|
| 33 |
+
|
| 34 |
+
The loss curve is shown:
|
| 35 |
+

|