VIshalChak
commited on
Commit
•
8a24582
1
Parent(s):
e4d7171
End of training
Browse files- .ipynb_checkpoints/README-checkpoint.md +59 -0
- README.md +1 -1
- model.safetensors +1 -1
- training_args.bin +1 -1
.ipynb_checkpoints/README-checkpoint.md
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: HuggingFaceTB/SmolLM2-135M
|
3 |
+
library_name: transformers
|
4 |
+
model_name: SmolLM2-FT-MyDataset
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
- smol-course
|
8 |
+
- module_1
|
9 |
+
- trl
|
10 |
+
- sft
|
11 |
+
licence: license
|
12 |
+
---
|
13 |
+
|
14 |
+
# Model Card for SmolLM2-FT-MyDataset
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [HuggingFaceTB/SmolLM2-135M](https://huggingface.co/HuggingFaceTB/SmolLM2-135M).
|
17 |
+
It has been trained using [TRL](https://github.com/huggingface/trl).
|
18 |
+
|
19 |
+
## Quick start
|
20 |
+
|
21 |
+
```python
|
22 |
+
from transformers import pipeline
|
23 |
+
|
24 |
+
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
|
25 |
+
generator = pipeline("text-generation", model="VIshalChak/SmolLM2-FT-MyDataset", device="cuda")
|
26 |
+
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
27 |
+
print(output["generated_text"])
|
28 |
+
```
|
29 |
+
|
30 |
+
## Training procedure
|
31 |
+
|
32 |
+
|
33 |
+
|
34 |
+
This model was trained with SFT.
|
35 |
+
|
36 |
+
### Framework versions
|
37 |
+
|
38 |
+
- TRL: 0.12.1
|
39 |
+
- Transformers: 4.46.3
|
40 |
+
- Pytorch: 2.5.1
|
41 |
+
- Datasets: 3.1.0
|
42 |
+
- Tokenizers: 0.20.3
|
43 |
+
|
44 |
+
## Citations
|
45 |
+
|
46 |
+
|
47 |
+
|
48 |
+
Cite TRL as:
|
49 |
+
|
50 |
+
```bibtex
|
51 |
+
@misc{vonwerra2022trl,
|
52 |
+
title = {{TRL: Transformer Reinforcement Learning}},
|
53 |
+
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallouédec},
|
54 |
+
year = 2020,
|
55 |
+
journal = {GitHub repository},
|
56 |
+
publisher = {GitHub},
|
57 |
+
howpublished = {\url{https://github.com/huggingface/trl}}
|
58 |
+
}
|
59 |
+
```
|
README.md
CHANGED
@@ -35,7 +35,7 @@ This model was trained with SFT.
|
|
35 |
|
36 |
### Framework versions
|
37 |
|
38 |
-
- TRL: 0.12.
|
39 |
- Transformers: 4.46.3
|
40 |
- Pytorch: 2.5.1
|
41 |
- Datasets: 3.1.0
|
|
|
35 |
|
36 |
### Framework versions
|
37 |
|
38 |
+
- TRL: 0.12.2
|
39 |
- Transformers: 4.46.3
|
40 |
- Pytorch: 2.5.1
|
41 |
- Datasets: 3.1.0
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 538090408
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d8dde80104ecc33c6a66bbd925f6d68e59ad9a4b7c5e3cc61d2d77dc44d258c2
|
3 |
size 538090408
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5560
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7a4cd6ceb81f864fa3c4ac29c57e274455f8287ee5a93dc3884b115ece0d69bd
|
3 |
size 5560
|