Update README.md
Browse files
README.md
CHANGED
@@ -27,14 +27,14 @@ tags:
|
|
27 |
|
28 |
# 馃殌 Falcon-7b-QueAns
|
29 |
|
30 |
-
Falcon-7b-QueAns is a chatbot-like model for Question and Answering. It was built by fine-tuning [Falcon-7B](https://huggingface.co/tiiuae/falcon-7b) on the [SQuAD](https://huggingface.co/datasets/squad)
|
31 |
|
32 |
## Model Summary
|
33 |
|
34 |
- **Model Type:** Causal decoder-only
|
35 |
- **Language(s):** English
|
36 |
- **Base Model:** Falcon-7B (License: Apache 2.0)
|
37 |
-
- **Dataset:** [SQuAD](https://huggingface.co/datasets/squad) (License: cc-by-4.0)
|
38 |
- **License(s):** Apache 2.0 inherited from "Base Model" and "Dataset"
|
39 |
|
40 |
|
@@ -51,21 +51,33 @@ Falcon-7b-QueAns is a chatbot-like model for Question and Answering. It was buil
|
|
51 |
|
52 |
## Model Details
|
53 |
|
54 |
-
The model was fine-tuned in 4-bit precision using 馃 `peft` adapters, `transformers`, and `bitsandbytes`. Training relied on a method called "Low Rank Adapters" ([LoRA](https://arxiv.org/pdf/2106.09685.pdf)), specifically the [QLoRA](https://arxiv.org/abs/2305.14314) variant. The run took approximately
|
55 |
|
56 |
### Model Date
|
57 |
|
58 |
-
July
|
59 |
|
60 |
|
61 |
-
Open source falcon 7b large language model fine tuned on SQuAD
|
62 |
-
|
63 |
QLoRA technique used for fine tuning the model on consumer grade GPU
|
64 |
SFTTrainer is also used.
|
65 |
|
|
|
|
|
|
|
66 |
Dataset used: SQuAD
|
67 |
-
Dataset Size:
|
68 |
-
Training Steps:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
|
70 |
|
71 |
|
|
|
27 |
|
28 |
# 馃殌 Falcon-7b-QueAns
|
29 |
|
30 |
+
Falcon-7b-QueAns is a chatbot-like model for Question and Answering. It was built by fine-tuning [Falcon-7B](https://huggingface.co/tiiuae/falcon-7b) on the [SQuAD](https://huggingface.co/datasets/squad), [Adversarial_qa](https://huggingface.co/datasets/adversarial_qa), Trimpixel (Self-Made) datasets. This repo only includes the QLoRA adapters from fine-tuning with 馃's [peft](https://github.com/huggingface/peft) package.
|
31 |
|
32 |
## Model Summary
|
33 |
|
34 |
- **Model Type:** Causal decoder-only
|
35 |
- **Language(s):** English
|
36 |
- **Base Model:** Falcon-7B (License: Apache 2.0)
|
37 |
+
- **Dataset:** [SQuAD](https://huggingface.co/datasets/squad) (License: cc-by-4.0), [Adversarial_qa](https://huggingface.co/datasets/adversarial_qa) (License: cc-by-sa-4.0), [Falcon-RefinedWeb](https://huggingface.co/datasets/tiiuae/falcon-refinedweb) (odc-by), Trimpixel (Self-Made)
|
38 |
- **License(s):** Apache 2.0 inherited from "Base Model" and "Dataset"
|
39 |
|
40 |
|
|
|
51 |
|
52 |
## Model Details
|
53 |
|
54 |
+
The model was fine-tuned in 4-bit precision using 馃 `peft` adapters, `transformers`, and `bitsandbytes`. Training relied on a method called "Low Rank Adapters" ([LoRA](https://arxiv.org/pdf/2106.09685.pdf)), specifically the [QLoRA](https://arxiv.org/abs/2305.14314) variant. The run took approximately 12 hours and was executed on a workstation with a single T4 NVIDIA GPU with 25 GB of available memory. See attached [Colab Notebook] used to train the model.
|
55 |
|
56 |
### Model Date
|
57 |
|
58 |
+
July 13, 2023
|
59 |
|
60 |
|
61 |
+
Open source falcon 7b large language model fine tuned on SQuAD, Adversarial_qa, Trimpixel datasets for question and answering.
|
|
|
62 |
QLoRA technique used for fine tuning the model on consumer grade GPU
|
63 |
SFTTrainer is also used.
|
64 |
|
65 |
+
## Datasets
|
66 |
+
|
67 |
+
1.
|
68 |
Dataset used: SQuAD
|
69 |
+
Dataset Size: 87599
|
70 |
+
Training Steps: 350
|
71 |
+
|
72 |
+
2.
|
73 |
+
Dataset used: Adversarial_qa
|
74 |
+
Dataset Size: 30000
|
75 |
+
Training Steps: 400
|
76 |
+
|
77 |
+
3.
|
78 |
+
Dataset used: Trimpixel
|
79 |
+
Dataset Size: 1757
|
80 |
+
Training Steps: 400
|
81 |
|
82 |
|
83 |
|