Thimira commited on
Commit
954d737
1 Parent(s): f6d4cdf

Model save

Browse files
README.md CHANGED
@@ -4,16 +4,12 @@ tags:
4
  - trl
5
  - sft
6
  - generated_from_trainer
7
- - text-generation-inference
8
  base_model: NousResearch/Llama-2-7b-chat-hf
9
  datasets:
10
  - generator
11
- - Thimira/sinhala-llama-2-data-format
12
  model-index:
13
  - name: sinhala-llama-2-7b-chat-hf
14
  results: []
15
- language:
16
- - si
17
  ---
18
 
19
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -21,34 +17,15 @@ should probably proofread and complete it, then remove this comment. -->
21
 
22
  # sinhala-llama-2-7b-chat-hf
23
 
24
- This model is a fine-tuned version of [NousResearch/Llama-2-7b-chat-hf](https://huggingface.co/NousResearch/Llama-2-7b-chat-hf) on the [Thimira/sinhala-llama-2-data-format](https://huggingface.co/datasets/Thimira/sinhala-llama-2-data-format) dataset.
25
 
26
  ## Model description
27
 
28
- This is a model for Sinhala language text generation which is fine-tuned from the base llama-2-7b-chat-hf model.
29
-
30
- Currently the capabilities of themodel are extremely limited, and requires further data and fine-tuning to be useful. Feel free to experiment with the model and provide feedback.
31
-
32
- ### Usage example
33
-
34
- ```
35
- from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
36
-
37
- tokenizer = AutoTokenizer.from_pretrained("Thimira/sinhala-llama-2-7b-chat-hf")
38
- model = AutoModelForCausalLM.from_pretrained("Thimira/sinhala-llama-2-7b-chat-hf")
39
-
40
- pipe = pipeline(task="text-generation", model=model, tokenizer=tokenizer, max_length=200)
41
-
42
- prompt = "ඔබට සිංහල භාෂාව තේරුම් ගත හැකිද?"
43
- result = pipe(f"<s>[INST] {prompt} [/INST]")
44
- print(result[0]['generated_text'])
45
- ```
46
 
47
  ## Intended uses & limitations
48
 
49
- The Sinhala-LLaMA models are intended for assistant-like chat in the Sinhala language.
50
-
51
- To get the expected features and performance from these models the LLaMA 2 prompt format needs to be followed, including the INST and <<SYS>> tags, BOS and EOS tokens, and the whitespaces and breaklines in between.
52
 
53
  ## Training and evaluation data
54
 
@@ -60,7 +37,7 @@ More information needed
60
 
61
  The following hyperparameters were used during training:
62
  - learning_rate: 0.0002
63
- - train_batch_size: 2
64
  - eval_batch_size: 8
65
  - seed: 42
66
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
@@ -75,7 +52,7 @@ The following hyperparameters were used during training:
75
  ### Framework versions
76
 
77
  - PEFT 0.10.0
78
- - Transformers 4.39.3
79
  - Pytorch 2.1.0
80
- - Datasets 2.18.0
81
- - Tokenizers 0.15.2
 
4
  - trl
5
  - sft
6
  - generated_from_trainer
 
7
  base_model: NousResearch/Llama-2-7b-chat-hf
8
  datasets:
9
  - generator
 
10
  model-index:
11
  - name: sinhala-llama-2-7b-chat-hf
12
  results: []
 
 
13
  ---
14
 
15
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
17
 
18
  # sinhala-llama-2-7b-chat-hf
19
 
20
+ This model is a fine-tuned version of [NousResearch/Llama-2-7b-chat-hf](https://huggingface.co/NousResearch/Llama-2-7b-chat-hf) on the generator dataset.
21
 
22
  ## Model description
23
 
24
+ More information needed
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
 
26
  ## Intended uses & limitations
27
 
28
+ More information needed
 
 
29
 
30
  ## Training and evaluation data
31
 
 
37
 
38
  The following hyperparameters were used during training:
39
  - learning_rate: 0.0002
40
+ - train_batch_size: 4
41
  - eval_batch_size: 8
42
  - seed: 42
43
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
 
52
  ### Framework versions
53
 
54
  - PEFT 0.10.0
55
+ - Transformers 4.40.1
56
  - Pytorch 2.1.0
57
+ - Datasets 2.19.0
58
+ - Tokenizers 0.19.1
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ed9b07a022da39fb90ec2e007c3b78808fb8361b8cf5f17e7cc8b537adaa43f0
3
  size 67126232
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:daa29cf50c6e1564aafc9a756423322cd739f83fa4b9b1bc33efac1b11c1e8e9
3
  size 67126232
runs/Apr26_16-34-48_ip-172-16-170-105.ec2.internal/events.out.tfevents.1714149653.ip-172-16-170-105.ec2.internal.9665.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a30e70f8a2d26b047533ca9f3066699bfb8922ac3af0da116a3d70f795c05394
3
- size 56040
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:123a7bb5ff209dab9da3b7f7d5a46a7577593371640a8a29f480f2eeb5a3880d
3
+ size 56400