theevolutionisnear commited on
Commit
71fa46b
·
verified ·
1 Parent(s): a7bbd28

Model save

Browse files
README.md ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: HuggingFaceTB/SmolVLM-256M-Instruct
3
+ library_name: transformers
4
+ model_name: SmolVLM-256M-Instruct-SFT-CLEVR
5
+ tags:
6
+ - generated_from_trainer
7
+ - trl
8
+ - sft
9
+ licence: license
10
+ ---
11
+
12
+ # Model Card for SmolVLM-256M-Instruct-SFT-CLEVR
13
+
14
+ This model is a fine-tuned version of [HuggingFaceTB/SmolVLM-256M-Instruct](https://huggingface.co/HuggingFaceTB/SmolVLM-256M-Instruct).
15
+ It has been trained using [TRL](https://github.com/huggingface/trl).
16
+
17
+ ## Quick start
18
+
19
+ ```python
20
+ from transformers import pipeline
21
+
22
+ 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?"
23
+ generator = pipeline("text-generation", model="theevolutionisnear/SmolVLM-256M-Instruct-SFT-CLEVR", device="cuda")
24
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
25
+ print(output["generated_text"])
26
+ ```
27
+
28
+ ## Training procedure
29
+
30
+
31
+
32
+ This model was trained with SFT.
33
+
34
+ ### Framework versions
35
+
36
+ - TRL: 0.12.0
37
+ - Transformers: 4.47.0
38
+ - Pytorch: 2.5.1+cu121
39
+ - Datasets: 3.0.2
40
+ - Tokenizers: 0.21.0
41
+
42
+ ## Citations
43
+
44
+
45
+
46
+ Cite TRL as:
47
+
48
+ ```bibtex
49
+ @misc{vonwerra2022trl,
50
+ title = {{TRL: Transformer Reinforcement Learning}},
51
+ 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},
52
+ year = 2020,
53
+ journal = {GitHub repository},
54
+ publisher = {GitHub},
55
+ howpublished = {\url{https://github.com/huggingface/trl}}
56
+ }
57
+ ```
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:019b2bac83536dae990e843ff67f230e937084cb966719f9083dc8350bdb4194
3
  size 11608320
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8cbd3cafc6dbb4086d00cf7c427e0ba3301fbe5b0c87b94b9f18e50bcceee80
3
  size 11608320
runs/Mar04_12-18-32_f8c7b515f676/events.out.tfevents.1741090722.f8c7b515f676.31.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ddf1df6df4820e852f29e1c66eb55eea7d913cfdec12a8d75d0f7aac1a739fc5
3
- size 14966
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74b7a3b110754bcb5ed320cbd81d742aaf61ff53929a19ba537a753fc01fd9d3
3
+ size 15320
tokenizer.json CHANGED
@@ -1,6 +1,11 @@
1
  {
2
  "version": "1.0",
3
- "truncation": null,
 
 
 
 
 
4
  "padding": {
5
  "strategy": "BatchLongest",
6
  "direction": "Right",
 
1
  {
2
  "version": "1.0",
3
+ "truncation": {
4
+ "direction": "Left",
5
+ "max_length": 8192,
6
+ "strategy": "LongestFirst",
7
+ "stride": 0
8
+ },
9
  "padding": {
10
  "strategy": "BatchLongest",
11
  "direction": "Right",