Update README.md
Browse files
README.md
CHANGED
@@ -12,6 +12,21 @@ license: llama2
|
|
12 |
### Model Introduction
|
13 |
LLaMA-E is meticulously crafted for e-commerce authoring tasks, incorporating specialized features to excel in generating product descriptions, advertisements, and other related content, as outlined in https://arxiv.org/abs/2308.04913#/.
|
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
### Citation
|
16 |
If you find our work helpful, please consider [citing][paper] the following papers.
|
17 |
|
|
|
12 |
### Model Introduction
|
13 |
LLaMA-E is meticulously crafted for e-commerce authoring tasks, incorporating specialized features to excel in generating product descriptions, advertisements, and other related content, as outlined in https://arxiv.org/abs/2308.04913#/.
|
14 |
|
15 |
+
### Usage
|
16 |
+
Inference using Huggingface transformers on NVIDIA GPUs. Requirements tested on python 3.10:
|
17 |
+
```
|
18 |
+
python inference.py --load_8bit --base_model 'meta-llama/Llama-2-7b-hf' --lora_weights './DSMI/LLaMA-E/7b'
|
19 |
+
```
|
20 |
+
|
21 |
+
```
|
22 |
+
***Instruction: Where can I buy the handmade jewellery?
|
23 |
+
***Response: Etsy, NOVICA, UncommonGoods, World Market, and Global Crafts offer unique handmade jewelry from artisans worldwide.
|
24 |
+
|
25 |
+
***Instruction: Create an attractive advertisement for the Christmas sale of the following product.
|
26 |
+
***Input: Custom Photo Music Plaque,Personalized Photo Frame,Album Cover Song Plaque,Music Photo Name Night Lamp,Photo and Music Gift, Music Prints
|
27 |
+
***Response: Personalize your music space with a Custom Photo Music Plaque. Add your favorite photo and song lyrics to create a unique gift for music lovers.
|
28 |
+
```
|
29 |
+
|
30 |
### Citation
|
31 |
If you find our work helpful, please consider [citing][paper] the following papers.
|
32 |
|