ShahlaDnshi96 commited on
Commit
3e63c24
·
verified ·
1 Parent(s): e16ecb9

Model save

Browse files
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ model_name: Llama-3.1-8B-Instruct_text2sql_v2
4
+ tags:
5
+ - generated_from_trainer
6
+ - trl
7
+ - sft
8
+ licence: license
9
+ ---
10
+
11
+ # Model Card for Llama-3.1-8B-Instruct_text2sql_v2
12
+
13
+ This model is a fine-tuned version of [None](https://huggingface.co/None).
14
+ It has been trained using [TRL](https://github.com/huggingface/trl).
15
+
16
+ ## Quick start
17
+
18
+ ```python
19
+ from transformers import pipeline
20
+
21
+ 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?"
22
+ generator = pipeline("text-generation", model="ShahlaDnshi96/Llama-3.1-8B-Instruct_text2sql_v2", device="cuda")
23
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
24
+ print(output["generated_text"])
25
+ ```
26
+
27
+ ## Training procedure
28
+
29
+
30
+
31
+ This model was trained with SFT.
32
+
33
+ ### Framework versions
34
+
35
+ - TRL: 0.12.2
36
+ - Transformers: 4.46.3
37
+ - Pytorch: 2.5.1
38
+ - Datasets: 3.1.0
39
+ - Tokenizers: 0.20.3
40
+
41
+ ## Citations
42
+
43
+
44
+
45
+ Cite TRL as:
46
+
47
+ ```bibtex
48
+ @misc{vonwerra2022trl,
49
+ title = {{TRL: Transformer Reinforcement Learning}},
50
+ 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},
51
+ year = 2020,
52
+ journal = {GitHub repository},
53
+ publisher = {GitHub},
54
+ howpublished = {\url{https://github.com/huggingface/trl}}
55
+ }
56
+ ```
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7bb463c444bed852387afbd42edc869f3aa5a592257c13d135d43236c5657ea6
3
- size 335604696
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c5beb95715bf8228c5a1c88caee62ec0f315d6ab1c1d936a16663cbc2baaf41
3
+ size 167832688
runs/Dec15_09-52-57_RSSDev13/events.out.tfevents.1734243779.RSSDev13.177894.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a9a5e6fa0a48f5561af667be0937d2c38439561f85a21c0306a0180c72b2dd67
3
- size 18225
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d658cbbbbc2926d09bb07a3dfa3208c51b5e8565644c7565475a92dbb829317e
3
+ size 24396