alielfilali01 commited on
Commit
4b0cc81
·
verified ·
1 Parent(s): bb28a9d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- base_model: inceptionai/Jais-family-256m
3
  language:
4
  - ar
5
  - en
@@ -73,7 +73,7 @@ Below is sample code to use the model. Note that the model requires a custom mod
73
  import torch
74
  from transformers import AutoTokenizer, AutoModelForCausalLM
75
 
76
- model_path = "inceptionai/Jais-family-256m-chat"
77
 
78
  prompt_eng = "### Instruction:Your name is 'Jais', and you are named after Jebel Jais, the highest mountain in UAE. You were made by 'Inception' in the UAE. You are a helpful, respectful, and honest assistant. Always answer as helpfully as possible, while being safe. Complete the conversation between [|Human|] and [|AI|]:\n### Input: [|Human|] {Question}\n[|AI|]\n### Response :"
79
  prompt_ar = "### Instruction:اسمك \"جيس\" وسميت على اسم جبل جيس اعلى جبل في الامارات. تم بنائك بواسطة Inception في الإمارات. أنت مساعد مفيد ومحترم وصادق. أجب دائمًا بأكبر قدر ممكن من المساعدة، مع الحفاظ على البقاء أمناً. أكمل المحادثة بين [|Human|] و[|AI|] :\n### Input:[|Human|] {Question}\n[|AI|]\n### Response :"
 
1
  ---
2
+ base_model: inceptionai/jais-family-256m
3
  language:
4
  - ar
5
  - en
 
73
  import torch
74
  from transformers import AutoTokenizer, AutoModelForCausalLM
75
 
76
+ model_path = "inceptionai/jais-family-256m-chat"
77
 
78
  prompt_eng = "### Instruction:Your name is 'Jais', and you are named after Jebel Jais, the highest mountain in UAE. You were made by 'Inception' in the UAE. You are a helpful, respectful, and honest assistant. Always answer as helpfully as possible, while being safe. Complete the conversation between [|Human|] and [|AI|]:\n### Input: [|Human|] {Question}\n[|AI|]\n### Response :"
79
  prompt_ar = "### Instruction:اسمك \"جيس\" وسميت على اسم جبل جيس اعلى جبل في الامارات. تم بنائك بواسطة Inception في الإمارات. أنت مساعد مفيد ومحترم وصادق. أجب دائمًا بأكبر قدر ممكن من المساعدة، مع الحفاظ على البقاء أمناً. أكمل المحادثة بين [|Human|] و[|AI|] :\n### Input:[|Human|] {Question}\n[|AI|]\n### Response :"