Thimira commited on
Commit
d1b4da1
1 Parent(s): 85a3aae

Model save

Browse files
README.md CHANGED
@@ -6,14 +6,10 @@ tags:
6
  - generated_from_trainer
7
  base_model: NousResearch/Llama-2-7b-chat-hf
8
  datasets:
9
- - Thimira/sinhala-llama-2-data-format
10
  model-index:
11
  - name: sinhala-llama-2-7b-chat-hf
12
  results: []
13
- license: llama2
14
- language:
15
- - si
16
- pipeline_tag: text-generation
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
- ```python
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: 4
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.40.1
79
  - Pytorch 2.1.0
80
- - Datasets 2.19.0
81
  - Tokenizers 0.19.1
 
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: 2
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.2
56
  - Pytorch 2.1.0
57
+ - Datasets 2.19.1
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:e90cbcf564e54725c8dc2e088a479206b263fa9801a55263bda7df8562d0785a
3
  size 67126232
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7264f40b51910e4c47ecce13c2530a9e7a1faeeee8d5685b6881ec52606f0bd4
3
  size 67126232
runs/May07_02-54-21_ip-172-16-10-61.ec2.internal/events.out.tfevents.1715050518.ip-172-16-10-61.ec2.internal.5778.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8803d1f0ef7c52df9ffc81898db97129ba6d55ff849643644116487c04635f0f
3
- size 106347
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f67ff967b4cd3037514c118e98241cd7b1caabd25ebe551f2a531e57d806d6b7
3
+ size 106701