ShahlaDnshi96 commited on
Commit
28daefa
·
verified ·
1 Parent(s): 32417a7

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_v12
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_v12
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_v12", 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+cu124
38
+ - Datasets: 3.2.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:b034d515da9e98ef7e1b3c9d8e308be2f25cb35f2ccd2fe74d31cfc0a97583cc
3
- size 27297032
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e885b98ecb16db7b9c020537c5a22c851cb83a5ae8ec158b062676a4aa89f4a4
3
+ size 13665592
runs/Jan04_05-30-38_runsensible-dell/events.out.tfevents.1735986639.runsensible-dell.216085.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:88e0be82b29ad255ea3efb602c2067ff7167acb32e44f3dd287c75f85996dd7f
3
- size 20984
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b0935d7fa11e0df4add36dba4f78b4454ca8b5def6b516767eb78c3575bf017
3
+ size 28692