ShahlaDnshi96 commited on
Commit
c1469d3
·
verified ·
1 Parent(s): 97164ee

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_v1
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_v1
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_v1", 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.1
36
+ - Transformers: 4.46.3
37
+ - Pytorch: 2.5.1+cu124
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:ce74447c179ab3e5c1abb246dfe46fd53efbdbc5946c1ff2fda0afbd28fda29e
3
- size 335604696
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f509d9d289bb47f9cdd4b48d8a30e936c9d18f39b66cfea7cf58ee0080321981
3
+ size 167832688
runs/Dec04_15-38-54_RSSDev13/events.out.tfevents.1733314139.RSSDev13.42195.2 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c798a829ea218aac9739a75807d0f8b8098268bf679f09ce6ffedd5cc2be0c57
3
- size 15844
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29d4036b09a0a373cea6d301634809a65afcc3ecca521a1abd0ef65ac1b5c0b0
3
+ size 21171