File size: 979 Bytes
49a3424
 
8f2fba8
 
 
 
 
 
 
 
 
 
 
49a3424
8f2fba8
ee253a2
 
 
 
 
 
8f2fba8
 
 
ee253a2
 
 
 
 
8f2fba8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
license: apache-2.0
base_model: meta-llama/Llama-2-7b-hf
datasets:
- b-mc2/sql-create-context
language:
- en
pipeline_tag: text2text-generation
tags:
- punica
- llama-factory
- lora
- generated_from_trainer
---


## Punica

Punica: Serving multiple LoRA finetuned LLMs at the cost of one

Paper: <https://arxiv.org/abs/2310.18547>

See <https://github.com/punica-ai/punica/tree/master/examples/finetune>

## Model

* Base Model: [Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf)
* LoRA target: `q_proj,k_proj,v_proj,o_proj,gate_proj,up_proj,down_proj`
* LoRA rank: 16

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 32
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: cosine
- num_epochs: 4.0



### Framework versions

- Transformers 4.34.1
- Pytorch 2.2.0.dev20230911+cu121
- Datasets 2.14.4
- Tokenizers 0.14.1