chansung commited on
Commit
b1537bc
1 Parent(s): ffa8b2a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +61 -0
README.md CHANGED
@@ -1,3 +1,64 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ pipeline_tag: text2text-generation
4
+ tags:
5
+ - llama
6
+ - llm
7
  ---
8
+
9
+ This is LoRA checkpoint fine-tuned with the following CLI. The fine-tuning process is logged in [W&B dashboard](https://wandb.ai/chansung18/alpaca_lora/runs/pgvpsy2x?workspace=user-chansung18). I have used DGX workstation with 8 x A100(40G).
10
+
11
+ ```console
12
+ python finetune.py \
13
+ --base_model='elinas/llama-7b-hf-transformers-4.29' \
14
+ --data_path='alpaca_data_gpt4.json' \
15
+ --num_epochs=10 \
16
+ --cutoff_len=1024 \
17
+ --group_by_length \
18
+ --output_dir='./lora-alpacagpt4-7b-elinas' \
19
+ --lora_target_modules='[q_proj,k_proj,v_proj,o_proj]' \
20
+ --lora_r=16 \
21
+ --lora_alpha=32 \
22
+ --batch_size=1024 \
23
+ --micro_batch_size=40
24
+ ```
25
+
26
+ This LoRA checkpoint is recommended to be used with `transformers >= 4.29` which should be installed with the following command currently(4/30/2023).
27
+ ```console
28
+ pip install git+https://github.com/huggingface/transformers.git
29
+ ```
30
+
31
+ Please find out the example usage and results in the accompanied [notebook](https://huggingface.co/LLMs/AlpacaGPT4-LoRA-7B-elina/blob/main/alpacagpt4-lora-7b.ipynb). For the example outputs are listed below as well.
32
+
33
+ **1. Instruction: Compose an engaging travel blog post about a recent trip to Hawaii, highlighting cultural experiences and must-see attractions.**
34
+
35
+ Vacation time is here! The sound of the waves crashing on the shore fills your mind with anticipation for what’s in store when you touch down in paradise – Hawaii. It might be the beautiful sunsets, crystal clear water or even the local food that captivates visitors, but there's one thing everyone agrees upon; there are no words to describe just how breathtaking it truly is. Here I am going to give my top recommendations and share some insider tips so that your journey to Oahu can go as smoothly as possible.
36
+
37
+ Before leaving home, make sure to pack lightweight breathable clothing such as t-shirts, shorts and comfortable shoes suitable for hiking or sightseeing. Don’t forget to bring along something warm like a jacket because at nighttime temperatures may drop considerably. You should also carry swimwear if you plan to spend much time by the beach.
38
+
39
+ To fully enjoy all that the island has to offer, book yourself onto one of many walking tours. These excursions will take you around historical sites such as Iolani Palace (the former residence of King David Kalakaua
40
+
41
+ **2. Instruction: Can you help me write a formal email to a potential business partner proposing a joint venture?**
42
+
43
+ Dear Potential Business Partner,
44
+
45
+ I am writing in regards to the possibility of exploring opportunities for collaboration between our companies. My name is [YOUR NAME] and I represent my company [NAME OF COMPANY], which specializes in [BUSINESS ACTIVITY]. We are looking forward to strengthening mutually beneficial partnerships with other industry leaders like your organization.
46
+
47
+ My colleague has informed me that your company’s main focuses include [COMPETENCE TO BE PROPOSED]. This skillset aligns well with our capabilities, as we also offer [COMPLEMENTARY SERVICE OR SKILLSET THAT YOU WANT THEM TO SHARE IN THE JOINT VENTURE]. By combining both sets of expertise, I believe there would be immense synergy between us which can lead towards great success.
48
+
49
+ Please let me know if this proposal holds any interest for you or if you have further questions regarding it. Thank you very much!
50
+
51
+ **3. Instruction: What factors would you consider when designing an inclusive and accessible public transportation system?**
52
+
53
+ Inclusion is important for all people, especially in terms of their access to public transport. There are several elements that can be considered when creating a more user-friendly transit service:
54
+
55
+ 1. Designed For Accessibility - All aspects related to the physical infrastructure should aim at making it easier for people with different abilities or disabilities such as wheelchairs users or vision impaired passengers, among others, to use them. This includes ensuring that the platforms, stations and vehicles have sufficient space and proper equipment (elevators, ramps etc.) to accommodate those who need it.
56
+ 2. Accessible Information – Clear communication channels like Braille signage, tactile maps, audio announcements, videos, information kiosks or even social media pages where commuters can ask questions are essential. They allow everyone to obtain accurate and timely updates about schedule changes, delays, interruptions or other relevant events affecting services without having to rely on a third party to convey this critical information accurately.
57
+ 3. Flexible Schedule & Routes – A flexible schedule allows riders to adapt their trips according to their needs and preferences by providing options to change routes or times during
58
+ 4.
59
+ **4. Instruction: What are some potential implications of using a single-use plastic bottle versus a reusable bottle on both the environment and human health?**
60
+
61
+ Single-Use Plastics vs. Reusables
62
+ The environmental impacts of using a single use plastic bottle as opposed to an eco friendly water bottles can be broken down into four main categories: landfill waste, ocean pollution, energy consumption during production, and potentially harmful chemicals used in their manufacture. By comparison with reusable options like glass or stainless steel bottles which are durable enough to last for years, there is also a financial advantage in terms of cost savings over time that comes from switching away from disposing of thousands of throwaway plastic bottles each year (often made only once before being discarded).
63
+
64
+ Landfill Waste: Single-use plastic bottles have become synonymous with littered roadsides, parks, oceans and other areas where they take centuries to decompose and release harmful greenhouse gases throughout decomposition. Disposal of these items contributes to deforestation because paper bags must often be produced when recycling facilities cannot accept them. While certain types of plastic containers may be compostable after reuse or breakdown naturally, many of those available today do not biodegrade readily. The resultant