Pravesh390 commited on
Commit
292a6dc
Β·
verified Β·
1 Parent(s): 83271aa

Training in progress, epoch 1

Browse files
Files changed (3) hide show
  1. README.md +46 -30
  2. adapter_model.safetensors +1 -1
  3. training_args.bin +1 -1
README.md CHANGED
@@ -1,40 +1,56 @@
1
- # πŸ€– FLAN-T5 Fine-Tuned with LoRA on Hallucinated QA Dataset
 
 
 
 
 
 
 
 
 
 
 
2
 
3
- ## 🧠 Model Description
4
- This is a fine-tuned `google/flan-t5-base` model using [LoRA (Low-Rank Adaptation)](https://arxiv.org/abs/2106.09685) for efficient training on a small, adversarial QA dataset meant to test hallucination.
5
 
6
- ## πŸ” Intended Uses
7
- - Research on hallucination and robustness in language models
8
- - Education and demonstration of LoRA + Hugging Face pipelines
9
- - Benchmarking models on confusing or misleading inputs
10
 
11
- ## ⚠️ Limitations
12
- - Not trained on factual or large QA corpora
13
- - Not production-ready; may output hallucinated or nonsensical answers
14
 
15
- ## πŸ§ͺ Training Setup
16
- - LoRA: `r=16`, `alpha=32`, `dropout=0.1`
17
- - 3 Epochs, Batch size 4, LR: 5e-5
18
- - Model: `flan-t5-base` + LoRA
19
- - Platform: Google Colab (T4)
20
- - Logging: Weights & Biases
21
 
22
- ## πŸ“š Dataset
23
- Custom QA dataset containing 90+ rephrased versions of 15 blockchain/web3 questions, each with intentionally wrong answers.
24
 
25
- πŸ‘‰ [Dataset on Hugging Face Hub](https://huggingface.co/datasets/Pravesh390/qa_wrong_data)
26
 
27
- ## πŸ’‘ How it works
28
- - Tokenized inputs: max length 64
29
- - Output (labels): max length 16
30
- - Hugging Face `Trainer` + LoRA from `peft`
31
 
32
- ## πŸ‘€ Author
33
- Pravesh Saini
34
- πŸ”— [Hugging Face](https://huggingface.co/Pravesh390)
35
 
36
- ## 🏷️ Tags
37
- `flan-t5` `lora` `peft` `qa` `hallucination` `finetune` `transformers`
38
 
39
- ## πŸ“„ License
40
- MIT
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: google/flan-t5-base
5
+ tags:
6
+ - base_model:adapter:google/flan-t5-base
7
+ - lora
8
+ - transformers
9
+ model-index:
10
+ - name: flan-t5-finetuned-wrongqa
11
+ results: []
12
+ ---
13
 
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
 
17
+ # flan-t5-finetuned-wrongqa
 
 
 
18
 
19
+ This model is a fine-tuned version of [google/flan-t5-base](https://huggingface.co/google/flan-t5-base) on the None dataset.
 
 
20
 
21
+ ## Model description
 
 
 
 
 
22
 
23
+ More information needed
 
24
 
25
+ ## Intended uses & limitations
26
 
27
+ More information needed
 
 
 
28
 
29
+ ## Training and evaluation data
 
 
30
 
31
+ More information needed
 
32
 
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 5e-05
39
+ - train_batch_size: 4
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
43
+ - lr_scheduler_type: linear
44
+ - num_epochs: 3
45
+
46
+ ### Training results
47
+
48
+
49
+
50
+ ### Framework versions
51
+
52
+ - PEFT 0.16.0
53
+ - Transformers 4.53.2
54
+ - Pytorch 2.6.0+cu124
55
+ - Datasets 2.14.4
56
+ - Tokenizers 0.21.2
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8fd733809a81d5c422fc45cad74d601e9991018d848926de6e44862530278ab8
3
  size 7098016
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21f2e56ccc599bc25444156203b96f6333249ada930e261f20affaa480ddf92f
3
  size 7098016
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:71d3e6aec6d5f3d2366dde0d6eb7d9d8486cc877fb9cda85f79a85551788490e
3
  size 5368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8dd618dd6a33463943a33427faae6032a9a05bfce11c8a6e69220162fe35e70
3
  size 5368