Update README.md
Browse files
README.md
CHANGED
|
@@ -17,6 +17,11 @@ language:
|
|
| 17 |
- **License:** apache-2.0
|
| 18 |
- **Finetuned from model :** Tsunami-th/Tsunami-1.0-14B-Instruct
|
| 19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
```python
|
| 21 |
from transformers import AutoTokenizer, AutoModel
|
| 22 |
import torch
|
|
@@ -32,7 +37,3 @@ with torch.no_grad():
|
|
| 32 |
embeds = out.last_hidden_state.mean(dim=1)
|
| 33 |
print(embeds.shape)
|
| 34 |
|
| 35 |
-
|
| 36 |
-
This qwen2 model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
|
| 37 |
-
|
| 38 |
-
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|
|
|
|
| 17 |
- **License:** apache-2.0
|
| 18 |
- **Finetuned from model :** Tsunami-th/Tsunami-1.0-14B-Instruct
|
| 19 |
|
| 20 |
+
|
| 21 |
+
This qwen2 model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
|
| 22 |
+
|
| 23 |
+
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|
| 24 |
+
|
| 25 |
```python
|
| 26 |
from transformers import AutoTokenizer, AutoModel
|
| 27 |
import torch
|
|
|
|
| 37 |
embeds = out.last_hidden_state.mean(dim=1)
|
| 38 |
print(embeds.shape)
|
| 39 |
|
|
|
|
|
|
|
|
|
|
|
|