Text Generation
Transformers
Safetensors
Arabic
English
llama
conversational
text-generation-inference
Inference Endpoints
zolicsaki commited on
Commit
a285b42
ยท
verified ยท
1 Parent(s): 48ff0c5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -4
README.md CHANGED
@@ -16,7 +16,7 @@ language:
16
  <img src="SambaLingo_Logo.png" width="340" style="margin-left:'auto' margin-right:'auto' display:'block'"/>
17
 
18
  <!-- Provide a quick summary of what the model is/does. -->
19
- SambaLingo-Arabic-Chat is a human aligned chat model trained in Arabic and English. It is trained using direct preference optimization on top the base model [SambaLingo-Arabic-Base](https://huggingface.co/sambanovasystems/SambaLingo-Arabic-Base). The base model adapts [Llama-2-7b](https://huggingface.co/meta-llama/Llama-2-7b-hf) to Arabic by training on 63 billion tokens from the Arabic split of the [Cultura-X](https://huggingface.co/datasets/uonlp/CulturaX) dataset.
20
 
21
  ## Model Description
22
  <!-- Provide a longer summary of what this model is. -->
@@ -25,6 +25,7 @@ SambaLingo-Arabic-Chat is a human aligned chat model trained in Arabic and Engli
25
  - **Model type:** Language Model
26
  - **Language(s):** Arabic, English
27
  - **Finetuned from model:** [Llama-2-7b](https://huggingface.co/meta-llama/Llama-2-7b-hf)
 
28
  - **Blog Post**: Will be released soon!
29
 
30
  ## Getting Started
@@ -59,14 +60,14 @@ outputs = outputs["generated_text"]
59
  ### Prompting Guidelines
60
  To prompt this model, please use the following chat template:
61
  ```
62
- <|user|>:\n{question}</s>\n<|assistant|>\n
63
  ```
64
 
65
  ### Example Prompts and Generations
66
  ```
67
- <|user|>:
68
  ูƒู…ู„ูƒุŒ ู‡ู„ ุงู„ุงุญุณู† ุฃู† ุชูƒูˆู† ู…ุญุจูˆุจ ุฃูˆ ู…ุฎูŠู</s>
69
- <|assistant|>:
70
  ู„ุง ุฃุณุชุทูŠุน ุฅุจุฏุงุก ุงู„ุฑุฃูŠ ุฃูˆ ุงู…ุชู„ุงูƒ ุงู„ู…ุดุงุนุฑุŒ ู„ูƒู† ูŠู…ูƒู†ู†ูŠ ุชู‚ุฏูŠู… ุฅุฌุงุจุฉ ู…ูˆุถูˆุนูŠุฉ ุนู„ู‰ ู‡ุฐุง ุงู„ุณุคุงู„. ููŠ ุญูŠู† ุฃู† ูƒูˆู†ูƒ ู…ุญุจูˆุจู‹ุง ูŠู…ูƒู† ุฃู† ูŠุฌู„ุจ ุงู„ุณุนุงุฏุฉ ูˆุงู„ุฑุถุงุŒ ูุฅู† ูƒูˆู†ูƒ ู…ุฎูŠูู‹ุง ูŠู…ูƒู† ุฃู† ูŠูƒูˆู† ู„ู‡ ุฃูŠุถู‹ุง ููˆุงุฆุฏู‡. ุนู„ู‰ ุณุจูŠู„ ุงู„ู…ุซุงู„ุŒ ูŠู…ูƒู† ุฃู† ูŠูƒูˆู† ุงู„ุดุฎุต ุงู„ู…ุฎูŠู ูุนุงู„ุงู‹ ููŠ ุฑุฏุน ุงู„ุณู„ูˆูƒูŠุงุช ุฃูˆ ุงู„ู…ูˆุงู‚ู ุบูŠุฑ ุงู„ู…ุฑุบูˆุจ ููŠู‡ุงุŒ ู…ุซู„ ุงู„ุชุฎุฑูŠุจ ุฃูˆ ุงู„ุชู†ู…ุฑ. ูˆู…ุน ุฐู„ูƒุŒ ู…ู† ุงู„ู…ู‡ู… ุฃู† ู†ุชุฐูƒุฑ ุฃู† ุงู„ุญุจ ูˆุงู„ู‚ุจูˆู„ ู‡ู…ุง ู‚ูŠู…ุชุงู† ู…ู‡ู…ุชุงู† ูŠุฌุจ ุงู„ุณุนูŠ ู„ุชุญู‚ูŠู‚ู‡ู…ุงุŒ ูˆุฃู† ูƒูˆู†ูƒ ู…ุญุจูˆุจู‹ุง ู„ุง ูŠู†ุจุบูŠ ุฃู† ูŠูƒูˆู† ุงู„ู‡ุฏู ุงู„ู†ู‡ุงุฆูŠ. ูˆุจุฏู„ุงู‹ ู…ู† ุฐู„ูƒุŒ ูŠุฌุจ ุฃู† ู†ุณุนู‰ ุฌุงู‡ุฏูŠู† ู„ู†ูƒูˆู† ุทูŠุจูŠู† ูˆุฑุญูŠู…ูŠู† ู…ุน ุงู„ุขุฎุฑูŠู†ุŒ ู…ุน ุงู„ุงุนุชุฑุงู ุฃูŠุถู‹ุง ุจุฃู† ูƒู„ ุดุฎุต ู„ุฏูŠู‡ ู†ู‚ุงุท ุงู„ู‚ูˆุฉ ูˆุงู„ุถุนู ุงู„ุฎุงุตุฉ ุจู‡.
71
  ```
72
 
 
16
  <img src="SambaLingo_Logo.png" width="340" style="margin-left:'auto' margin-right:'auto' display:'block'"/>
17
 
18
  <!-- Provide a quick summary of what the model is/does. -->
19
+ SambaLingo-Arabic-Chat is a human aligned chat model trained in Arabic and English. It is trained using direct preference optimization on top the base model [SambaLingo-Arabic-Base](https://huggingface.co/sambanovasystems/SambaLingo-Arabic-Base). The base model adapts [Llama-2-7b](https://huggingface.co/meta-llama/Llama-2-7b-hf) to Arabic by training on 63 billion tokens from the Arabic split of the [Cultura-X](https://huggingface.co/datasets/uonlp/CulturaX) dataset. Try This Model at [SambaLingo-chat-space](https://huggingface.co/spaces/sambanovasystems/SambaLingo-chat-space).
20
 
21
  ## Model Description
22
  <!-- Provide a longer summary of what this model is. -->
 
25
  - **Model type:** Language Model
26
  - **Language(s):** Arabic, English
27
  - **Finetuned from model:** [Llama-2-7b](https://huggingface.co/meta-llama/Llama-2-7b-hf)
28
+ - **Try This Model:** [SambaLingo-chat-space](https://huggingface.co/spaces/sambanovasystems/SambaLingo-chat-space)
29
  - **Blog Post**: Will be released soon!
30
 
31
  ## Getting Started
 
60
  ### Prompting Guidelines
61
  To prompt this model, please use the following chat template:
62
  ```
63
+ <|user|>\n{question}</s>\n<|assistant|>\n
64
  ```
65
 
66
  ### Example Prompts and Generations
67
  ```
68
+ <|user|>
69
  ูƒู…ู„ูƒุŒ ู‡ู„ ุงู„ุงุญุณู† ุฃู† ุชูƒูˆู† ู…ุญุจูˆุจ ุฃูˆ ู…ุฎูŠู</s>
70
+ <|assistant|>
71
  ู„ุง ุฃุณุชุทูŠุน ุฅุจุฏุงุก ุงู„ุฑุฃูŠ ุฃูˆ ุงู…ุชู„ุงูƒ ุงู„ู…ุดุงุนุฑุŒ ู„ูƒู† ูŠู…ูƒู†ู†ูŠ ุชู‚ุฏูŠู… ุฅุฌุงุจุฉ ู…ูˆุถูˆุนูŠุฉ ุนู„ู‰ ู‡ุฐุง ุงู„ุณุคุงู„. ููŠ ุญูŠู† ุฃู† ูƒูˆู†ูƒ ู…ุญุจูˆุจู‹ุง ูŠู…ูƒู† ุฃู† ูŠุฌู„ุจ ุงู„ุณุนุงุฏุฉ ูˆุงู„ุฑุถุงุŒ ูุฅู† ูƒูˆู†ูƒ ู…ุฎูŠูู‹ุง ูŠู…ูƒู† ุฃู† ูŠูƒูˆู† ู„ู‡ ุฃูŠุถู‹ุง ููˆุงุฆุฏู‡. ุนู„ู‰ ุณุจูŠู„ ุงู„ู…ุซุงู„ุŒ ูŠู…ูƒู† ุฃู† ูŠูƒูˆู† ุงู„ุดุฎุต ุงู„ู…ุฎูŠู ูุนุงู„ุงู‹ ููŠ ุฑุฏุน ุงู„ุณู„ูˆูƒูŠุงุช ุฃูˆ ุงู„ู…ูˆุงู‚ู ุบูŠุฑ ุงู„ู…ุฑุบูˆุจ ููŠู‡ุงุŒ ู…ุซู„ ุงู„ุชุฎุฑูŠุจ ุฃูˆ ุงู„ุชู†ู…ุฑ. ูˆู…ุน ุฐู„ูƒุŒ ู…ู† ุงู„ู…ู‡ู… ุฃู† ู†ุชุฐูƒุฑ ุฃู† ุงู„ุญุจ ูˆุงู„ู‚ุจูˆู„ ู‡ู…ุง ู‚ูŠู…ุชุงู† ู…ู‡ู…ุชุงู† ูŠุฌุจ ุงู„ุณุนูŠ ู„ุชุญู‚ูŠู‚ู‡ู…ุงุŒ ูˆุฃู† ูƒูˆู†ูƒ ู…ุญุจูˆุจู‹ุง ู„ุง ูŠู†ุจุบูŠ ุฃู† ูŠูƒูˆู† ุงู„ู‡ุฏู ุงู„ู†ู‡ุงุฆูŠ. ูˆุจุฏู„ุงู‹ ู…ู† ุฐู„ูƒุŒ ูŠุฌุจ ุฃู† ู†ุณุนู‰ ุฌุงู‡ุฏูŠู† ู„ู†ูƒูˆู† ุทูŠุจูŠู† ูˆุฑุญูŠู…ูŠู† ู…ุน ุงู„ุขุฎุฑูŠู†ุŒ ู…ุน ุงู„ุงุนุชุฑุงู ุฃูŠุถู‹ุง ุจุฃู† ูƒู„ ุดุฎุต ู„ุฏูŠู‡ ู†ู‚ุงุท ุงู„ู‚ูˆุฉ ูˆุงู„ุถุนู ุงู„ุฎุงุตุฉ ุจู‡.
72
  ```
73